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.
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. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “excel lock column width”. Start on a copy or a tiny sample, keep the affected columns visible, and compare the result with the tool above before you touch the real workbook. 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. The point is a layout choice that keeps the sheet readable and sortable, but the practical win is that someone else can open the file and understand what happened without asking you.
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. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. The short version of “excel lock column width”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
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 “how to lock column width in excel” and “how to lock a column width 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. “how to lock column width in excel”, “how to lock a column width in excel” all point at the one operation explained on this page, which is why they all lead here.