What Are Gridlines? How to Show / Hide in Excel & Google Sheets

Written by

Mel Jenkins

Reviewed by

Laura Tsitlidze

Last updated on March 16, 2023

This tutorial demonstrates how to show and hide gridlines in Excel and Google Sheets.


Gridlines Show Gridlines


Gridlines are the horizontal and vertical gray lines in your worksheet that allow you to see the separation of cells in Excel. They make it easy to navigate through cells and read the data contained within each cell.

Hide Gridlines: Settings

By default, gridlines in an Excel worksheet are visible. You can have gridlines on or off for the entire worksheet; you cannot have some parts of worksheet showing gridlines and others not showing gridlines.

To hide the gridlines in the current worksheet, in the Ribbon, go to View > Gridlines and uncheck the checkbox.


Gridlines intro



  1. In the Ribbon, go to File > Options > Advanced and scroll down to Display options for this worksheet.


Gridlines Show Options


  1. Uncheck the Show gridlines checkbox.
    Note that the option above only hide the gridlines for the worksheet you have selected. To hide the gridlines from a different sheet, you can select the sheet in the Display options for this worksheet drop down.


Gridlines DisplayOptionsThisSheet


Multiple Sheets at Once

To hide gridlines from more than one sheet at a time, you can select the sheet tabs within Excel to group the sheets together.

  1. Click on the first sheet tab, then hold down the SHIFT key and click on each sheet tab to add to the group.


Gridlines GroupSheets


  1. In the Ribbon, go to View > Gridlines and uncheck the checkbox.
  2. Click on one of the sheet tabs to remove the grouping. The gridlines for all selected sheets are now hidden.




Hide Gridlines With Fill Color

If you change the background color of a range of cells, the gridlines of those cells are no longer visible.

  1. Select the range of cells whose gridlines you want hidden.
  2. In the Ribbon, go to Home > Fill Color and choose a background color for the range of cells.


Gridlines Fill Color


In the above example, white is chosen as the background color. This effectively hides the gridlines for the range of cells while keeping the default background color.

Hide Gridlines in Google Sheets

Hiding and showing gridlines in Google Sheets is very similar. However, there isn’t the option to hide all gridlines at once by selecting multiple sheets. You would need to hide the gridlines individually for each sheet.

  1. In the Menu, go to View > Show > Gridlines.


view gridlines gs show


  1. Click on Gridlines to remove the checkmark and hide the gridlines for the current sheet only.

AI Formula Generator

Try for Free

See all How-To Articles