How to Make All Cells the Same Size in Excel

To make all cells the same size in Excel, select the whole sheet with the Select All button (the triangle above row 1 and left of column A) or press Ctrl + A. Then select Home > Format > Column Width, type a number and select OK. Do the same with Home > Format > Row Height. Every column now has one width and every row has one height.

This guide covers the menu method, the mouse method, copying widths from other columns, setting a default width, making truly square cells, and the Mac and web versions of Excel. It also explains the units Excel uses, because a width of 15 and a height of 15 are not the same size.

Which method do you need?

You want toUse
Set an exact size for many columns or rowsHome > Format > Column Width / Row Height
Resize quickly by eyeSelect the columns or rows and drag one boundary
Match the widths of another column or tablePaste Special > Keep Source Column Widths
Change the width of every column you haven’t resized yetHome > Format > Default Width
Make square cellsPage Layout view, with the same value in inches or centimeters
Fit columns to their contentsAutoFit (this gives different sizes, not equal ones)

Method 1: Set an exact width and height

This is the most reliable way, because you type the same number for every column and every row.

  1. Select the columns or rows you want to change. To change the whole sheet, select Select All or press Ctrl + A. Microsoft’s keyboard shortcuts in Excel list Ctrl + A or Ctrl + Shift + Spacebar for selecting the entire worksheet. If your cursor is inside a block of data, the first press selects only that data. Press Ctrl + A again (up to twice more) to select the whole sheet, or select Select All.
  2. Select Home, then in the Cells group select Format.
  3. Under Cell Size, select Column Width.
  4. Type a width in the Column width box and select OK.
  5. With the same selection, select Home > Format > Row Height.
  6. Type a height in the Row height box and select OK.
Separate recreated Excel Format menu and Column Width dialog over selected columns B through D
Choose Home > Cells > Format > Column Width, then type a width such as 25. These separate recreated views show the command menu and the dialog over columns B:D selected in a fictional worksheet.

You don’t have to select whole columns. If you select a range of cells, such as B2:F10, the command still resizes the entire columns B to F (or the entire rows 2 to 10), because a single cell can’t be wider or taller than the others in its column or row. Microsoft’s guide to changing the column width and row height puts it simply: individual rows and columns can have only one setting.

Use the right-click menu instead

Select the column letters (for example, drag across A to H), right-click any selected letter and choose Column Width. For rows, select the row numbers, right-click and choose Row Height. These commands appear when you right-click the column or row headers, not a cell in the middle of the sheet.

Use the keyboard

Press Alt and Excel shows letters, called KeyTips, on the ribbon. Press H for Home and O for Format, and the Format menu shows the letter for each command. Many guides give Alt, H, O, W for Column Width and Alt, H, O, H for Row Height, but Microsoft’s shortcut list doesn’t include these, so check the letters on your screen.

What the numbers mean

Rows and columns use different units in Normal view, which is why equal numbers don’t give equal sizes:

  • Column width is measured in characters of the default font. Microsoft’s ColumnWidth property page says one unit equals the width of one character in the Normal style, and for proportional fonts it uses the width of the zero (0). The default is 8.43, and the range is 0 to 255.
  • Row height is measured in points (1 point is 1/72 of an inch). The default is 15.00, and the range is 0 to 409.

Excel doesn’t use pixels for these settings. If you see pixel numbers when you drag a boundary, they depend on your font and screen scaling, so they can differ between computers. Setting a width or height to 0 hides the column or row.

Method 2: Drag a boundary

  1. Select several columns by dragging across their letters, or select the whole sheet with Select All.
  2. Point to the right edge of any selected column letter until the pointer becomes a double arrow.
  3. Drag to the width you want. Every selected column changes to that width.
  4. Do the same for rows: select the row numbers and drag the bottom edge of any selected row number.

Excel shows the size in a tooltip while you drag, which helps you hit the same number twice.

Method 3: Copy the widths from other columns

To make one table’s columns match another’s:

  1. Select a cell in the column whose width you want, or select several cells across columns, and press Ctrl + C.
  2. Right-click the first cell of the target columns.
  3. Select Paste Special and choose Keep Source Column Widths.

Keep Source Column Widths also pastes the copied content. If you only want the widths, open the full Paste Special dialog and choose Column widths. This copies widths only. There is no matching option for row heights, so set those with Row Height.

Method 4: Change the default column width

You can change the standard width that Excel uses for every column you haven’t resized yourself:

  1. To change one sheet, select it. To change every sheet in the workbook, right-click a sheet tab and choose Select All Sheets.
  2. Select Home > Format > Default Width.
  3. Type a value in the Standard column width box and select OK.

Columns you have already resized keep their width. There is no Default Height command for rows. To have your sizes in every new workbook, save a workbook with them as an Excel template. When you’re done working across several sheets, right-click a tab and choose Ungroup Sheets so later edits don’t change every sheet.

How to make square cells

Because width uses characters and height uses points, a width of 15 and a height of 15 give a cell that is much wider than it is tall. The cleanest way to get squares is to switch to a view that uses the same unit for both:

  1. Select View > Page Layout (in the Workbook Views group).
  2. Select all the cells you want square.
  3. Select Home > Format > Column Width and enter a size in inches, for example 0.25. Select OK.
  4. Select Home > Format > Row Height, enter the same number and select OK.
  5. Go back with View > Normal.
Excel Page Layout view with column width and row height set in centimeters
Use Page Layout view with centimeter rulers, then enter 1 cm separately for Column Width and Row Height. These recreated details show an illustrative square grid and two separate dialogs; Excel may round dimensions to whole pixels.

Page Layout view uses inches by default. To use centimeters or millimeters, select File > Options > Advanced, and under Display change Ruler Units. Excel converts your value into its own units, so the result may be very slightly off after rounding, but it looks square on screen and in print. This is handy for graph paper, seating plans, and pixel-art style grids.

Why AutoFit doesn’t make cells the same size

AutoFit sizes each column or row to fit its contents, so it gives you a neat sheet with different widths. You’ll find AutoFit Column Width and AutoFit Row Height on the same Home > Format menu, and double-clicking a column boundary does the same. Use it when you want text to fit, and use Column Width and Row Height when you want a uniform grid. If you need long text to fit inside an equal-width column, turn on Wrap Text on the Home tab and then set the row height. To keep a heading over several equal columns without merging them, you can center text across cells without merging them.

Excel for Mac

  • Exact width: select the columns, then Format menu > Column > Width.
  • Exact height: select the rows, then Format menu > Row > Height.
  • Whole sheet: click the Select All triangle (or press Command + A), then drag any separator.
  • Copy widths: copy the cells, then Edit > Paste Special > Column Widths.

Microsoft’s guide to changing column width or row height in Excel for Mac has the steps.

Excel for the web

In Excel for the web, select the columns or rows and drag a boundary, as Microsoft’s page on changing column width or row height shows. Microsoft’s AutoFit cells guide gives Home > Format for AutoFit (select Cells first if Format isn’t visible). Some versions also offer exact width and height commands there, or when you right-click a header; if yours doesn’t, open the file in the desktop app for exact sizes.

Common problems

  • The cells still look different sizes. You probably used the same number for width and height. See the square cells section above.
  • Only some columns changed. Check your selection before you open the menu. Use Select All for the whole sheet.
  • Text shows as #### after resizing. The column is too narrow for a number or date. Make it wider, or use a smaller font.
  • Text is cut off after you set row heights. Once you set a row height yourself, Excel stops growing the row for wrapped text or bigger fonts. Increase the Row Height, or use AutoFit Row Height if you don’t need equal heights.
  • Column Width or Row Height is greyed out. The sheet may be protected. Check Review > Unprotect Sheet.
  • A change spread to other sheets. The sheets are grouped. Right-click a tab and choose Ungroup Sheets.

Working on a Mac? The selection keys differ from Windows, so see how to select multiple cells in Excel for Mac.

Questions

Can I make every cell in a workbook the same size at once?

Yes, for widths: right-click a tab, choose Select All Sheets, and use Default Width or Column Width. Check each sheet afterward, then ungroup the sheets.

What size makes Excel cells square?

There is no single pair of numbers that works on every computer, because column width depends on the font. Use Page Layout view and give the width and height the same value in inches or centimeters.

Can I do this with VBA?

Yes. A short macro such as Cells.ColumnWidth = 10 and Cells.RowHeight = 20 sets every column and row on the active sheet. The same units apply: characters for width and points for height.

About the author

Matt Williams is the writer and editor behind TechInfoHome. He holds a degree in computer science and has more than 10 years of experience working in IT. More about TechInfoHome.