Microsoft Excel formatting is how you make a spreadsheet readable and useful: bold headers, number formats, cell borders, column widths and conditional highlighting. The quickest working set is to select your data, apply a number format and a cell style, then adjust column widths and add borders. Everything else builds on those four moves. The steps below are written for Excel on Windows and Mac desktop; the ribbon layout is nearly identical, though labels can differ slightly by version, device or region. Mobile Excel has fewer formatting options and is best for quick edits only.
What You'll Need
- Excel for Microsoft 365, Excel 2021 or Excel 2019 on Windows or Mac (older versions work but some ribbon labels differ).
- A spreadsheet with data in it, or a blank workbook to practise on.
- Basic familiarity with selecting cells and ranges.
Step-by-Step
- Select the range you want to format. Click the first cell, hold Shift and click the last, or drag across the cells. To format an entire column, click the column letter; for a row, click the row number. To format the whole sheet, click the square at the top-left corner where the row and column headers meet.
- Apply a number format. On the Home tab, in the Number group, use the dropdown that usually shows "General". Choose Currency, Accounting, Date, Percentage or Number. For finer control, click the small arrow in the bottom-right of the Number group to open Format Cells, then pick a category and set decimal places. Dates and times must be real Excel dates, not text, or number formats will not change how they look.
- Bold and size your headers. Select the header row, press Ctrl+B (Cmd+B on Mac) and set a larger font size from the font size box on the Home tab. Keep headers to one row so sorting and filtering work correctly later.
- Adjust column widths. Double-click the right edge of a column header to auto-fit the widest entry. To set a width for several columns at once, select them, then drag any selected column edge. For wrapped text, use Home > Wrap Text, then auto-fit again.
- Add borders and fills. Select the range, open the Borders dropdown on the Home tab and choose All Borders or Thick Box Border. Use the Fill Color paint bucket for header shading. Light grey fills and thin borders print better than dark colours.
- Align text. Use the alignment buttons on the Home tab: left-align text, right-align numbers, centre headers. Use Home > Wrap Text for long labels and Home > Orientation for rotated headers if needed.
- Apply a cell style. With the range selected, open Home > Cell Styles and pick a built-in style such as Heading 1, Total or Good/Bad/Neutral. This applies font, fill and border in one click and keeps the sheet consistent.
- Use conditional formatting for rules. Select the range, then Home > Conditional Formatting > Highlight Cells Rules or Top/Bottom Rules. For example, Highlight Cells Rules > Less Than to flag low values, or Data Bars to show relative size. Conditional formatting updates automatically when values change.
- Copy formatting to other cells. Select a formatted cell, click Home > Format Painter (the paintbrush icon), then drag over the cells you want to match. Double-click Format Painter to apply it to several separate ranges.
- Clear formatting when needed. Select the cells and use Home > Clear > Clear Formats. This removes fills, borders and number formats but leaves the values in place.
Common Mistakes
- Formatting entire columns instead of the used range. This bloats the file and can slow it down. Format only the cells you need.
- Typing numbers as text. A number stored as text will not respond to Currency or Percentage formats. Check alignment: text defaults to the left, numbers to the right.
- Overusing colour. Too many fills and fonts make a sheet harder to read. Pick one accent colour for headers and one for warnings.
- Merging cells for data tables. Merged cells break sorting, filtering and copy-paste. Use "Center Across Selection" in Format Cells > Alignment instead, or keep headers unmerged.
- Forgetting that conditional formatting overrides manual fills. If a cell will not change colour, check Home > Conditional Formatting > Manage Rules before repainting it.
Tips
- Use Ctrl+1 (Cmd+1 on Mac) to open Format Cells quickly; it is the fastest route to number, alignment, font, border and fill settings in one dialog.
- Set a print area and use Page Layout > Print Titles to repeat header rows on every printed page.
- Keep a consistent format across sheets by formatting one sheet, then right-clicking its tab and choosing Move or Copy > Create a copy.
- Use Table Styles (Insert > Table) for banded rows and automatic header formatting that expands as you add data.
- Save a formatted blank workbook as a template (.xltx) so new files start with your styles already applied.
Troubleshooting
- Number format will not apply. The cells are likely text. Select them, use Data > Text to Columns and click Finish, or re-enter the values without a leading apostrophe.
- Column will not auto-fit. Check for merged cells or wrapped text in that column; both block auto-fit. Unmerge or turn off Wrap Text, then double-click the column edge again.
- Borders do not show. Gridlines on screen are not borders. Apply a real border from the Borders dropdown, and check that the cell fill is not white over a white border.
- Conditional formatting will not go away. Open Home > Conditional Formatting > Clear Rules > Clear Rules from Selected Cells or Entire Sheet.
- Formatting looks different on another computer. Fonts may be missing on that machine. Stick to common fonts such as Calibri or Arial for files you share.
- File feels slow after formatting. Excess formatting across whole columns is a common cause. Select unused rows below your data, right-click and delete the rows, then save.
Frequently Asked Questions
How do I copy formatting without copying the values?
Use Home > Format Painter: select the formatted cell, click the paintbrush, then drag over the target cells. For repeated use, double-click the paintbrush and press Esc when finished.
Why does my date show as a number like 45123?
The cell is formatted as General or Number. Select it, press Ctrl+1, choose Date and pick a format. Excel stores dates as serial numbers, so the underlying value is correct.
Can I format cells based on their value automatically?
Yes. Select the range and use Home > Conditional Formatting > Highlight Cells Rules, then choose a rule such as Greater Than or Between and set the format.
What is the difference between Clear Formats and Delete?
Clear Formats removes styling but keeps the data. Delete removes the cell contents entirely. Use Home > Clear to choose which one you want.
Does formatting carry over when I paste data from another program?
Usually not cleanly. After pasting, use Home > Paste > Paste Special > Values to drop the source formatting, then apply your own number format and borders.
Can I format a whole workbook at once?
Not in one click. Select multiple sheet tabs by holding Ctrl (Cmd on Mac) while clicking them, then apply formatting; changes apply to all selected sheets.