Borders in Excel: All Borders, thick outside border and getting a table ready to print
Add cell borders in Excel: All Borders, Thick Outside Borders, a double line under totals, Format Cells → Border, shortcuts, and printing traps.
The gray gridlines on an Excel sheet are just an on-screen helper. They are not printed, and someone else may have them turned off. When your table needs real lines, you need borders.
A border is a format too: a line drawn along the sides of a cell, with a style (thin, thick, double), a color and a position. The right borders make a table look like a table on paper and in PDF.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | In | Out | Balance | |
| 2 | Sugar | 500 | 320 | 180 | |
| 3 | Flour | 800 | 650 | 150 | |
| 4 | Oil | 300 | 280 | 20 | |
| 5 | Total | 1600 | 1250 | 350 | |
| 6 |
The Borders menu: the essentials
In the menu behind the arrow next to Границы on the Главная tab:
- All Borders — a line around every cell. The fastest option for a simple table.
- Outside Borders / Thick Outside Borders — a thin or thick frame around the outside of the range only.
- Bottom Border, Thick Bottom Border — a line at the bottom only: good under headers.
- Top and Double Bottom Border — one line above, a double line below: the accounting way to mark a final total.
- No Border — removes every border in the selected cells.
- More Borders… — the Border tab of Format Cells: line style, color and each side separately.
Adding borders to a stock table
1
Select the whole table (A1:D5), click the Границы arrow and choose All Borders.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product1 | In | Out | Balance | |
| 2 | Sugar | 500 | 320 | 180 | |
| 3 | Flour | 800 | 650 | 150 | |
| 4 | Oil | 300 | 280 | 20 | |
| 5 | Total | 1600 | 1250 | 350 | |
| 6 |
2
Keep the selection, open the menu again and choose Thick Outside Borders — inner lines stay thin while the outer frame becomes thick.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | In | Out | Balance | |
| 2 | Sugar | 500 | 320 | 180 | |
| 3 | Flour | 800 | 650 | 150 | |
| 4 | Oil | 300 | 280 | 20 | |
| 5 | Total | 1600 | 1250 | 350 | |
| 6 |
3
Select the total row (A5:D5) and choose Top and Double Bottom Border — readers spot the final row instantly.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | In | Out | Balance | |
| 2 | Sugar | 500 | 320 | 180 | |
| 3 | Flour | 800 | 650 | 150 | |
| 4 | Oil | 300 | 280 | 20 | |
| 5 | Total3 | 1600 | 1250 | 350 | |
| 6 |
4
For a colored or different line, open Ctrl + 1 → Border tab. First choose the line Style and Color, then click a preset (Outline, Inside) or individual sides.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | In | Out | Balance | |
| 2 | Sugar | 500 | 320 | 180 | |
| 3 | Flour | 800 | 650 | 150 | |
| 4 | Oil | 300 | 280 | 20 | |
| 5 |
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Product1 | Balance | Product2 | Balance | ||
| 2 | Sugar | 180 | Sugar | 180 | ||
| 3 | Flour | 150 | Flour | 150 | ||
| 4 | Oil | 20 | Oil | 20 | ||
| 5 |
Pro level: fast and clean borders
- Shortcuts: Ctrl + Shift + 7 (that is, Ctrl + Shift + &) — outline border, Ctrl + Shift + - — remove borders. Via the ribbon: Alt, H, B, A — All Borders; Alt, H, B, T — Thick Outside Borders.
- Draw by hand. The bottom of the Borders menu has Draw Border, Draw Border Grid and Erase Border — like using a pen. Note: picking Line Color or Line Style in that menu switches Excel into drawing mode automatically; press Esc to leave it.
- Light gray borders (for example #BFBFBF) look more modern and lighter than black ones.
- Let borders grow with the table. Manual borders don’t extend to new rows. With Форматировать как таблицу (Ctrl + T) the format expands on its own when you add a row.
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.