Fit columns and copy formatting with Format Painter
Make it readable8 min
Builds on Make headers and totals stand out.
A sales assistant in Toronto pastes the monthly export into the team's report. Some amounts show as #####, the customer names are cut off, and the new table under the old one needs the same look.
How it works
A column's width is counted in characters of the standard font, and every column of a new sheet starts at 8.43. When a number or a date doesn't fit, Excel shows ##### in its place. Text runs on into the next cell while that cell is empty, and it's cut off as soon as the next cell holds something. Either way the value is all there; only the column is too narrow to show it.
AutoFit sets a column to the width of its longest entry. Double-click the line on the right of the column's letter, or choose Home > Format > AutoFit Column Width. Select several columns first to fit them all at once. AutoFit measures what the column holds at that moment, so a longer entry later needs another fit.
Format Painter copies a look and leaves the contents behind. It takes everything: font, fill, borders, alignment and the number format. Select the cell or range that has the look, click Format Painter (the paintbrush on the Home tab), then select where the look should go. To paint several places, double-click the paintbrush, and press Esc when you're done.
Example
In a price list, column B holds amounts such as $12,480.00 and shows #####. Double-click the line between the B and C column letters. Column B widens to fit $12,480.00, and the amounts appear.
Common mistakes
- Double-clicking the line on the left of a column's letter fits the column before it. The line you want is on the right of the letter.
- A long title in row 1 makes AutoFit fit the title. Select just the data cells and choose Home > Format > AutoFit Column Width, which fits the selected cells only.
- Format Painter copies the number format too. Paint from a percentage cell onto amounts, and 1,250 shows as 125000%.
- One click paints once. For several separate places, double-click the paintbrush.
In short
#####means the column is too narrow for a number or a date. The value is still in the cell.- Double-click the right edge of a column's letter to AutoFit it.
- Format Painter copies the whole look, number format included. Double-click it to paint more than once.
Practice
4 exercises · free, no account needed