Automatic Sizing of Spreadsheet Cells

BY STANLEY ZAROWIN

Q. I know that I can adjust a column width in Excel by dragging the right side of the column heading to the desired size. I know, too, that I can automatically adjust the whole column to fit the widest cell by double-clicking on the boundary on the right side of the heading. But how can I do that for the whole worksheet?

A. You apparently don’t know about the Select All button. That’s not surprising, since Microsoft doesn’t clearly label it. The Select All button is the gray box to the left of the A column and right above row 1. When you click on it, you highlight the entire workbook.

Now you can automatically size all the cells—either by width or height. If you want to fit width, go to Format, Column, and click on AutoFit Selection; if you want to fit height, click on Row and then AutoFit Selection. If you want to AutoFit only selected rows or columns, hold down the Ctrl key while you highlight those rows or columns.

Select All button. Hold down the Ctrl key and highlight any rows and/or columns.

If you use the AutoFit Selection method, the width is based on the width of the cell you have selected. If you use the double-click method, the width is based on the widest item in the column, not what you have selected.

SPONSORED REPORT

Get your clients ready for tax season

These year-end tax planning strategies address recent tax law changes enacted to help taxpayers deal with the pandemic, such as tax credits for sick leave and family leave and new rules for retirement plan distributions, as well as techniques for putting your clients in the best possible tax position.

RESOURCES

Keeping you informed and prepared amid the coronavirus crisis

We’re gathering the latest news stories along with relevant columns, tips, podcasts, and videos on this page, along with curated items from our archives to help with uncertainty and disruption.