The three ways to change cell size in Excel
You can adjust cell size in Excel by dragging the column or row border with your mouse, by typing a specific measurement, or by using the Format menu. The fastest method depends on whether you want to resize one cell, a whole column or row, or multiple cells at once.
Most people use the drag method because it is immediate — you see the change as you move the border. But if you need cells to be exactly the same width or height across a spreadsheet, typing the measurement is more reliable. The Format menu gives you the most control and works well when you are resizing many cells at once.
Key Takeaways
- Drag the border between column letters or row numbers to resize instantly, and double-click that border to auto-fit the content inside.
- Right-click a column or row header and choose Column Width or Row Height to type an exact measurement in inches or centimeters.
- Select multiple columns or rows before resizing to change them all at the same time.
- Auto-fit works best for text that is too long to read; it expands the cell just enough to show everything inside.
Dragging borders to resize columns and rows
Position your cursor on the line between two column letters at the top of the spreadsheet — for example, between the A and B headers. Your cursor will change to a resize arrow (it looks like a line with arrows pointing left and right). Click and drag to the right to make column A wider, or to the left to make it narrower. Release the mouse when the column is the size you want.
The same method works for rows. Find the line between two row numbers on the left side of the spreadsheet, position your cursor there until you see the resize arrow, then drag up or down. Dragging down makes the row taller; dragging up makes it shorter.
If you want a column or row to automatically shrink or expand to fit the content inside, double-click the border instead of dragging. Excel will measure the longest entry in that column or row and resize to fit it exactly. This is called auto-fit and saves time when you have text that is cut off.
Typing exact measurements for width and height
Right-click on any column letter to open a menu, then click Column Width. A small box will appear where you can type a number. In Excel for Windows, this number represents the width in characters (roughly how many letters fit across). In Excel for Mac, you can type the width in inches or centimeters depending on your settings.
For rows, right-click on any row number and click Row Height. Type the height you want. Row height is measured in points (a printer's unit), and the default is usually 15 points. If you type 20, the row will be taller; if you type 10, it will be shorter.
This method is useful when you need cells to be consistent across a spreadsheet or when you want to match a specific size. You can also right-click and choose Optimal Column Width or Optimal Row Height, which auto-fits without requiring you to double-click a border.
Resizing multiple columns or rows at once
Click on the first column letter you want to resize, then hold Shift and click on the last column letter. All columns between them will be highlighted in blue. Now drag the border of any highlighted column, and all selected columns will resize together. This keeps multiple columns the same width.
The same technique works for rows: click the first row number, hold Shift, click the last row number, then drag the border of any highlighted row. All selected rows will change height together.
If you want to resize non-adjacent columns — for example, columns A and C but not B — click column A, then hold Ctrl (or Cmd on Mac) and click column C. Both will highlight, and you can drag either border to resize them both.
Using the Format menu for more options
Click the Format menu at the top of Excel. You will see options for Column and Row. Hover over Column to see a submenu with choices like Column Width, Optimal Column Width, Hide, and Unhide. Hover over Row to see similar options for rows.
This menu route is slower than dragging, but it gives you access to features like Hide (which removes a column or row from view without deleting it) and Unhide (which brings hidden columns or rows back). You can also use this menu to set the width or height of multiple selected columns or rows at once.
Auto-fit and when to use it
Auto-fit is the fastest way to make sure all your content is visible. Double-click the border between any two column letters, and that column expands to show everything inside. Double-click the border between any two row numbers, and that row expands to show everything inside.
Auto-fit works best when you have text or numbers that are cut off and you want to see them all at once. It is less useful if you have very long text in one cell — auto-fit will make that column extremely wide, which might not be what you want. In that case, you can manually drag the border to a size that works better, or you can wrap text inside the cell instead of making the column wider.
Frequently Asked Questions
How do I make a cell square?
Set the column width and row height to the same measurement. For example, right-click the column header, choose Column Width, and type 3. Then right-click the row number, choose Row Height, and type 20 (which is roughly equivalent to 3 characters wide in points). The cell will be approximately square. Exact squares require some trial and error because width and height use different units.
Can I resize all cells in a spreadsheet at once?
Yes. Press Ctrl+A (or Cmd+A on Mac) to select all cells, then drag any column or row border, or use the Format menu. All columns will resize to the same width, or all rows to the same height. You can also select all and then use Format > Column > Optimal Column Width to auto-fit every column to its content.
What if I accidentally make a column too narrow and can't see the data?
Double-click the border between that column and the next one to auto-fit it, or drag the border to the right to widen it. If the column is so narrow you cannot see the border, click the column letter to select it, then use Format > Column > Optimal Column Width to auto-fit automatically.
Does resizing a cell change the data inside it?
No. Resizing only changes how much space the cell takes up on the screen. The data stays the same. If text is cut off because the cell is too narrow, the full text is still there — you just cannot see it until you widen the cell.
How do I make text wrap inside a cell instead of making the cell wider?
Select the cell, go to Format > Cells, click the Alignment tab, and check the box for Wrap Text. The cell will stay the same width, but the text will break into multiple lines inside it. The row height will expand automatically to show all the wrapped text.