Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Create Gridlines in Excel

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can create gridlines in Microsoft Excel to help organize data, and you only need a working installation of the program to do so. Gridlines are the faint gray lines that separate individual cells on a spreadsheet. By default, Excel displays these lines, but they can be turned off, changed in color, or hidden when printing. This guide covers how to ensure they are visible, how to customize them, and how to print them correctly.

What You'll Need

  • A computer running Microsoft Excel (Windows or Mac).
  • A spreadsheet file containing data (a new blank workbook works fine for testing).

Step-by-Step

  1. Open Excel: Launch the Microsoft Excel application on your computer. If you have a specific file you want to edit, open it now.
  2. Verify the View Tab: Look at the top menu bar for the View tab. This is the central control center for how your spreadsheet is displayed on the screen.
  3. Locate the Gridlines Option: On the View ribbon, find the section labeled View. Within this section, there is a checkbox labeled Gridlines.
  4. Enable the Checkbox: Click on the Gridlines checkbox to enable it. Ensure the check mark is visible. If it was already checked, you are done; your gridlines should be visible on the screen.
  5. Customize Appearance (Optional): If you want to change the color or style of the gridlines, you can do so here. Click on the small arrow in the corner of the Gridlines checkbox to open the Advanced options. In the Sheet Options section, you will see settings for Gridlines lines on the Screen. You can choose a different color from the palette or adjust the line style (e.g., dotted or dashed) to make the gridlines less obtrusive.
  6. Print Gridlines: By default, Excel usually includes gridlines when printing, but it is worth confirming. Go to the File tab and select Options (or Preferences on Mac). Navigate to the Advanced category. Scroll down to the Display section. Locate the checkbox labeled Print and ensure it has a check mark next to it. This ensures that the lines appear on your physical printout.
  7. Hide Gridlines: If you want to hide gridlines for a specific sheet, click on the worksheet tab at the bottom of the window to select it. Then, follow steps 2 through 4, but this time uncheck the Gridlines box. This will remove the lines from that sheet only while leaving them visible on other sheets.

Common Mistakes

Users often confuse the Gridlines setting with the Gridlines setting for printing. It is a common error to go to the Print menu and look for a gridline toggle there. In reality, the print setting is buried deep in the Options or Preferences menu under the Advanced tab. If you are trying to get gridlines on your paper but cannot find the option, you are likely looking in the wrong place. Another frequent mistake is trying to draw lines manually. Instead of using the gridlines feature, some users try to manually draw borders around cells using the Shapes tool or the Borders button on the Home tab. While this works for specific design choices, it does not align with the grid structure of the sheet and makes data organization much harder.

Tips

Understanding how Excel handles gridlines can improve your workflow. If you are working with a very dense dataset, you might want to change the gridline color to a lighter shade. This reduces visual clutter without making the data unreadable. You can also use the Filter feature on your data. When you turn on filters, Excel often displays gridlines differently to help you distinguish between headers and data rows. Additionally, remember that conditional formatting can override gridlines in certain ways. If you apply a dark background to a cell, the gridline inside that cell may disappear or look different. This is a feature, not a bug, as it helps highlight the data within that specific cell.

Troubleshooting

Even with the correct settings, gridlines can sometimes be missing. If you have checked the box and still see no lines, first ensure that the specific worksheet tab is selected. Sometimes, the setting is applied to the workbook globally, but only applies to the active sheet. If you are on a sheet where the lines are missing but they appear on others, the sheet may have been manually customized. Check if there is a conditional formatting rule that hides gridlines or if the Unhide feature was used previously. If the lines appear on the screen but not on the printout, double-check the Page Layout tab for the Print Area. If a print area has been defined, Excel will only print the cells within that area. If the gridlines are outside the print area, they will not appear on the paper. Also, ensure that you have not selected the No Borders option for a specific range of cells, as this overrides the gridlines for that selection.

Frequently Asked Questions

Why are my Excel gridlines not showing up?

This is usually due to the Gridlines checkbox being unchecked in the View tab. It can also happen if a specific sheet has been customized or if conditional formatting rules are hiding them.

How do I make gridlines print in Excel?

Go to File > Options > Advanced > Display and check the box for Print under the Sheet Options section.

Can I change the color of Excel gridlines?

Yes, you can. Click the arrow next to the Gridlines checkbox in the View tab, select Advanced, and choose a new color from the Gridlines lines options.

Do gridlines appear on the Excel mobile app?

The behavior depends on the version of the app and the device. Generally, gridlines are visible on the screen, but printing options are often more limited compared to the desktop version.

How do I remove gridlines from just one sheet?

Click on the specific worksheet tab to select it, then uncheck the Gridlines box in the View tab. This will hide lines only for that sheet.

Why do gridlines disappear when I print?

This happens if the Print gridlines box is unchecked in the Advanced options, or if the print area has been set and the gridlines fall outside that area.