Gridlines in Excel: hide them, print them, and how they differ from borders
How to hide Excel gridlines on screen, print them, and tell them apart from borders: the View and Page Layout settings, common traps and pro techniques.
The light gray grid of cells on a sheet is made of gridlines. They exist only to help you find your way on screen: you can see where each cell is. They are not formatting and not a property of the cell.
Turn the grid off in a finished report or dashboard and the table instantly looks cleaner and more “professional”. Printing works the other way round: by default gridlines do not print at all — not knowing this produces a lot of odd-looking printouts.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Department | Salary | |
| 2 | Aziz | Sales | 6 500 000 | |
| 3 | Dilnoza | Accounting | 7 200 000 | |
| 4 | Javohir | Warehouse | 5 400 000 | |
| 5 | Total | 19 100 000 | ||
| 6 |
Hide gridlines on screen
1
Open the Вид tab and clear the Сетка check box in the Показать group. The grid disappears at once; your data stays put.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Department | Salary | |
| 2 | Aziz | Sales | 6 500 000 | |
| 3 | Dilnoza | Accounting | 7 200 000 | |
| 4 | Javohir | Warehouse | 5 400 000 | |
| 5 |
2
The same setting lives on the Разметка страницы tab: in the Параметры листа group, under Сетка, there are two check boxes — View (on screen) and Print.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Department | Salary | |
| 2 | Aziz | Sales | 6 500 000 | |
| 3 | Dilnoza | Accounting | 7 200 000 | |
| 4 | Javohir | Warehouse | 5 400 000 | |
| 5 |
3
Now you can’t see where the table ends — give it real lines: select the table → Главная → the arrow next to Границы → All Borders.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Department | Salary | |
| 2 | Aziz | Sales | 6 500 000 | |
| 3 | Dilnoza | Accounting | 7 200 000 | |
| 4 | Javohir | Warehouse | 5 400 000 | |
| 5 |
Gridlines vs borders — what is the difference
- Gridlines are switched on or off for the whole sheet at once, have a single color and fixed thickness, and don’t print by default.
- Borders are formatting applied to specific cells: you choose color, weight and style (dashed, double), and they always print.
The rule is simple: gridlines for working on screen, borders for presenting and printing results.
Print the gridlines
1
Разметка страницы → Параметры листа group → under Сетка, tick Print.
2
Or open the Page Setup dialog (the small arrow in the corner of the Sheet Options group), tick Gridlines on the Sheet tab and click OK.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Department | Salary | |
| 2 | Aziz | Sales | 6500000 | |
| 3 | Dilnoza | Accounting | 7200000 | |
| 4 | ||||
| 5 |
3
Check the Ctrl + P preview: every cell is now separated by a thin line on paper too.
Pro level: white fill, grouped sheets and gridline color
- White fill ≠ no fill. Fill cells with white (Цвет заливки → White) and the gridlines vanish in that area. Sometimes that is done on purpose; sometimes it turns into a mystery: “why are there no lines here?”. To bring the grid back, choose No Fill, not white.
- Several sheets at once: hold Ctrl and click the sheet tabs (grouping), then clear Сетка — the setting applies to all selected sheets. When done, remember to ungroup (click the tab of any other sheet).
- Dashboard look: on the Вид tab, turn off Заголовки (A, B, C and 1, 2, 3) and the Строка формул together with Сетка — the sheet starts to look like an app screen.
- Gridline color: File → Options → Advanced → *Display options for this worksheet* → Gridline color. The color affects only the screen and is set per sheet.
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.