0
0
Google Sheetsspreadsheet~20 mins

TEXT formatting for dates in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Date Formatting Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Format date as full weekday name
You have a date in cell A1: 2024-06-15. Which formula will display the full weekday name (e.g., "Saturday")?
A=TEXT(A1, "ddd")
B=TEXT(A1, "dddd")
C=TEXT(A1, "mm/dd/yyyy")
D=TEXT(A1, "yyyy-mm-dd")
Attempts:
2 left
💡 Hint
Use the TEXT function with the right format code for full weekday name.
📊 Formula Result
intermediate
2:00remaining
Format date as day-month-year with short month name
Given a date in cell B2: 2024-12-01, which formula formats it as "01-Dec-2024"?
A=TEXT(B2, "dd-mmm-yyyy")
B=TEXT(B2, "mm-dd-yyyy")
C=TEXT(B2, "dd-mm-yyyy")
D=TEXT(B2, "yyyy-mmm-dd")
Attempts:
2 left
💡 Hint
Use the format code for day, short month name, and year.
Function Choice
advanced
2:00remaining
Choose formula to display date as "Month day, year"
You want to show the date in cell C3 as "June 5, 2024". Which formula will do this correctly?
A=TEXT(C3, "mmm dd yyyy")
B=TEXT(C3, "mm dd, yyyy")
C=TEXT(C3, "m/d/yyyy")
D=TEXT(C3, "mmmm d, yyyy")
Attempts:
2 left
💡 Hint
Look for full month name and day without leading zero.
📊 Formula Result
advanced
2:00remaining
Format date to show ISO week number
Given a date in D4, which formula shows the ISO week number (1 to 53) of that date?
A=ISOWEEKNUM(D4)
B=WEEKNUM(D4, 2)
C=TEXT(D4, "ww")
D=WEEKDAY(D4)
Attempts:
2 left
💡 Hint
ISO week number starts on Monday and can be different from WEEKNUM.
data_analysis
expert
3:00remaining
Count dates formatted as "MMM-YY" in a range
You have dates in cells A1:A10. You want to count how many dates appear as "Jun-24" when formatted with =TEXT(date, "MMM-YY"). Which formula correctly counts these dates?
A=COUNTIF(ARRAYFORMULA(TEXT(A1:A10, "MMM-YY")), "Jun-24")
B=COUNTIF(A1:A10, "Jun-24")
C=SUMPRODUCT(--(TEXT(A1:A10, "MMM-YY") = "Jun-24"))
D=COUNTIF(A1:A10, TEXT("Jun-24", "MMM-YY"))
Attempts:
2 left
💡 Hint
You need to convert dates to text first, then compare.