FORMATNUMBER
Attach a number format to a numeric value for display in an entity or worksheet.
Syntax
=FORMATNUMBER(value, [number_format])Worked example
In a supported preview build, use a cell with General formatting. Display the proportion as a percentage while keeping the underlying numeric value for calculations.
=FORMATNUMBER(0.125,"0.0%")Result 12.5%
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceFORMATNUMBER (New) or TEXT Functions to Add Number Format in Formulas? Excel Magic Trick 1938
Practice FORMATNUMBER
In a supported preview build, use a cell with General formatting. Display the proportion as a percentage while keeping the underlying numeric value for calculations.
| A | B | |
|---|---|---|
| 1 | Argument | Input |
| 2 | Value | 0.125 |
| 3 | Number format | 0.0% |
Show example formula
=FORMATNUMBER(B2,B3) Lesson quiz
Answer three questions to see your level in this lesson.
