Skip to content

Lesson 6 of 92 · Free Excel Course

Excel

How to Format Cells in Excel: Numbers, Borders, Colors and Alignment

Format cells in Excel the beginner way: currency, percentages and dates, Ctrl+1, fonts, borders, wrap text, Format Painter and cell styles. Free practice file.

A spreadsheet full of plain numbers works, but it is hard to read. Is 1200 dollars or a count of items? Is 0.65 a fraction or 65%? Is 46082 a date? Formatting answers those questions at a glance. In this lesson you will take a bare budget and make it readable: money as money, percentages as percentages, dates as dates, then add bold headers, borders, colors and a centered title. If you have not typed any data yet, do entering data and AutoFill first.

Formatting changes the look, not the value

This is the one idea to hold on to. When you format a cell, Excel changes how the number is shown, never what is stored. A cell holding 1200 still holds 1200 after you make it say $1,200.00, and formulas like =SUM(B2:B6) still add the real number. Click any formatted cell and look at the formula bar: it shows the stored value.

Every new cell starts in the General format, which shows numbers more or less the way you typed them. Here is a small budget before any formatting:

D246082
ABCD
1ItemAmountShareDue
2Rent12000.64838578946082
3Groceries450.50.24341483246086
4Utilities135.250.07307848246093
5Phone650.03512089746096
6Gym0046101
7Total1850.751
Before: everything is in General format. The dates show as serial numbers and the shares as long decimals.

And the same cells after formatting. Not one value changed:

D23/1/2026
ABCD
1ItemAmountShareDue
2Rent$1,200.0064.8%Mar 1, 2026
3Groceries$450.5024.3%Mar 5, 2026
4Utilities$135.257.3%Mar 12, 2026
5Phone$65.003.5%Mar 15, 2026
6Gym$0.000.0%Mar 20, 2026
7Total$1,850.75100.0%
After: Currency in B, Percentage with one decimal in C, a month-day-year date in D. The formula bar still shows the real date.

Number formats: currency, accounting, percentage and date

The quickest way to pick a number format is the Number Format drop-down on the Home tab, in the Number group. It usually says "General".

  1. Select the cells you want to change, for example B2:B7.
  2. On the Home tab, open the Number Format drop-down.
  3. Pick Currency, Accounting, Percentage, Short Date or Long Date.

Next to the drop-down are one-click buttons: the $ button (Accounting), the % button (Percent Style), the comma button (thousands separator) and two buttons to add or remove decimal places.

Currency vs accounting. Both show a money symbol and two decimals. The difference is where things line up:

  • Currency puts the $ right against the first digit and shows negatives with a minus sign. Shortcut: Ctrl+Shift+$.
  • Accounting lines the $ signs up at the left edge of the column, lines up the decimal points, shows zero as a dash and wraps negatives in parentheses. This is the $ button on the ribbon.
ABC
1CurrencyAccounting
2Rent$1,200.00$ 1,200.00
3Gym$0.00$ -
4Refund-$45.50$ (45.50)
Same three numbers, two formats. Accounting suits financial reports; Currency suits prices and invoices.

Percentage. This format multiplies the stored value by 100 and adds a % sign. So 0.08 shows as 8%, but a cell that already holds 8 shows as 800%. Type the decimal (0.08), or format empty cells as Percentage first and then type 8. Shortcut: Ctrl+Shift+%. The math side (percent of a total, percentage change) is in Percentages.

Date. Excel stores dates as serial numbers (March 1, 2026 is 46082). The date formats just display that number as a date. Short Date gives 3/1/2026; Long Date gives the day and month spelled out. Shortcut: Ctrl+Shift+#. There is much more on this in dates and times.

The Format Cells dialog (Ctrl+1)

The ribbon covers the common choices. For everything else there is the Format Cells dialog box. Open it by selecting cells and pressing Ctrl+1 (on a Mac, Command+1), or by right-clicking the selection and choosing Format Cells.

The dialog has tabs across the top:

  • Number: every number format, including how many decimals, which currency symbol and how negative numbers look.
  • Alignment: left, center, right, top, middle, bottom, wrap text, text angle and Center Across Selection.
  • Font: typeface, size, color, bold, italic, underline, strikethrough, superscript and subscript.
  • Border: line style, color and which edges get a line.
  • Fill: background color and patterns.
  • Protection: locking cells, which only matters once a sheet is protected.

To format the Share column with exactly one decimal:

  1. Select C2:C7 and press Ctrl+1.
  2. On the Number tab, click Percentage in the Category list.
  3. Set Decimal places to 1 and click OK.

In Excel for the web, Ctrl+1 opens a simpler Number Format dialog for number settings; fonts, borders and fill are on the Home tab instead.

Fonts, fill color and borders

All three live on the Home tab, in the Font group:

  1. Select the header row, A1:D1.
  2. Click Bold (or press Ctrl+B). Change the size in the size box if you like.
  3. Click the arrow next to Fill Color (the paint bucket) and choose a light color.
  4. Select A1:D7, click the arrow next to the Borders button and choose All Borders.
  5. Select the Total row and choose Top and Double Bottom Border from the same menu, the classic "this is the total" look.

Font Color (the letter A with a colored bar) changes the text color. Keep it simple: one font, one header color, and dark text on a light background is easier to read than bright text on a dark one.

Alignment and wrap text

By default text sits on the left of a cell and numbers on the right. The Alignment group on the Home tab lets you change that with the left, center and right buttons, plus top, middle and bottom for vertical position. Center the column headers above number columns so they line up with the figures below.

When text is too long for its column, it spills into the next cell, or gets cut off if that cell is full. Wrap Text keeps it inside the cell by breaking it onto more lines and making the row taller:

  1. Select the cell.
  2. On the Home tab, click Wrap Text.

You can also widen the column instead; rows and columns covers that.

Merge & Center vs Center Across Selection

To put a title like "March Budget" centered over the whole table, many people select A1:D1 and click Merge & Center. It works, but it turns four cells into one, and merged cells cause trouble later: you cannot sort or select columns cleanly through them, and if the other cells had data, Excel keeps only the upper-left value and deletes the rest. The Merge & Center arrow also has Merge Across, Merge Cells and Unmerge Cells.

A safer way that looks the same:

  1. Type the title in A1 and select A1:D1.
  2. Press Ctrl+1 and open the Alignment tab.
  3. Set Horizontal to Center Across Selection.
  4. Click OK.

The title is centered across all four columns, but each cell stays its own cell. If your version of Excel for the web does not offer this option, set it once in the desktop app; the formatting stays when you open the file in the browser.

Format Painter: copy a look in two clicks

Once one cell looks right, Format Painter copies its whole look (number format, font, fill, borders, alignment) to other cells, without touching their values:

  1. Click the cell that already looks right.
  2. On the Home tab, click Format Painter (the paintbrush). The pointer gets a brush.
  3. Click or drag over the cells you want to match.

To paint several separate areas, double-click Format Painter so it stays on, paint each area, then press Esc to turn it off. It works the same on Mac and in Excel for the web.

Cell styles

Cell styles are ready-made bundles of formatting with names like Good, Bad, Neutral, Heading 1, Total and Currency. Select cells, go to Home > Cell Styles and click one. They are a quick way to keep headers and totals consistent across sheets. To make your own, choose New Cell Style at the bottom of the gallery. To take a style off, pick Normal.

Clearing formats

If a cell's look has gone wrong, or you pasted in formatting you do not want, wipe it:

  1. Select the cells.
  2. On the Home tab, in the Editing group, click Clear (the eraser).
  3. Choose Clear Formats.

The values stay; only the formatting goes back to the General format and the default font. Be careful not to pick Clear All, which deletes the contents too. A number that was showing as a date will turn back into its serial number, which is normal.

Mac and Excel for the web differences

TaskWindowsMacExcel for the web
Format CellsCtrl+1Command+1Ctrl+1 opens Number Format
Currency shortcutCtrl+Shift+$Ctrl+Shift+$Ctrl+Shift+4
Percent shortcutCtrl+Shift+%Ctrl+Shift+%Ctrl+Shift+5
Currency symbolAny, in Format CellsAny, in Format CellsFollows regional settings
Format Painter, Clear FormatsHome tabHome tabHome tab

Try it yourself

Download the practice workbook and open the Practice sheet. It holds an unformatted March budget.

  1. Select B4:B9 and apply Accounting. Notice the Gym row shows a dash.
  2. Change it to Currency with Ctrl+Shift+$ and compare.
  3. Select C4:C9, press Ctrl+1 and set Percentage with 1 decimal place.
  4. Select D4:D8 and choose Long Date, or a custom date like Mar 1, 2026.
  5. Make row 3 bold with a light fill, and give A3:D9 All Borders.
  6. Select A1:D1 and use Center Across Selection for the title.
  7. Use Format Painter to copy the header look onto the Total label in A9.
  8. Finally, select one formatted cell and use Clear Formats to see the raw value come back, then press Ctrl+Z.

The Answers sheet shows the number formats applied.

Common mistakes

  • Typing the dollar sign yourself everywhere. Type plain numbers and let the format add the symbol. It is faster and keeps the cells as numbers.
  • 800% instead of 8%. The cell held 8, not 0.08. Retype as a decimal.
  • Thinking rounding changed the math. Showing 64.8% does not round the stored value; totals still use the full number. Use a rounding formula if you need the value itself rounded.
  • Merging cells inside a data table. It breaks sorting and selecting. Use Center Across Selection for titles.
  • Seeing ##### and panicking. The column is just too narrow. Widen it.
  • Using Clear All when you meant Clear Formats. Clear All empties the cells. Press Ctrl+Z straight away if you do it.

Formatting is a habit you will use on every sheet. Keep the Excel keyboard shortcuts cheat sheet handy for Ctrl+1 and the number-format keys. Later in the course, Conditional formatting will color cells automatically based on their values. Next, learn to resize, insert and hide rows and columns.

Frequently asked questions

What is the difference between Currency and Accounting format?

Both show money with a symbol and two decimals. Currency puts the $ right next to the number. Accounting lines the $ signs and decimal points up down the column, shows zero as a dash and puts negative numbers in parentheses.

What is the shortcut to open Format Cells?

Press Ctrl+1 on Windows or Command+1 on a Mac. In Excel for the web, Ctrl+1 opens the Number Format dialog.

Why does my cell show ##### after formatting?

The column is too narrow for the formatted number. Double-click the right edge of the column letter to widen it to fit. More on this in rows and columns.

Why did 8 turn into 800% when I clicked the percent button?

Percentage format multiplies the stored value by 100 for display. A cell holding 8 means 8 whole units, so it shows 800%. Type 0.08 instead, or apply the Percentage format to empty cells first and then type 8.

How do I center a title across several columns without merging?

Select the title cell and the cells beside it, press Ctrl+1, open the Alignment tab, set Horizontal to Center Across Selection and click OK. The text looks centered but every cell stays separate.

How do I remove all formatting from a cell?

Select the cells, then go to Home > Clear (the eraser in the Editing group) and choose Clear Formats. The values stay; only the look is reset.