Change row height by dragging the border between row numbers

The fastest way to adjust a single row's height is to position your cursor on the border between two row numbers on the left side of the spreadsheet, then drag up or down. Click and hold on the line between the row you want to change and the row below it, then move your mouse to make the row taller or shorter. Release to set the new height.

This method works in Excel on Windows, Mac, and the web version. You'll see your cursor change to a resize arrow when you're positioned correctly on the border — if it doesn't change, move slightly up or down until it does.

Key Takeaways

  • Drag the border between row numbers to resize a single row without opening any menus.
  • Right-click a row number and select "Row Height" to enter an exact measurement in points.
  • Double-click the border between row numbers to auto-fit the height to whatever content is in that row.
  • Select multiple rows and adjust them all at once by dragging or using the Row Height dialog.
  • Excel measures row height in points, where 72 points equals one inch.

Set an exact row height using the Row Height dialog

If you need a specific measurement rather than eyeballing it, right-click on the row number you want to change and select "Row Height" from the menu. A small dialog box will open where you can type in a number. Excel measures row height in points — 72 points equals one inch, so a row height of 36 points is half an inch tall.

This approach is useful when you're building a template and need rows to be consistent across multiple spreadsheets, or when you're formatting a document that will be printed and needs exact dimensions. After you type your number, click OK and the row adjusts immediately.

Auto-fit row height to match your content

Double-click the border between two row numbers to make Excel automatically adjust the height to fit whatever text or numbers are in that row. This is especially helpful when you have cells with wrapped text that's being cut off, or when you've pasted content and the rows are too short to display it all.

If you want to auto-fit multiple rows at once, select all the rows you want to adjust (click the first row number, then hold Shift and click the last row number), then double-click any border between the selected rows. Excel will resize each row to fit its own content independently.

Resize multiple rows to the same height at once

Select the rows you want to change by clicking the first row number, then holding Shift and clicking the last row number in the range. Once they're highlighted in blue, right-click any of the selected row numbers and choose "Row Height." Type your desired height and click OK — all selected rows will change to that same height.

You can also drag the border of any selected row to resize them all together. The rows will all move to the same height as you drag, which is faster than using the dialog if you don't need an exact measurement.

Unhide rows that are hidden or very small

If a row seems to be missing from your spreadsheet, it may be hidden or set to a height of zero. To unhide it, select the row above and the row below the missing one (click one row number, hold Shift, click the other), then right-click and select "Unhide." The hidden row will reappear.

If you see a row number jump from, say, 5 to 7, row 6 is hidden. Select rows 5 and 7 the same way, right-click, and choose "Unhide" to bring it back. You can also select all rows by clicking the box in the top-left corner where the row and column headers meet, then right-click and unhide to reveal everything at once.

Differences between Excel on Windows, Mac, and the web

The drag-and-drop method works the same way across all three versions. Right-clicking to access the Row Height dialog also works on Windows and Mac, though the exact menu layout may look slightly different. On Excel for the web, you can right-click a row number and find the height option in the context menu, but some formatting options are more limited than the desktop versions.

If you're using Excel on the web and the right-click menu doesn't appear, try using the Home tab at the top of the screen — look for a Format option that includes row height settings. The web version updates regularly, so the exact location of these options may shift.

Frequently Asked Questions

Can I set a minimum row height so rows don't get too small?

Excel doesn't have a built-in minimum height setting, but you can manually set each row to your preferred minimum using the Row Height dialog. If you're working with a template others will use, document the row heights you've chosen so they know not to make them smaller.

Why does my row height keep changing when I paste content?

Excel automatically adjusts row height when you paste content that's taller than the current row. If you want to keep a specific height, set it after pasting, or use Paste Special (Ctrl+Shift+V on Windows, Cmd+Shift+V on Mac) and uncheck the "Formats" option to paste only values without triggering auto-fit.

What's the difference between row height and line spacing?

Row height is the total vertical space the row takes up in the spreadsheet. Line spacing is a formatting option within a cell that controls space between lines of text inside that cell. You adjust line spacing through the Format Cells dialog, not through row height.

How do I make all rows the same height across my entire spreadsheet?

Click the box in the top-left corner where the row and column headers meet to select every cell in the spreadsheet. Then right-click any row number and choose Row Height, enter your desired height, and click OK. Every row will change to that height.