Skip to content
SkillSopan
Lesson 2.412 minFree

Number Formatting

Keys you'll useCtrl1CtrlShift~

After this lesson you can

  • Apply currency, percentage and date formats correctly
  • Write custom formats for business reporting
  • Understand why formatting never changes the stored value

Why this matters

Formatting is a mask, not a change. The cell holds 0.4567; you apply Percentage and it displays 46%. Every formula still uses 0.4567. Miss that distinction and you'll spend an afternoon wondering why two cells showing 46% add up to 91% instead of 92% — and a finance team will reject your report over a one-rupee discrepancy.

How it works

The formats that matter at work

FormatUse for
NumberQuantities, counts
CurrencyA single standalone amount
AccountingAny column of money — symbol at the cell edge, decimals aligned, zero as -
PercentageRates, growth, attrition
Date / TimeAny date or time column
TextIDs with leading zeros, like 0012345
CustomAnything you define

Accounting versus Currency is a small thing people notice. Currency puts ₹640,000 with the symbol tight against the number. Accounting pushes the ₹ to the cell's left edge, aligns all the decimal points, and shows zero as a dash. In a column, Accounting looks right and Currency looks amateur.

Screenshot 2.4.1 from this lesson

Custom formats

Four sections separated by semicolons:

Formula
positive ; negative ; zero ; text

#,##0;[Red](#,##0);"-";@
   │      │            │  └── text shown as itself
   │      │            └───── zero shown as a dash
   │      └────────────────── negatives in red, in brackets
   └───────────────────────── 1234 becomes 1,234

The codes worth knowing:

CodeInputShows
#,##012345671,234,567
#,##0,64000006,400 (thousands)
#,##0,,"M"64000006M (millions)
0.0%0.08548.5%
#,##0;[Red](#,##0)−450red (450)
[h]:mm1.536:00 — hours past 24
"EMP-"000012EMP-0012
;;;anythingblank on screen
dd-mmm-yyyy4627712-Sep-2026

Each trailing comma divides the display by 1,000. That's the dashboard trick — #,##0,,"M" keeps a KPI tile readable while the cell still holds the full value.

Do it

ABCD
1NameCTCHikeVariance
2Anil Kumar6400000.08524000
3Meera Nair12500000.12−18000
4Rahul Shah8100000.0650
  1. Select column B. Home → Number Format → Accounting. Click Decrease Decimal twice.
  2. Select column C. Press Ctrl+Shift+5 for Percentage, then Increase Decimal once → 8.5%.
  3. Select column D. Press Ctrl+1 → Custom → type #,##0;[Red](#,##0);"-" → OK.
  4. Row 3 shows red (18,000). Row 4 shows -.
Screenshot 2.4.2 from this lesson

Prove formatting isn't rounding

  1. In F1 and F2 both type 2.567. Format both to 2 decimals — both display 2.57.
  2. In F3: =F1+F2. It displays 5.13, because the true total is 5.134.
  3. In G1 and G2: =ROUND(2.567,2). In G3: =G1+G2 → 5.14.

5.13 versus 5.14. Two cells. Scale that to a 400-row payroll register and finance sends it back.

Screenshot 2.4.3 from this lesson

The dashboard scale trick

  1. In H1 put 6400000. Press Ctrl+1 → Custom → #,##0,,"M" → it shows 6M.
  2. Click H1 — the formula bar still shows 6400000. The value is untouched.
Screenshot 2.4.4 from this lesson

The timesheet bug

  1. In J1 put 43 hours as a time value — enter 43:00. Format it h:mm → it shows 19:00.
  2. Change the format to [h]:mm → 43:00.
Screenshot 2.4.5 from this lesson

Shortcuts

ShortcutWhat it doesWhen to use itExample
Ctrl + 1Format Cells dialogCustom formats, and everything elseSelect the range first
Ctrl + Shift + ~General format — strips all formattingSeeing the real stored value behind a maskA date becomes its serial number
Ctrl + Shift + 5PercentageRate columnsAttrition, hike, margin
Ctrl + Alt + V then TPastes formats onlyApplying a house style to another rangeCopy a formatted cell first

Watch out

MistakeWhat you seeFix
Believing display rounding rounds the valueA column of displayed figures doesn't add to the displayed totalROUND() the values if exactness matters
h:mm on totals over 24 hours43 hours shows as 19:00[h]:mm
Typing ₹ into cells by handThe value becomes text; SUM breaksUse an Accounting format
Expecting % format to divide by 100You type 45 and get 4500%Type 45% or 0.45
Currency on a column of moneySymbols and decimals don't alignAccounting
Formatting as Text then entering numbersThey won't calculateText format is for IDs with leading zeros only
Dividing values to scale a dashboardEvery downstream formula is now out by a factor of a millionUse a number format, never change the data

Practice

Practice

Scenario

Format a raw compensation extract into a report you'd send to a CHRO.

Dataset: HR Employee Master

Download starter file
ABCDE
1NameCTCHikeEffectiveVariance
2Anil Kumar6400000.0854538324000
3Meera Nair12500000.1245748−18000
4Rahul Shah8100000.065453830
5Kabir Menon92000000.15545748−45000

Your task

  1. Format B as Accounting with no decimals, C as Percentage with 1 decimal, D as dd-mmm-yyyy.
  2. Format E with a custom code: positives with a comma separator, negatives in red brackets, zero as a dash.
  3. In G2, display CTC in millions using a custom format only — no formula. Confirm the formula bar still shows the full value.
  4. In H2, put =B2 and format it so the cell appears blank but the value still works. Test with =H2*2 in I2.
  5. In J2, put =ROUND(C2,2) and compare it with C2 formatted to 1 decimal. Explain the difference in one line.
  6. Display CTC in lakhs — 640000 as 6.4L. Try a custom format first, then explain why a formula is needed.
  7. Enter 43:00 in a cell and format it so it shows 43 hours, not 19.

What you should end up with

Step 2: 24,000 / red (18,000) / - · Step 3: 6M, formula bar shows 640000 · Step 6: no comma combination gives lakhs · Step 7: [h]:mm

Quiz

Question 1 of 3 · Multiple choice

A cell contains 0.4567 and is formatted as Percentage with 0 decimals, displaying 46%. What value does a formula referencing it use?

Reading is free. Sign in to save progress.