How to Format Cells in Excel: A Practical Guide
Cell formatting controls how worksheet data looks and how readers interpret it. It can display the same stored number as a decimal, percentage, currency amount, date, or time without changing the value Excel uses in calculations.
Good formatting does more than decorate a sheet. It distinguishes labels from inputs, makes units clear, guides attention to totals, and keeps repeated sections consistent. The safest approach is to decide what the data means first, then choose a format that communicates that meaning.
Menu paths below use current desktop Excel for Windows. Excel for Mac and Excel for the web provide the same core formatting categories, although some dialog boxes, shortcuts, and advanced options differ.
Formatting changes the display, not the stored value
Suppose cell B2 contains 0.125. Excel can display that value in several ways:
|
| The same underlying value can appear differently in Excel depending on the applied number format, such as General, Percentage, Currency, or Fraction. |
| Number format | Possible display | Stored value |
|---|---|---|
| General | 0.125 |
0.125 |
| Percentage | 12.5% |
0.125 |
| Currency | $0.13 |
0.125 |
| Fraction | 1/8 |
0.125 |
The formula bar shows the underlying value, while the cell shows the formatted result. A currency display does not turn a number into different data, and reducing visible decimal places does not remove the hidden precision used in calculations.
Formatting is not data conversion. If a number is stored as text, applying a Number format may not turn it into a numeric value. Likewise, changing a date’s appearance does not repair text that Excel never recognized as a date.
Open the right formatting controls
The Home tab contains the commands used most often:
- Font controls typeface, size, bold, italic, font color, fill color, and borders.
- Alignment controls horizontal and vertical position, wrapping, orientation, indentation, and merging.
- Number controls number categories, decimal places, separators, currency, and percentage display.
- Styles contains Cell Styles, Conditional Formatting, and table-formatting options.
For the complete set of options, select the cells and press Ctrl+1 in Excel for Windows. On Mac, use Command+1. You can also right-click the selection and choose Format Cells.
The desktop Format Cells dialog organizes settings into Number, Alignment, Font, Border, Fill, and Protection tabs. You can change several categories before selecting OK.
Match the number format to the meaning
Choose number formats based on what the values represent, not merely how many digits you want to see.
| Format | Use it for | What to watch |
|---|---|---|
| General | Ordinary values that need no specific presentation | Large numbers may display in scientific notation, and decimals may appear rounded in narrow columns. |
| Number | Counts, measurements, and calculated values | Set decimal places and thousands separators consistently. |
| Currency | Individual monetary amounts | Choose the correct currency symbol and negative-number style. |
| Accounting | Financial columns that need aligned symbols and decimal points | Its spacing differs from Currency even when the symbol is the same. |
| Percentage | Ratios such as 0.125 displayed as 12.5% |
Applying it to 12.5 displays 1250%. |
| Date or Time | Recognized Excel date and time values | Display can depend on the chosen pattern and regional settings. |
| Text | Identifiers that should not be calculated, such as some product codes | Apply Text before entering data when leading zeros must be preserved as data. |
| Custom | A display pattern not covered by a built-in category | Custom codes affect appearance, not the underlying value. |
Microsoft’s number-format reference explains the built-in categories and their behavior.
Format percentages from the correct input
Percentage format multiplies the displayed value by 100 and adds a percent symbol. Enter 0.075 when the intended value is 7.5%, then apply Percentage. If you type 7.5 first and apply Percentage afterward, Excel displays 750% because the stored value is already 7.5.
|
| To display 7.5% correctly in Excel, enter 0.075 first and then apply Percentage format. If you enter 7.5 and apply Percentage, Excel displays 750.0%. |
Use decimals that match the decision
Showing two decimal places can make money columns consistent, but it does not round the stored values. If calculations must use rounded values, apply an appropriate formula such as ROUND; do not rely on the display alone.
|
| Formatting a number to two decimal places changes only how it appears. Use the ROUND function when calculations need to use the rounded value itself. |
Format a small report in a reliable order
Formatting is easier to maintain when you work from meaning to emphasis:
- Select the date column and apply a consistent Date format.
- Select amount columns and apply Currency or Accounting with the required decimal places.
- Select rate columns and apply Percentage only after confirming that the stored values are ratios.
- Format the header row with a clear font treatment and sufficient contrast.
- Use borders or fill to separate sections, not to decorate every cell.
- Adjust column widths and enable Wrap Text where labels need more room.
- Review the sheet at normal zoom and check that totals, inputs, and labels are easy to distinguish.
This order prevents a common mistake: making the sheet visually polished before confirming that dates, percentages, and amounts have the correct meaning.
Control alignment without damaging the layout
Text normally aligns to the left and numbers to the right under the General format. Change alignment when it improves scanning, not merely to make every column look centered.
- Wrap Text displays long content on multiple lines within the same cell. Excel may adjust the row height, or you can AutoFit it.
- Horizontal and vertical alignment position content within the cell.
- Indent can create a visual hierarchy without inserting spaces into the cell value.
- Orientation rotates text when narrow headers genuinely need it.
|
| Wrap Text keeps worksheet cells separate while displaying long content on multiple lines. Merge & Center combines adjacent cells into one larger cell. |
Use Merge & Center cautiously
Merging combines adjacent cells into one larger cell. When the selected cells contain data, Excel retains only the content from the upper-left cell in left-to-right worksheets and discards the other contents. Merged cells can also complicate selection, filtering, and later layout changes.
Before merging, move all content you need to keep into the upper-left cell. For structured data, prefer a separate title row or another layout that leaves the data grid unmerged.
Microsoft’s merge-and-unmerge guide explains how Excel retains content.
Create visual hierarchy with restraint
Fonts, fills, and borders should reveal structure. A simple system is usually enough:
- Use a larger or bold font for the sheet title and section headings.
- Use one consistent header treatment for comparable tables.
- Reserve a light fill for input cells or another clearly defined category.
- Use borders to mark table edges, totals, or section breaks rather than outlining every cell heavily.
- Keep body text readable and avoid excessive font changes, italics, underlining, or all-capital labels.
Color should reinforce meaning, not carry it alone. Pair a color cue with a label, icon, border, or text treatment, and use enough contrast between text and its background. Microsoft’s Excel accessibility guidance recommends checking color contrast and using familiar, readable fonts.
Reuse formatting instead of recreating it
Copy a nearby format with Format Painter
Select the correctly formatted cell, choose Home > Format Painter, and select the destination. Double-click Format Painter when you need to apply the format to several separate areas, then press Esc when finished. Microsoft’s Format Painter guide documents the same workflow for current Excel versions.
|
| Format Painter copies formatting such as fonts, fills, borders, alignment, and number formats without replacing the destination values. |
Format Painter copies the source formatting, including elements such as number format, font, fill, alignment, and borders. Check the destination afterward so an unwanted number format does not travel with the visible design.
Use Cell Styles for repeated roles
A Cell Style is a named set of formatting characteristics. Built-in styles can mark headings, input cells, output cells, warnings, and totals. Custom styles help repeated sections stay consistent, and theme-based styles respond when the workbook theme changes.
Use Home > Cell Styles to apply a style. Microsoft’s Cell Styles guide covers built-in, custom, and modified styles.
Use custom number formats for display rules
A custom number format changes presentation without changing the stored value. Open Format Cells > Number > Custom, start with a built-in code, and adjust it carefully.
|
| A custom number format such as 000000 can display a numeric value with leading zeros while keeping the underlying value numeric. |
| Custom code | Display purpose |
|---|---|
0.00 |
Always show two decimal places |
#,##0 |
Show whole numbers with a thousands separator |
000000 |
Display a numeric value with six digits, adding leading zeros when needed |
dd-mmm-yyyy |
Display a recognized date as 05-Feb-2026 |
Separators, currency symbols, and available formats can vary with regional settings. Use Microsoft’s custom number-format guidelines when the code needs conditions, colors, text, or separate positive and negative sections.
A custom format such as 000000 adds visible leading zeros but leaves the value numeric. Use Text when the zeros are part of an identifier that must remain text, especially for import, export, or exact matching.
Remove formatting without deleting the data
Select the cells, then use Home > Clear > Clear Formats to remove formatting while keeping values and formulas. This clears number formats, borders, fills, and other applied formatting from the selection.
|
| Excel’s Clear commands remove different things. Clear Contents removes values while keeping formatting, Clear Formats removes formatting while keeping values, and Clear All removes both. |
| Action | Content | Formatting |
|---|---|---|
Press Delete |
Cleared | Kept |
| Clear Contents | Cleared | Kept |
| Clear Formats | Kept | Cleared |
| Clear All | Cleared | Cleared |
Microsoft’s clear-cells guide explains how these commands also handle comments, notes, and hyperlinks.
Understand the Protection tab
The Locked and Hidden options on the Protection tab do not protect a cell by themselves. They take effect only after worksheet protection is enabled.
For a sheet with editable input cells, the usual sequence is:
- Select the cells users should be allowed to edit.
- Open Format Cells > Protection and clear Locked.
- Select Review > Protect Sheet.
- Choose the actions users may perform and, if needed, set a password.
Worksheet protection helps prevent changes to locked cells; Microsoft does not describe it as a security feature for confidential data. Use file-level access controls and appropriate encryption when confidentiality matters.
See Microsoft’s worksheet-protection guide for the current Windows and web options.
Fix common cell-formatting problems
| Problem | Likely cause and fix |
|---|---|
| A percentage is 100 times too large | The entered value was probably already expressed as a whole percentage. Enter the ratio or divide the existing value by 100. |
The cell shows ##### |
The column is usually too narrow. Widen or AutoFit it; if the cell contains a date or time, also check for a negative result that Excel cannot display in the active date system. Microsoft’s error guide covers both causes. |
| A number will not calculate | It may be stored as text. Convert the data instead of applying another visual format. |
| Pasting changes the destination design | Use a suitable Paste option, such as Values, when the source formatting should not replace the destination formatting. |
| Locked cells are still editable | The sheet has not been protected. Lock settings take effect only after Protect Sheet is enabled. |
Excel cell-formatting questions
Does formatting change a formula result?
Formatting changes how the result appears, not the stored value used by other calculations. A displayed value may look rounded even while Excel calculates with additional precision.
What is the fastest way to open Format Cells?
Select the cells and press Ctrl+1 on Windows or Command+1 on Mac. You can also right-click the selection and choose Format Cells.
What is the difference between Currency and Accounting?
Both display monetary values. Accounting format aligns currency symbols and decimal points within a column and normally displays zeros as dashes, while Currency places the symbol next to each number and offers selectable negative-number styles.
Should I use Text format for every ID number?
Use Text when the identifier is not used in arithmetic and its exact characters matter, such as leading zeros. Numeric IDs can remain numeric when their displayed padding is purely visual, but review how the data will be exported or matched elsewhere.
Make the format explain the data
Start with the value’s meaning, choose the correct number category, and then add only enough visual structure to guide the reader. Reuse styles for consistency, keep color accessible, and separate formatting cleanup from content deletion. The best-formatted worksheet is not the busiest one; it is the one readers can interpret without guessing.
Join the conversation