How to Add Grid Line in Excel

There are two ways to “add grid line in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: untick View ▸ Show ▸ Gridlines to hide the faint lines on screen — that setting is per worksheet and does not affect printing.

On this page7
Annotated stepsExcel
1

To hide on screen: View tab ▸ Show group ▸ untick Gridlines. It applies to the active sheet only.

2

To apply to several sheets at once, Ctrl-click their tabs to group them first, then untick.

3

To print gridlines: Page Layout ▸ Sheet Options ▸ Gridlines ▸ tick Print. They are off by default.

4

For lines that always print and can be styled, use Home ▸ Borders ▸ All Borders on the range instead.

5

To change the on-screen gridline colour, File ▸ Options ▸ Advanced ▸ Display options for this worksheet ▸ Gridline color.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

Gridlines are the faint guides Excel draws between cells. They are not borders: they never print unless you ask, they cannot be recoloured per cell, and hiding them changes nothing about the data. Three separate controls exist. View ▸ Gridlines toggles them on screen for the active sheet. Page Layout ▸ Gridlines ▸ Print toggles them on paper. And filling cells with white under Home ▸ Fill Color hides them behind the fill, which is what makes a dashboard look like a designed page rather than a spreadsheet. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “add grid line in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a layout choice that keeps the sheet readable and sortable, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

To turn a summary sheet into a clean report: untick View ▸ Show ▸ Gridlines, then select the header block and apply a white fill so it stays clean even if someone re-enables gridlines. To get the lines back for editing, tick View ▸ Show ▸ Gridlines again. To print visible lines around a data table, do not rely on gridlines at all — select the range and apply Home ▸ Borders ▸ All Borders. Hiding gridlines is the single change that most makes a sheet read as a finished report rather than a working file, and knowing the print toggle is separate saves the "why is my table invisible on paper" round trip. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.

In Google Sheets

This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. The short version of “add grid line in excel”: the answer is at the top of this page, and the sections above explain why each step matters, so a variation of the problem does not stump you. Try it once on a copy of a real file and the steps stick far better than re-reading them.

Common mistakes

  • Confusing gridlines with borders — hiding gridlines removes nothing you applied with the Borders button.
  • Expecting the View toggle to change the printout; printing has its own checkbox on the Page Layout tab.
  • Hiding gridlines on one sheet and assuming the workbook followed; the setting is per worksheet.
  • Using a white fill to fake hidden gridlines and then wondering why an empty-looking area is not really empty.

Frequently asked questions

How do I remove gridlines in Excel?

View tab ▸ Show group ▸ untick Gridlines. This hides them on the active worksheet and has no effect on borders or on printing.

How do I get gridlines back?

Tick View ▸ Show ▸ Gridlines again. If they are still missing, the cells probably have a white fill — select them and set Home ▸ Fill Color to No Fill.

Why do gridlines not print?

They are off for printing by default. Tick Page Layout ▸ Sheet Options ▸ Gridlines ▸ Print, or apply real borders to the range.

Can I change the gridline colour?

Yes — File ▸ Options ▸ Advanced, scroll to "Display options for this worksheet" and set Gridline color. It is per worksheet.

Other ways people ask this

This is also commonly searched as “how to add grid lines in excel” and “add grid lines in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.

Why do people search for this in so many different ways?

Because the same task has many names. “how to add grid lines in excel”, “add grid lines in excel” all point at the one operation explained on this page, which is why they all lead here.