ADVERTISEMENT
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Office Learner
ADVERTISEMENT
  • Home
  • Browse by Category
    • Word
      • Word Basics
      • Word Data Entry
      • Word Formatting
      • Word Templates
      • Word Tips
    • Excel
      • Excel Basics
      • Excel Shortcuts
      • Excel Charts
      • Data Validation
      • Conditional Formatting
      • Data Analysis with Excel
      • Dynamic Arrays
      • Advanced Excel Topics
      • Developing Excel Related Tools
      • Essential Excel Books
      • Excel for Accountants
      • Excel for Finance
      • Excel Functions and Formulas
      • Excel Pivot Tables
      • Excel Power BI
      • Excel Power Query
      • Excel Templates
      • Excel Training & Courses
      • Macros and Excel VBA
    • PowerPoint
      • Animation
      • PowerPoint Basics
      • PowerPoint Templates
  • About
  • Office Books
  • Courses
No Result
View All Result
  • Home
  • Browse by Category
    • Word
      • Word Basics
      • Word Data Entry
      • Word Formatting
      • Word Templates
      • Word Tips
    • Excel
      • Excel Basics
      • Excel Shortcuts
      • Excel Charts
      • Data Validation
      • Conditional Formatting
      • Data Analysis with Excel
      • Dynamic Arrays
      • Advanced Excel Topics
      • Developing Excel Related Tools
      • Essential Excel Books
      • Excel for Accountants
      • Excel for Finance
      • Excel Functions and Formulas
      • Excel Pivot Tables
      • Excel Power BI
      • Excel Power Query
      • Excel Templates
      • Excel Training & Courses
      • Macros and Excel VBA
    • PowerPoint
      • Animation
      • PowerPoint Basics
      • PowerPoint Templates
  • About
  • Office Books
  • Courses
No Result
View All Result
Office Learner
No Result
View All Result
Home Excel

Excel Custom Number Formatting in 2026: Display Data Exactly the Way You Want

Tanjila Rashid by Tanjila Rashid
June 22, 2026
in Excel
0
Excel Custom Number Formatting in 2026: Display Data Exactly the Way You Want
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter

Excel Custom Number Formatting in 2026: Display Data Exactly the Way You Want

One of the most underappreciated skills in Excel is custom number formatting — the ability to control exactly how numbers, dates, currencies, and text appear in your spreadsheet, without changing the underlying data. A sales figure can appear as $1.2M. A date can look like Monday, 21 June 2026. A negative number can display in red with parentheses. All of this is possible through Excel's custom number format system. In 2026, Excel's Copilot assistant can even help you write custom format codes — but understanding the underlying syntax gives you far more control.

How Excel Number Formatting Works

When you type a number into a cell and apply a format, Excel stores the actual numeric value but displays it according to the format rules you define. This means your formulas always calculate with the true values, while the display is purely cosmetic. Custom number formats use a code language with up to four sections separated by semicolons, covering: positive numbers; negative numbers; zeros; and text.

Accessing the Custom Number Format Dialog

Select the cell or range you want to format.

Press Ctrl+1 to open the Format Cells dialog box (or right-click > Format Cells).

Go to the Number tab.

Scroll to the bottom of the Category list and click Custom.

In the Type box, type or paste your format code.

Watch the Preview to see how your number will look.

Click OK to apply.

The Building Blocks of Format Codes

Before diving into examples, here are the core symbols used in format codes:

0 — displays a digit, shows 0 if no digit present (e.g., 0.00 shows 5 as 5.00)

# — displays a digit, shows nothing if no digit present (e.g., #.## shows 5 as 5)

, — thousands separator (1234 becomes 1,234)

. — decimal separator

% — multiplies by 100 and shows percent sign

@ — text placeholder (used in the fourth section for text values)

[Red] / [Blue] / [Green] — applies colour to that section

"text" — inserts literal text in the format

Essential Custom Formats to Know

Thousands and Millions Abbreviation

The code #,##0,"K" displays 45000 as 45K. The trailing comma tells Excel to divide by 1,000. Adding two commas (#,##0,,"M") divides by 1,000,000, so 4500000 displays as 4.5M with the code #,##0.0,,"M". This is widely used in financial dashboards and executive reports.

Currency with Colour Coding

To show positive values in black and negative values in red with parentheses, use: $#,##0.00;[Red]($#,##0.00). This is the standard accounting display used in financial reports and matches the conventions of most professional spreadsheets.

Show Zeros as Dashes

Many financial models replace zero values with a dash for readability. Use: #,##0.00;(#,##0.00);-. The third section (after the second semicolon) controls how zeros are displayed.

Percentage with Controlled Decimals

Use 0.0% for one decimal place, 0.00% for two, or simply 0% for whole numbers. Custom percentage formats give you precise control over the display without needing to recalculate the underlying value.

Phone Numbers

For US-style phone numbers stored as plain numbers, the format 000-000-0000 displays 2025551234 as 202-555-1234. The leading zeros in the format code ensure all digits are shown even when the number starts with zero.

ADVERTISEMENT

Advanced Date Formats

Excel stores dates as serial numbers and displays them based on the format code. Key date symbols include:

d / dd — day number without/with leading zero

ddd / dddd — abbreviated/full day name (Mon / Monday)

m / mm — month number without/with leading zero

mmm / mmmm — abbreviated/full month name (Jan / January)

yy / yyyy — two/four-digit year (26 / 2026)

Combining these, the code dddd, d mmmm yyyy displays a date as Monday, 21 June 2026. The format d-mmm displays it as 21-Jun. You can include literal text by wrapping it in quotes within the code.

Conditional Formatting via Number Format

Custom number formats can include up to two conditions using square brackets. The format [>=1000000]#,##0.0,,"M";[>=1000]#,##0.0,"K";#,##0 displays large numbers in millions, smaller ones in thousands, and the rest as-is — all from a single format code. Condition operators are >, <, >=, <=, =, <>. The condition must be in the first or second section of the four-section format code.

Using Copilot to Write Format Codes in 2026

In Excel 2026 with Copilot enabled, you can ask Copilot to generate a custom number format for you. Open the Copilot pane and type a request such as: Create a custom number format that shows positive numbers in green with a dollar sign, negatives in red with parentheses, and zeros as a dash. Copilot responds with the format code and an explanation. Copy it and paste it into the Custom format box in the Format Cells dialog.

Sharing Custom Formats Across the Workbook

Custom formats you create in one cell are available throughout the entire workbook from the Custom category in Format Cells. However, they do not automatically transfer to new workbooks. To reuse your custom formats across files, save the workbook as an Excel template (.xltx), which will carry the formats over to any new file created from that template.

Common Mistakes

Using number formatting to actually change the value — formatting only affects display. To round a value, use the ROUND function.

Mixing up the semicolon sections — the order is always: positive; negative; zero; text.

Forgetting that m after h is treated as minutes, not months — Excel reads m as minutes when it follows hours (h) in a time format code.

Conclusion

Custom number formatting is one of the most powerful yet least-taught skills in Excel. Once you understand the format code syntax, you can make your spreadsheets look exactly the way you want without touching the underlying data — and without relying on calculated helper columns to reformat values. In 2026, with Copilot available to help generate codes on demand, there has never been a better time to master this skill. Start with the examples in this guide, experiment in a test workbook, and you will quickly find yourself formatting data in ways that impress your colleagues and make your reports far more readable.

Tags: custom format code exceldisplay numbers excelexcel custom number formatexcel format cellsexcel number formatting 2026
ADVERTISEMENT
Previous Post

Word SmartArt in 2026: Create Professional Org Charts and Process Diagrams Without Design Skills

Next Post

PowerPoint Presenter View in 2026: Present Like a Pro with Dual-Screen Mode and AI Notes

Tanjila Rashid

Tanjila Rashid

Next Post
PowerPoint Presenter View in 2026: Present Like a Pro with Dual-Screen Mode and AI Notes

PowerPoint Presenter View in 2026: Present Like a Pro with Dual-Screen Mode and AI Notes

ADVERTISEMENT
  • Trending
  • Comments
  • Latest
The Evolution of Microsoft Word: A Brief History

The Evolution of Microsoft Word: A Brief History

May 27, 2026

How to Merge and Center Selected Cells in Excel (4 Ways)

May 27, 2026
How to Use Excel SUMIF to Sum Values Greater Than 0

How to Use Excel SUMIF to Sum Values Greater Than 0

May 27, 2026
Copilot in Excel: Analyze Data with Natural Language

SharePoint Copilot: Find & Summarise Docs Instantly

May 27, 2026
Spreadsheet Layout

What is spreadsheet? and how it works!

0
Spreadsheet Layout

Spreadsheet Layout

0
Spreadsheet Layout

IF function of Google Sheets – usage and formula examples

0

5 Google Sheets tricks that you always need!

0
PowerPoint Presenter View in 2026: Present Like a Pro with Dual-Screen Mode and AI Notes

PowerPoint Presenter View in 2026: Present Like a Pro with Dual-Screen Mode and AI Notes

June 22, 2026
Excel Custom Number Formatting in 2026: Display Data Exactly the Way You Want

Excel Custom Number Formatting in 2026: Display Data Exactly the Way You Want

June 22, 2026
Word SmartArt in 2026: Create Professional Org Charts and Process Diagrams Without Design Skills

Word SmartArt in 2026: Create Professional Org Charts and Process Diagrams Without Design Skills

June 22, 2026
Outlook Out-of-Office Mastery in 2026: Smart Auto-Reply Setup with Copilot

Outlook Out-of-Office Mastery in 2026: Smart Auto-Reply Setup with Copilot

June 22, 2026

Recent News

PowerPoint Presenter View in 2026: Present Like a Pro with Dual-Screen Mode and AI Notes

PowerPoint Presenter View in 2026: Present Like a Pro with Dual-Screen Mode and AI Notes

June 22, 2026
Excel Custom Number Formatting in 2026: Display Data Exactly the Way You Want

Excel Custom Number Formatting in 2026: Display Data Exactly the Way You Want

June 22, 2026
Word SmartArt in 2026: Create Professional Org Charts and Process Diagrams Without Design Skills

Word SmartArt in 2026: Create Professional Org Charts and Process Diagrams Without Design Skills

June 22, 2026
Outlook Out-of-Office Mastery in 2026: Smart Auto-Reply Setup with Copilot

Outlook Out-of-Office Mastery in 2026: Smart Auto-Reply Setup with Copilot

June 22, 2026
Office Learner

OfficeLearner is a place where you can learn PowerPoint, Excel, Word Data Analysis, and other Office related programs. We provide tips, how to guide and also provide Excel solutions to your business problems

Follow Us

DMCA.com Protection Status

Browse by Category

  • Clipchamp
  • Excel
  • Google Sheets
  • Loop
  • Microsoft 365
  • Microsoft Copilot
  • Microsoft Designer
  • Microsoft Forms
  • Microsoft Loop
  • Microsoft Sway
  • Microsoft Teams
  • Microsoft Viva
  • Microsoft Whiteboard
  • OneDrive
  • OneNote
  • Outlook
  • Planner
  • Power Automate
  • Power BI
  • PowerPoint
  • SharePoint
  • Teams
  • Word

Recent News

PowerPoint Presenter View in 2026: Present Like a Pro with Dual-Screen Mode and AI Notes

PowerPoint Presenter View in 2026: Present Like a Pro with Dual-Screen Mode and AI Notes

June 22, 2026
Excel Custom Number Formatting in 2026: Display Data Exactly the Way You Want

Excel Custom Number Formatting in 2026: Display Data Exactly the Way You Want

June 22, 2026
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2022 OfficeLearner - Free Excel, PowerPoint & Word Tutorial & Online Courses

No Result
View All Result

© 2022 OfficeLearner - Free Excel, PowerPoint & Word Tutorial & Online Courses

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.