Show Grid Lines in Excel

If you just need to show grid lines in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

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.

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. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “show grid lines in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. 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. That is what makes a visual that makes the number obvious at a glance useful in real work: repeatable, auditable, and not dependent on memory or luck.

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. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. The short version of “show grid lines in excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

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.