Cell styles, Format Painter and clearing formats: practice exercises
Cell Styles, Title, Heading 1, Total, Good, Bad, Neutral, Format Painter, Clear Formats. 7 exercises on real-looking data, each checked as you go. The full lesson is part of Pro.
This lesson has a strip of Excel's Home tab buttons and the Format Cells dialog above a practice sheet: format the cells as you would in Excel, and each task is checked as you go.
Open the Cell styles, Format Painter and clearing formats lesson
How it works
Cell styles are ready-made sets of formats with names, such as Title, Heading 1, Total and Good. One click gives cells a font, colour and borders that match the rest of the workbook.
Format Painter copies the look of some cells onto others, without copying what's in them. Clear Formats takes all the formatting off, and leaves the data.
Cell styles: an example
A sales sheet has a title in A1, headings in row 3 and a total in the last row. Rather than picking a size, colour and border for each, use the Cell Styles gallery:
- A1: Title, large and dark blue.
- A3:E3: Heading 3, bold with a blue line underneath. Heading 1 and 2 are bigger, Heading 4 has no line.
- The total row: Total, bold with a line above and a double line below.
- Figures that need attention: Good (green), Bad (red) or Neutral (yellow).
A style is applied once and stays put. Change the numbers and the colours don't change with them: for colours that follow the values, use conditional formatting.
Normal puts a cell back to the plain style.
Windows: Home tab, Cell Styles, then click a style.
Mac: Home tab, Cell Styles (in a narrow window it's under Styles).
Format Painter
You've made one heading row look right and want the same on another. Select the formatted cells, click Format Painter (the paintbrush), and the pointer becomes a brush. Click or drag over the cells to paint, and they take the look (font, fill, borders, number format, alignment) but keep their own values.
- One click on the brush paints once, then it switches off.
- Double-click it to keep it on, and paint as many places as you like. Press Esc, or click the brush again, to stop.
- Copy one cell's look onto a whole column by dragging down the column with the brush.
Windows: Home tab, Clipboard group: Format Painter.
Mac: Home tab: the paintbrush, Format, on the left.
Clearing formats
Data pasted from an email or another workbook often brings odd colours, fonts and borders with it. Select it and choose Clear ▾, Clear Formats: every format goes, and the values stay. Merged cells are unmerged, and number formats go too, so a date shows as a number such as 46000 until you format it again.
The Clear ▾ list also has Clear All (values and formats) and Clear Contents (values only, like the Delete key).
Windows: Home tab, Editing group: Clear (the eraser), Clear Formats.
Mac: Home tab: Clear (the eraser), Formats. Or the Edit menu at the top of the screen, Clear, Formats.
What you'll practise
- Give the title in A1 the Title cell style, and the headings in A3:E3 the Heading 3 style.
- Marketing beat its target by the most: give its actual figure, C8, the Good style. IT missed by the most: give C4 the Bad style.
- Give the total row, A8:E8, the Total cell style.
- The April headings in A3:D3 are formatted, but the May ones in A9:D9 aren't. Copy the look across with Format Painter: select A3:D3, click Format Painter, then click A9.
- Give the other three site headings, rows 6, 10 and 14, the same look as A1:C1. Select A1:C1, double-click Format Painter so it stays on, click A6, A10 and A14, then press Esc to turn it off.
- The rows pasted in from another workbook, A6:E8, brought their own formatting with them. Remove all the formatting from A6:E8 without deleting the data.
- Copy the formatting of cell C4 to C5:C7 without changing their values.