2023-11-15, which formula correctly extracts the year?Think about which function returns the year part of a date.
The YEAR function extracts the year number from a date. MONTH and DAY extract other parts. TEXT with "yyyy" returns the year as a text string.
2024-02-28, which formula returns the month number?Which function gives the month number from a date?
The MONTH function returns the month number (1 to 12). DAY returns the day, YEAR returns the year, and TEXT with "MM-DD" returns a text string, not a number.
"2023/12/05" (not a date value). Which formula extracts the day number correctly?Text dates need to be converted to date values before using date functions.
DAY expects a date value, not text. DATEVALUE converts text to a date. So DAY(DATEVALUE(C3)) extracts the day correctly. RIGHT and MID extract text but return text, not numbers.
Remember the functions that extract each part of a date.
YEAR, MONTH, and DAY extract the respective parts. Option A uses wrong format codes and swaps year and day. Options A and C mix up the functions.
Use a function that calculates the difference in years correctly considering months and days.
DATEDIF with "Y" calculates full years between two dates correctly. Option A ignores months and days, so it can overestimate age. Option A tries to adjust but has flawed logic. Option A reverses dates causing an error or wrong result.