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.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Full name | Position | Salary | Hired | |
| 2 | Dilnoza Karimova | Chief accountant | ##### | ##### | |
| 3 | Javohir Rahimov | Manager | ##### | ##### | |
| 4 | Aziz Tursunov | Storekeeper | ##### | ##### | |
| 5 |
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.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Full name | Position | Salary | Hired | |
| 2 | Dilnoza Karimova | Chief accountant | ##### | ##### | |
| 3 | Javohir Rahimov | Manager | ##### | ##### | |
| 4 | Aziz Tursunov | Storekeeper | ##### | ##### | |
| 5 |
3
Exact width. Select the column and choose Главная → Формат → Column Width....
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Full name | Position | Salary | Hired | |
| 2 | Dilnoza Karimova | Chief accountant | 9 500 000 | 01.01.2022 | |
| 3 | Javohir Rahimov | Manager | 7 200 000 | 01.08.2023 | |
| 4 | Aziz Tursunov | Storekeeper | 4 800 000 | 01.04.2024 | |
| 5 |
4
Type a number (for example, 20) and click OK. Columns of equal width make a report look tidy.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Full name | Position | Salary | Hired | |
| 2 | Dilnoza Karimova | Chief accountant | 9 500 000 | 01.01.2022 | |
| 3 | Javohir Rahimov | Manager | 7 200 000 | 01.08.2023 | |
| 4 | Aziz Tursunov | Storekeeper | 4 800 000 | 01.04.2024 | |
| 5 |
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).
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Full name | Position | Salary | Hired | |
| 2 | Dilnoza Karimova | Chief accountant | 9 500 000 | 01.01.2022 | |
| 3 | Javohir Rahimov | Manager | 7 200 000 | 01.08.2023 | |
| 4 | Aziz Tursunov | Storekeeper | 4 800 000 | 01.04.2024 | |
| 5 |
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Full name | Position | Salary | Hired | |
| 2 | Dilnoza Karimova | Chief accountant | 9 500 000 | 01.01.2022 | |
| 3 | Javohir Rahimov | Manager | 7 200 000 | 01.08.2023 | |
| 4 | Aziz Tursunov | Storekeeper | 4 800 000 | 01.04.2024 | |
| 5 |
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.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | January 2025: staff list and salaries | |||
| 2 | Full name | Position | Salary | |
| 3 | Dilnoza Karimova1 | Chief accountant | 9 500 000 | |
| 4 | Javohir Rahimov | Manager | 7 200 000 | |
| 5 | Aziz Tursunov | Storekeeper | 4 800 000 | |
| 6 |
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.