Chapter 25Using Custom Number Formats

IN THIS CHAPTER

  1. Getting an overview of custom number formatting
  2. Creating a custom number format
  3. Listing all custom number format codes
  4. Looking at examples of custom number formats

When you enter a number into a cell, you can display that number in a variety of different formats. Excel has quite a few built-in number formats, but sometimes none of them is exactly what you need.

This chapter describes how to create custom number formats and provides many examples that you can use as is or adapt to your needs.

About Number Formatting

By default, all cells use the General number format. This format is basically “what you type is what you get.” But if the cell isn't wide enough to show the entire number, the General format rounds numbers with decimals and uses scientific notation for large numbers. In many cases, the General number format works just fine, but most people prefer to specify a different number format for consistency.

The key thing to remember about number formatting is that it affects only how a value is displayed. The actual number remains intact, and any formulas that use a formatted number use the actual number.

Get Excel 2016 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.