0
0
Excelspreadsheet~10 mins

TEXT function for formatting in Excel - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

Sample numbers representing a price, a fraction, a date serial number, and a fraction for formatting.

CellValue
A11234.567
A20.75
A343500
A40.5
Formula Trace
=TEXT(A1, "$#,##0.00")
Step 1: A1
Step 2: TEXT(1234.567, "$#,##0.00")
Cell Reference Map
1234.567
0.75
43500
0.5
The formula references cell A1 which contains the number 1234.567 to format.
Result
    A           B
1  1234.567   $1,234.57
2  0.75          
3  43500         
4  0.5           
The formula in B1 shows the formatted text "$1,234.57" based on the number in A1.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the format code "$#,##0.00" do in the TEXT function?
AAdds a dollar sign, comma for thousands, and shows two decimals
BRemoves decimals and adds a percent sign
CShows the number as a date
DRounds the number to the nearest whole number without symbols
Key Result
TEXT(value, format_text) converts a number to text with the given number format pattern.