Change cell width and height by dragging

The fastest way to resize a single cell or group of cells is to drag the border between column or row headers. When you position your cursor on the line between two column letters at the top of the spreadsheet, the cursor changes to a resize arrow. Click and drag that line to the right to make the column wider, or to the left to make it narrower.

For row height, do the same thing with the line between row numbers on the left side of the spreadsheet. Drag down to make the row taller, or up to make it shorter. This method works on multiple columns or rows at once if you select them first — click the first column letter, hold Shift, and click the last column letter you want to resize, then drag any border between the selected columns.

One useful shortcut: double-click the border between two column headers, and Excel automatically adjusts the column width to fit the longest text in that column. This saves you from guessing the right width.

Key Takeaways

  • Drag the border between column letters to change column width, or between row numbers to change row height.
  • Double-click a column border to auto-fit the width to your content, which works faster than manual dragging.
  • Right-click a column or row header and choose the height or width option to enter an exact measurement in inches or centimeters.
  • Select multiple columns or rows before resizing to change them all at the same time.
  • The Format menu lets you set a standard width or height for any cell, useful when you want consistency across your spreadsheet.

Use the right-click menu to set exact measurements

If you need a cell to be a specific size — say, exactly 2 inches wide — dragging is imprecise. Right-click the column header (the letter at the top) and select Column Width. A small box appears where you can type a number. Excel measures column width in character units by default, so a width of 20 means the column is wide enough for about 20 characters in the default font.

For row height, right-click the row number on the left and select Row Height. This measurement is in points (a printer's unit), so a height of 30 points is roughly half an inch. If you want to work in inches or centimeters instead, you can change Excel's measurement system in the Options menu, though most people stick with the default units.

This method is also the way to undo an accidental resize. Right-click and set the width or height back to the default — Excel's standard column width is usually 8.43 characters, and standard row height is 15 points.

Auto-fit all columns at once

If your spreadsheet has many columns and you want them all to resize to fit their content, you can do this in one action instead of double-clicking each border. Click the Select All button — the small square in the top-left corner where the column letters and row numbers meet — to select the entire spreadsheet.

Then go to the Format menu, hover over Column, and click AutoFit Column Width. Every column in your spreadsheet instantly resizes to fit the longest entry in that column. If you only want to auto-fit certain columns, select just those columns first by clicking the first column letter, holding Shift, and clicking the last one, then use the same Format menu path.

The same approach works for rows: select the rows you want to resize, go to Format > Row > AutoFit Row Height. This is useful when you have cells with wrapped text and you want the rows to expand to show all the text without cutting it off.

Set a standard width or height for consistency

Some spreadsheets need all columns to be the same width for a clean, organized look. Select all the columns you want to standardize, right-click, and choose Column Width. Type a single number — for example, 15 — and every selected column becomes exactly that width.

You can also use the Format menu to set a default width that applies to new columns you add later. Go to Format > Column > Standard Width, and Excel shows you the current default (usually 8.43 characters). Change this number, and any new columns you insert will use this width automatically. This does not change columns that already exist — only new ones.

The same logic applies to rows. If you want all rows in a section to be taller — perhaps to make a header row stand out — select those rows and set them all to the same height at once through the right-click menu or the Format menu.

Resize cells in a table or data range

If your data is formatted as an Excel table (created with Format as Table or Insert > Table), resizing works the same way — drag the column borders or use the right-click menu. The table structure stays intact, and the resize applies only to that column within the table.

One difference: if you have a very large table and you resize one column, Excel does not automatically resize the others to fit the new total width. Your table may become wider or narrower overall, which is usually what you want. If you need the table to stay the same total width, you have to manually adjust the other columns to compensate.

Avoid common resizing mistakes

A frequent mistake is dragging a column border when you meant to select a column. If you click the column letter itself, you select the whole column (it turns blue). If you click the border between two column letters, you get the resize cursor. The border is a thin line, so position your cursor carefully — you will see the cursor change shape when you are in the right spot.

Another common problem: you resize a column and the text in a cell still does not fit. This usually means the text is too long even for the wider column, or the cell has text wrapping turned on and you need to make the row taller instead. Check whether the cell shows a small red triangle in the corner — that indicates the full text is hidden. Make the column wider, or turn off text wrapping if you do not need it.

If you accidentally make a column so narrow you cannot see the data, you can still fix it. Click the column header to select it, then drag the border to the right, or right-click and set a larger width. Excel does not delete the data when you hide it — it just makes the column too small to display.

Frequently Asked Questions

How do I make a column wide enough to show all the text?

Double-click the border between the column letter and the next column letter. Excel measures the longest text in that column and adjusts the width automatically. If that does not work, the text may be wrapped across multiple lines within the cell — in that case, you need to make the row taller, not the column wider.

Can I set different widths for different columns at the same time?

Not in one step. You can select multiple columns and set them all to the same width, but if you want column A to be 10 characters wide and column B to be 20 characters wide, you have to resize them separately. Select column A, set its width, then select column B and set its width.

What is the difference between column width and row height measurements?

Column width is measured in character units (how many letters fit), while row height is measured in points (a printer's unit, where 72 points equals one inch). You can change these units in Excel's Options, but most people use the defaults. The important thing is that you can type any number you want — Excel accepts decimals too, like 10.5 for a column width.

Does resizing a cell change the data inside it?

No. Resizing only changes how much space the cell takes up on the screen. The actual data stays the same. If you make a column so narrow that text is hidden, the text is still there — it just is not visible until you widen the column again.

How do I reset a column to its default size?

Right-click the column header and select Column Width. Type 8.43 (Excel's standard width) and click OK. For rows, right-click the row number, select Row Height, and type 15 (the standard height in points).