0
0
Excelspreadsheet~20 mins

TEXT function for formatting in Excel - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
TEXT Function Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
What is the output of this TEXT formula?
Given the date in cell A1 as 2024-06-15, what will be the result of the formula =TEXT(A1, "dddd, mmmm dd, yyyy")?
Excel
=TEXT(A1, "dddd, mmmm dd, yyyy")
A06/15/2024
BSat, Jun 15, 2024
CSaturday, June 15, 2024
D15-06-2024
Attempts:
2 left
💡 Hint
The format code "dddd" shows the full weekday name, and "mmmm" shows the full month name.
📊 Formula Result
intermediate
2:00remaining
What does this TEXT formula output for a number?
If cell B1 contains the number 1234.567, what is the result of =TEXT(B1, "#,##0.00")?
Excel
=TEXT(B1, "#,##0.00")
A1,234.57
B1234.567
C1.234,57
D1234,57
Attempts:
2 left
💡 Hint
The format uses commas for thousands and rounds to two decimals.
Function Choice
advanced
2:00remaining
Which TEXT format code will display time as 2:05 PM?
You have a time value in cell C1. Which format code in =TEXT(C1, "format_code") will show the time as 2:05 PM?
Ahh:mm AM/PM
Bhh:mm am/pm
Ch:mm am/pm
Dh:mm AM/PM
Attempts:
2 left
💡 Hint
Use 'h' for hours without leading zero and uppercase 'AM/PM' for uppercase meridian indicator.
🎯 Scenario
advanced
2:00remaining
Formatting a number as currency with TEXT
You want to display the value in cell D1 as US dollars with a dollar sign, commas, and two decimals, like "$1,234.50". Which formula will do this correctly?
A=TEXT(D1, "#,##0.00")
B=TEXT(D1, "$#,##0.00")
C=TEXT(D1, "\$#,##0.00")
D=TEXT(D1, "$0.00")
Attempts:
2 left
💡 Hint
In Excel format codes, the dollar sign does not need escaping.
data_analysis
expert
2:00remaining
How many unique formatted outputs are produced?
Given the values in cells E1:E4 as {0.5, 1, 1.5, 2} and the formula =TEXT(E1, "0.0") copied down to E4, how many unique text outputs will appear?
Excel
=TEXT(E1, "0.0")
A4
B3
C2
D1
Attempts:
2 left
💡 Hint
The format "0.0" shows one decimal place, so each value rounds to one decimal.