How to Fix Excel Cell Colors Disappearing After Saving
Question details
User's cell or row background colors and formatting are lost after saving and reopening an Excel workbook.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Saving a spreadsheet after applying cell background colors, text colors, and visual formatting.
- Observed behavior
- All cell colors and visual formatting disappear completely when the file is saved and reopened.
Check the file extension of your currently saved document. If the file ends in .csv or .txt, it is a plain text format that will never retain any visual formatting.
Save the File as an Excel Workbook (XLSX)
Use the standard Excel format to preserve all cell colors, text formatting, and formulas.
CSV (Comma Separated Values) format is designed strictly for plain text and data storage. It completely strips away all visual elements, including cell background colors, font styles, conditional formatting, and borders. To keep your styling intact, you must save the document in a standard spreadsheet format like XLSX.
Open the spreadsheet where you want to apply and keep cell colors.
Click on 'File' in the top-left corner of the application ribbon and select 'Save As'.
In the 'Save as type' or 'Format' drop-down menu, choose 'Excel Workbook (*.xlsx)' instead of CSV.
Choose your desired save location, name the file, and click 'Save'. You can now apply colors, and they will be preserved upon reopening.

Use WPS Spreadsheet to Safely Save and Format Data
WPS Spreadsheet fully supports XLSX, XLS, and CSV formats. It provides robust formatting tools and includes smart prompts that warn you if you attempt to save formatted data into a plain text format like CSV, ensuring you never lose your work accidentally.
- 1. Open WPS Spreadsheet: Launch WPS Office and open your existing data file or start a new blank spreadsheet.
- 2. Format Your Cells: Use the 'Home' tab on the ribbon to apply background fill colors, text colors, and borders to your cells as needed.
- 3. Save the File Securely: Click the Menu icon, select 'Save As', and choose 'Microsoft Excel Workbook (*.xlsx)'. WPS handles the formatting compatibility effortlessly.

Frequently Asked Questions
Why did my conditional formatting disappear after saving?
Like standard cell colors, conditional formatting rules are only saved in dedicated spreadsheet formats (such as XLSX or XLS). If you saved the file as a CSV, the rules were discarded. You must save as XLSX to keep them.
How can I convert my CSV file to XLSX without losing data?
Open the CSV file in your spreadsheet program, click 'File', then 'Save As', and select 'Excel Workbook (*.xlsx)' from the format dropdown menu. Do this before applying any colors or formatting to ensure they are saved.
Can I make XLSX the default save format?
Yes. Go to 'File' > 'Options' > 'Save'. Look for the 'Save files in this format' dropdown menu, select 'Excel Workbook (*.xlsx)', and click OK. All future new files will default to this format.
Are there other file formats besides XLSX that save cell colors?
Yes, formats like XLS (older Excel format), XLSM (macro-enabled workbook), and ODS (OpenDocument Spreadsheet) will also preserve cell colors and styling. However, XLSX is the most universally compatible and recommended format.




