Excel tutorial
/

Formatting

Beginner

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.

Книга1 - Excel
—☐✕
fx
ABCDE
1ProductInOutBalance
2Sugar500320180
3Flour800650150
4Oil30028020
5Total16001250350
6
Готово
Gridlines are off — only borders shape the table. This is exactly how it prints

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.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить
Буфер обмена
Calibri ▾11 ▾
Шрифт
Выравнивание
Общий ▾
Число
Условное форматированиеФорматировать как таблицуСтили ячеек
Стили
ВставитьУдалитьФормат
Ячейки
АвтосуммаСортировка и фильтрНайти и выделить
Редактирование
A1fxProduct
ABCDE
1Product1InOutBalance
2Sugar500320180
3Flour800650150
4Oil30028020
5Total16001250350
6
ГотовоСреднее: 533,3333Количество: 20Сумма: 6400

2

Keep the selection, open the menu again and choose Thick Outside Borders — inner lines stay thin while the outer frame becomes thick.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить
Буфер обмена
Calibri ▾11 ▾
Шрифт
Выравнивание
Общий ▾
Число
Условное форматированиеФорматировать как таблицуСтили ячеек
Стили
ВставитьУдалитьФормат
Ячейки
АвтосуммаСортировка и фильтрНайти и выделить
Редактирование
A1fxProduct
ABCDE
1ProductInOutBalance
2Sugar500320180
3Flour800650150
4Oil30028020
5Total16001250350
6
ГотовоСреднее: 533,3333Количество: 20Сумма: 6400

3

Select the total row (A5:D5) and choose Top and Double Bottom Border — readers spot the final row instantly.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить
Буфер обмена
Calibri ▾11 ▾
Шрифт
Выравнивание
Общий ▾
Число
Условное форматированиеФорматировать как таблицуСтили ячеек
Стили
ВставитьУдалитьФормат
Ячейки
АвтосуммаСортировка и фильтрНайти и выделить
Редактирование
A5fxTotal
ABCDE
1ProductInOutBalance
2Sugar500320180
3Flour800650150
4Oil30028020
5Total316001250350
6
ГотовоСреднее: 1066,6667Количество: 4Сумма: 3200

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.

Книга1 - Excel
—☐✕
A1fxProduct
ABCDE
1ProductInOutBalance
2Sugar500320180
3Flour800650150
4Oil30028020
5
ГотовоСреднее: 355,5556Количество: 16Сумма: 3200
Книга1 - Excel
—☐✕
fx
ABCDEF
1Product1BalanceProduct2Balance
2Sugar180Sugar180
3Flour150Flour150
4Oil20Oil20
5
Готово
On paper: 1 — a table without borders (gridlines don’t print), 2 — with All Borders

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.

Support us
Previous

32 / 154