When Graphing in Excel Gridlines Should Be

This guide treats “when graphing in excel gridlines should be” the way busy spreadsheet users actually want it: answer first, then the reasoning. It is written for Excel but calls out every place Google Sheets differs, and the platform toggle at the top switches all shortcuts between Windows and Mac so nothing here assumes the keyboard you are not on.

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. 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. Treat “when graphing in excel gridlines should be” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected gridlines shows up while it is still harmless. 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 turns a visual that makes the number obvious at a glance into a method you can reuse, explain, and defend when the workbook leaves your screen.

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 before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.

In Google Sheets

Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Treat “when graphing in excel gridlines should be” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.

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.