In Excel: select the rows or columns, then use Home ▸ Format ▸ AutoFit Column Width, AutoFit Row Height, or set exact Width and Height values for matching sizes.
On this page7
Select the column letters or row numbers you want to size.
Double-click a header boundary for AutoFit.
Use Home ▸ Format ▸ Column Width or Row Height for exact matching sizes.
Turn on Wrap Text before AutoFit row height when cells contain multi-line text.
What this does
Excel cell size is controlled by column width and row height. AutoFit resizes a row or column to fit its largest visible content, while exact width and height settings make multiple rows or columns match. Cells themselves do not have independent sizes; the whole column or row changes. Before you run it on a workbook other people depend on, try it on a copy or a few rows first. Undo only reaches back through the current session, so a quick trial run is the cheapest way to see exactly what will change before the file is saved and shared. Treat “excel row height autofit” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected rows shows up while it is still harmless. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That turns a layout choice that keeps the sheet readable and sortable into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
To make columns A:D the same width, select A:D, open Home ▸ Format ▸ Column Width and enter 14. To fit the data instead, double-click the right edge of a selected column header or choose AutoFit Column Width. Sizing is a layout task, but it affects readability, printing and whether users trust the sheet. Consistent sizes also make templates feel intentional. When the result is not what you expected, undo straight away rather than repairing it by hand — undo restores the sheet exactly, while manual fixes tend to leave small inconsistencies behind that surface later.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Here is the takeaway for “excel row height autofit”: follow the steps at the top, check the result on the sheet itself, and keep undo in mind while you experiment. Done once deliberately, it becomes something you do from memory in Excel rather than something you search for again.
Common mistakes
- Trying to resize a single cell without changing the whole row or column.
- AutoFitting while important content is hidden by filters or merged cells.
- Using very wide columns instead of Wrap Text for long notes.
- Expecting printed output to match until page scaling and margins are checked.
Frequently asked questions
How do I make all cells the same size?
Select all, then set a common column width and row height from Home ▸ Format.
What is AutoFit?
AutoFit sizes rows or columns to the largest visible content.
Can one cell have a different width?
No. Width belongs to the entire column; height belongs to the entire row.
Other ways people ask this
This is also commonly searched as “excel autofit row height” and “how to autofit row height in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “excel autofit row height”, “how to autofit row height in excel” all point at the one operation explained on this page, which is why they all lead here.