Excel tutorial
/

Formatting

Beginner

Column width and row height in Excel: AutoFit and exact sizes

How to change column width and row height in Excel: by dragging, AutoFit (double-click), exact values, what #### means, and Wrap Text.

On a new sheet every column is equally narrow: the standard width is 8.43 characters (64 pixels) and the row height is 15 points (20 pixels). Long names get cut off, and big numbers or dates turn into ####.

That’s not an error — Excel is simply saying “it doesn’t fit”. Widen the column and everything shows up. Here are several ways to do it in a second.

Книга1 - Excel
—☐✕
fx
ABCDE
1Full namePositionSalaryHired
2Dilnoza KarimovaChief accountant##########
3Javohir RahimovManager##########
4Aziz TursunovStorekeeper##########
5
Готово
Columns at standard width: names are cut off, salary and date show #### because they don’t fit

Changing width and height

1

With the mouse. Point at the border between two column headers (for example, between A and B) until the cursor becomes ↔. Hold the button and drag right. A tooltip shows the size: Width: 8.43 (64 pixels).

2

AutoFit — double-click. Double-click that same border and the column fits its longest value. For several columns at once: select headers A to D and double-click any of their borders.

Книга1 - Excel
—☐✕
A1fxFull name
ABCDE
1Full namePositionSalaryHired
2Dilnoza KarimovaChief accountant##########
3Javohir RahimovManager##########
4Aziz TursunovStorekeeper##########
5
ГотовоКоличество: 16
The columns are selected — a double-click on any border fits them all

3

Exact width. Select the column and choose Главная → Формат → Column Width....

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить
Буфер обмена
Calibri ▾11 ▾
Шрифт
Выравнивание
Общий ▾
Число
Условное форматированиеФорматировать как таблицуСтили ячеек
Стили
ВставитьУдалитьФормат
Ячейки
АвтосуммаСортировка и фильтрНайти и выделить
Редактирование
A1fxFull name
ABCDE
1Full namePositionSalaryHired
2Dilnoza KarimovaChief accountant9 500 00001.01.2022
3Javohir RahimovManager7 200 00001.08.2023
4Aziz TursunovStorekeeper4 800 00001.04.2024
5
ГотовоКоличество: 4

4

Type a number (for example, 20) and click OK. Columns of equal width make a report look tidy.

Книга1 - Excel
—☐✕
A1fxFull name
ABCDE
1Full namePositionSalaryHired
2Dilnoza KarimovaChief accountant9 500 00001.01.2022
3Javohir RahimovManager7 200 00001.08.2023
4Aziz TursunovStorekeeper4 800 00001.04.2024
5
ГотовоКоличество: 4

5

Row height works the same way: drag the border between row numbers down, double-click it to AutoFit, or set an exact value in Формат → Row Height... (for example, 30 for the header row).

Книга1 - Excel
—☐✕
A1fxFull name
ABCDE
1Full namePositionSalaryHired
2Dilnoza KarimovaChief accountant9 500 00001.01.2022
3Javohir RahimovManager7 200 00001.08.2023
4Aziz TursunovStorekeeper4 800 00001.04.2024
5
ГотовоКоличество: 4
Книга1 - Excel
—☐✕
fx
ABCDE
1Full namePositionSalaryHired
2Dilnoza KarimovaChief accountant9 500 00001.01.2022
3Javohir RahimovManager7 200 00001.08.2023
4Aziz TursunovStorekeeper4 800 00001.04.2024
5
Готово
After AutoFit: each column fits its content and the #### are gone

Units of measure

  • Width is how many digits (0–9) of the standard font fit in the cell: 8.43 is roughly 8 digits. The maximum is 255.
  • Height is in points (1 pt = 1/72 inch): 15 pt ≈ 20 pixels. The maximum is 409 pt.
  • If you enlarge the font, the row height grows by itself — unless you set it manually. A height set by hand stays fixed.
  • In View → Page Layout sizes are shown in centimeters or inches — handy for printed forms.
Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить
Буфер обмена
Calibri ▾11 ▾
Шрифт
Выравнивание
Общий ▾
Число
Условное форматированиеФорматировать как таблицуСтили ячеек
Стили
ВставитьУдалитьФормат
Ячейки
АвтосуммаСортировка и фильтрНайти и выделить
Редактирование
A3fxDilnoza Karimova
ABCD
1January 2025: staff list and salaries
2Full namePositionSalary
3Dilnoza Karimova1Chief accountant9 500 000
4Javohir RahimovManager7 200 000
5Aziz TursunovStorekeeper4 800 000
6
ГотовоКоличество: 3
Only the names are selected — the column fits them, and the long title simply runs over B and C

Long text: Wrap Text

To show long text (a comment, an address) without stretching the column forever, click Главная → Перенос текста. The text breaks into several lines and the row height grows automatically.

To break a line at an exact spot, press Alt + Enter while editing the cell. If the row doesn’t grow, its height was set manually: double-click the row border. For merged cells, AutoFit doesn’t adjust row height at all — you have to resize them by hand.

Pro level: keyboard and copying

  • Ribbon commands from the keyboard: Alt, H, O, I — AutoFit column width; Alt, H, O, A — AutoFit row height; Alt, H, O, W — the exact width box. Press the keys one after another, not together.
  • Copy widths to another table: copy the columns, then at the new place choose Paste Special → Column widths (Ctrl + Alt + V, then W). Only widths are copied, not data.
  • Same width for several columns: select them and drag the border of one — they all change.
  • Hiding: Ctrl + 0 hides a column, Ctrl + 9 hides a row. Unhide rows with Ctrl + Shift + 9. For columns, Ctrl + Shift + 0 is blocked by Windows on many computers — use Формат → Hide & Unhide instead.

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

35 / 154