0
0
Excelspreadsheet~20 mins

TEXT formatting for dates in Excel - 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 a date as 'Day-Month-Year' text
You have a date in cell A1: 2024-06-15. Which formula correctly converts this date to the text format 15-Jun-2024?
ATEXT(A1, "dd-mmm-yyyy")
BTEXT(A1, "mm-dd-yyyy")
CTEXT(A1, "yyyy/mm/dd")
DTEXT(A1, "dd/mm/yy")
Attempts:
2 left
💡 Hint
Use the TEXT function with the correct date format codes for day, month abbreviation, and year.
📊 Formula Result
intermediate
2:00remaining
Display weekday name from a date
Given a date in cell B2 (e.g., 2024-06-18), which formula returns the full weekday name like Tuesday?
ATEXT(B2, "dd")
BTEXT(B2, "ddd")
CTEXT(B2, "dddd")
DTEXT(B2, "mm")
Attempts:
2 left
💡 Hint
Use the format code for full weekday name in the TEXT function.
Function Choice
advanced
2:00remaining
Choose formula to format date as 'Month day, Year' text
You want to convert a date in cell C3 to text like June 5, 2024. Which formula does this correctly?
ATEXT(C3, "mm dd, yyyy")
BTEXT(C3, "mmmm d, yyyy")
CTEXT(C3, "mmm dd yyyy")
DTEXT(C3, "dd mmmm yyyy")
Attempts:
2 left
💡 Hint
Use full month name, day without leading zero, and full year format codes.
📊 Formula Result
advanced
2:00remaining
Format date with leading zero day and abbreviated month
Cell D4 contains the date 2024-06-07. Which formula returns 07-Jun-24 as text?
ATEXT(D4, "dd-mmm-yy")
BTEXT(D4, "d-mmm-yyyy")
CTEXT(D4, "d-mmm-yy")
DTEXT(D4, "dd-mm-yy")
Attempts:
2 left
💡 Hint
Use two-digit day, three-letter month abbreviation, and two-digit year format codes.
🎯 Scenario
expert
3:00remaining
Combine date and time formatting in one TEXT formula
Cell E5 has a date and time value: 2024-06-15 14:30. Which formula converts it to text 15-Jun-2024 14:30?
ATEXT(E5, "dd-mmm-yyyy hh:mm")
BTEXT(E5, "dd-mmm-yyyy hh:mm AM/PM")
CTEXT(E5, "dd/mm/yyyy HH:mm")
DTEXT(E5, "dd-mmm-yyyy HH:mm")
Attempts:
2 left
💡 Hint
Use 24-hour time format without AM/PM and correct date format.