The three ways to adjust row height in Excel
You can change row height in Excel by dragging the border between row numbers, by right-clicking and selecting a height option, or by using the Format menu. The drag method is fastest for one or two rows. The right-click menu works when you want to set an exact measurement or make all rows the same height. The Format menu gives you the most control if you are working with many rows at once.
All three methods work the same way in Excel for Windows and Excel for Mac, though the menu names differ slightly on Mac. The height you set stays with that row unless you change it again — Excel does not revert to default height on its own.
Key Takeaways
- Drag the line between two row numbers up or down to resize the row below it without opening any menus.
- Right-click a row number and choose Row Height to type in an exact measurement in inches or centimeters.
- Select multiple row numbers at once, then drag or right-click, to change several rows to the same height in one action.
- Double-click the line between row numbers to auto-fit the height to whatever content is in that row.
Dragging the row border to resize
Position your cursor on the line between two row numbers on the left side of the spreadsheet. The cursor will change to a resize arrow — a double-headed arrow pointing up and down. Click and drag upward to make the row shorter, or downward to make it taller. Release the mouse when the row is the height you want.
This method is the fastest if you only need to adjust one or two rows. You can see the change happen in real time as you drag. If you drag too far, just drag back — there is no penalty for adjusting multiple times.
If your cursor does not change to the resize arrow, you are not positioned exactly on the line between row numbers. Move slightly left or right until you see the arrow appear.
Using the right-click menu to set exact height
Click on a row number to select the entire row. Right-click on the selected row number and choose Row Height from the menu. A dialog box will appear with a text field. Type the height you want — the default unit is inches, but you can type "cm" after the number to use centimeters instead.
This method is useful when you need rows to be a specific measurement, such as 0.5 inches for a compact layout or 1 inch for a form that will be printed. You can also use this to make multiple rows the same height: select all the rows you want to change (click the first row number, hold Shift, and click the last row number), right-click, and enter the height once.
If you want to undo a height change, right-click the row again and choose Row Height, then enter the default height of 0.2 inches (or 15 points if your Excel is set to point measurement).
Auto-fitting row height to content
Double-click the line between two row numbers. Excel will automatically adjust the row height to fit all the text or numbers in that row without cutting anything off. If the row contains a long text entry that wraps to multiple lines, the row will expand to show all of it.
This is the fastest way to fix rows where text is hidden because the row is too short. You can auto-fit multiple rows at once: select all the rows you want to adjust, then double-click any line between the selected row numbers.
Changing height through the Format menu
Select the row or rows you want to change. On Windows, click the Home tab, then click Format in the ribbon, and choose Row Height. On Mac, click Format in the menu bar at the top and select Row Height.
A dialog box will open where you can type the exact height. This method works the same way as right-clicking, but some people find it easier to locate the Format menu than to right-click accurately, especially on a laptop trackpad.
Resizing multiple rows to different heights at once
If you need to change several rows but not all to the same height, you have to adjust them one at a time or in groups. Select rows that should be the same height together (click the first row number, hold Shift, and click the last), then drag or right-click to set their height. Repeat for the next group of rows.
There is no way to set different heights for different rows in a single action. Excel does not have a feature to apply a pattern or formula to row heights the way it does for cell formatting.
What happens when you change row height in a merged cell
If a row contains a merged cell (a cell that spans multiple rows or columns), changing the row height affects only that one row, not the merged cell as a whole. The merged cell will expand or shrink with the row, but it may look unbalanced if the rows above and below it are different heights.
If you have merged cells and want them to look even, adjust all the rows that the merged cell spans to the same height. For example, if a cell merges rows 2 through 5, make sure all four rows are the same height.
Frequently Asked Questions
Can I set a minimum or maximum row height?
Excel does not have a built-in minimum or maximum row height setting. You can make rows as short as 0.01 inches or as tall as you need, but there is no automatic limit. If you want to prevent accidental changes, you can protect the sheet, which locks row heights unless someone unprotects it first.
Why does my row height keep changing when I type?
If you have turned on text wrapping for a cell, Excel automatically expands the row height to fit all the wrapped text. This is not a bug — it is designed to prevent text from being hidden. If you want to keep the row height fixed, turn off text wrapping for that cell or use the Format menu to lock the row height.
How do I reset all rows to the default height?
Select all cells by clicking the box in the top-left corner (where the row numbers and column letters meet). Right-click any row number and choose Row Height, then enter 0.2 inches. This resets every row in the sheet to the default height at once.
Does changing row height affect printing?
Yes. The row heights you set in Excel will print exactly as they appear on screen. If a row is very tall, it will take up more space on the printed page. Test a print preview before printing to make sure the layout looks the way you want.