Grid Lines Not Showing in Excel? Fix It Fast
In this article
If grid lines disappear in Excel, the cause is almost always one of three things: the grid lines are toggled off, the cell fill color is covering them, or the sheet's white background is set. Here's the quick fix: go to the View tab and check the Gridlines box under Show. If they still don't appear, select all cells and set the fill color to No Fill. This guide covers every fix in detail.
What You'll Need
- A computer with Microsoft Excel (Windows, Mac, or Excel for the web).
- The workbook where grid lines are missing.
- No other tools are required.
Step-by-Step
- Check the View tab. Open your Excel file and click the View tab on the ribbon. Look for the Show group. If the Gridlines checkbox is unchecked, click it to turn it on. This is the most common fix. (Note: On Excel for Mac, the checkbox is in the same location; on Excel for the web, it's under View > Gridlines.)
- Check cell fill color. If grid lines are still missing, select the entire sheet by clicking the triangle at the top-left corner (where row numbers and column letters meet). Then go to the Home tab, click the Fill Color paint bucket icon, and choose No Fill. This removes any white or colored fill that hides the grid lines.
- Check the sheet background. On the Page Layout tab, look for the Sheet Options group. If the Gridlines checkbox under Print is unchecked, that only affects printing, not the screen. For the screen, ensure the View checkbox is checked. If you've set a sheet background image, it can obscure grid lines. Go to Page Layout > Delete Background (if available) to remove it.
- Check if the sheet is in Page Break Preview. If you're in Page Break Preview view (View tab > Workbook Views), grid lines may not show normally. Switch back to Normal view by clicking Normal on the View tab.
- Check if the sheet is protected. If the sheet is protected, you can still view grid lines, but you can't change the fill color. To unprotect, go to Review > Unprotect Sheet (you may need a password).
- Check if the workbook is in Compatibility Mode. If the file is saved as an older .xls format, grid lines might behave differently. Go to File > Info and click Convert to update to the current format, then save.
- Restart Excel. Sometimes a temporary glitch causes grid lines to disappear. Save your work, close Excel completely, and reopen the file.
Common Mistakes
- Mistaking print grid lines for screen grid lines. The Print checkbox under Page Layout only affects the printed page, not what you see on screen. Always check the View checkbox first.
- Only selecting a few cells when removing fill. If you select only a range, the fill color remains on other cells. Select the entire sheet before applying No Fill.
- Forgetting that a white fill is still a fill. Even white fill covers grid lines. Always use No Fill, not white.
- Checking the wrong sheet. Grid lines settings are per-sheet. Make sure you're on the correct tab.
Tips
- To make grid lines more visible, you can change their color. Go to File > Options > Advanced, scroll to Display options for this worksheet, and choose a Gridline color that contrasts with your fill colors.
- If you want grid lines only on certain cells, you can apply borders manually. Select the cells, go to Home > Borders and choose a border style.
- If you're preparing a printable report, turn on Print Gridlines under Page Layout > Sheet Options to include them on paper.
- If you're using a template that has a colored background, check the theme colors. Sometimes the grid line color is set to match the background, making them invisible.
Troubleshooting
If grid lines still don't appear after trying the steps above:
- Check for add-ins. Some third-party add-ins can interfere with display. Go to File > Options > Add-ins, and try disabling COM add-ins temporarily (restart Excel after).
- Repair Office. If the issue persists across all workbooks, repair your Office installation. Go to Windows Settings > Apps > Microsoft Office > Modify > Quick Repair (or Reinstall). On Mac, reinstall Office from the official installer.
- Check if the issue is only in a specific view. Try switching to Page Layout view (View tab) and then back to Normal. Sometimes the view gets stuck.
- Check for a corrupted workbook. If only one file is affected, try opening a new blank workbook and copy the data over. If grid lines appear there, the original file may be corrupted.
Frequently Asked Questions
Why are grid lines missing only in some cells?
That usually means those cells have a fill color applied. Select those cells and set fill to No Fill.
Can I print grid lines even if they don't show on screen?
Yes. Go to Page Layout > Sheet Options and check the Print checkbox under Gridlines. This prints grid lines regardless of screen display.
Do grid lines show in Excel for the web?
Yes, grid lines are visible by default. If they're missing, go to the View tab and check the Gridlines box. The web version has fewer options, but this toggle works.
Why did my grid lines disappear after I applied a table style?
Applying a table style often removes grid lines within the table range because the table's own formatting takes over. To see grid lines again, you can either remove the table style or add borders manually.
Can I change the color of grid lines?
Yes, in Excel desktop. Go to File > Options > Advanced and under Display options for this worksheet, pick a different gridline color. This changes the color for the entire sheet.
What if grid lines are missing in a shared workbook?
If the workbook is shared, some display settings may be locked. Ask the owner to check the gridline settings or unshare the workbook temporarily. Also, ensure you have the latest version of the file.