0
0
Google Sheetsspreadsheet~20 mins

Why date calculations drive business logic in Google Sheets - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Date Calculation Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Calculate the number of days between two dates
You have a start date in cell A1 (2024-04-01) and an end date in cell B1 (2024-04-15). Which formula correctly calculates the number of days between these two dates?
A=DATEVALUE(B1) - DATEVALUE(A1)
B=B1 - A1
C=B1 + A1
D=DATEDIF(A1, B1, "D")
Attempts:
2 left
💡 Hint
Use a function designed to calculate the difference between dates in days.
Function Choice
intermediate
2:00remaining
Choose the correct function to add months to a date
You want to add 3 months to the date in cell A1 (2024-01-31). Which function will correctly return the new date?
A=DATE(A1 + 3)
B=A1 + 90
C=EDATE(A1, 3)
D=MONTH(A1) + 3
Attempts:
2 left
💡 Hint
Look for a function that handles month increments properly, even for end-of-month dates.
data_analysis
advanced
2:30remaining
Identify overdue tasks based on due dates
You have a list of tasks with due dates in column B and completion status in column C ("Done" or "Pending"). You want to count how many tasks are overdue as of today (assume today is 2024-06-01). Which formula correctly counts overdue tasks that are still pending?
A=COUNTIFS(C:C, "Pending", B:B, ">" & TODAY())
B=COUNTIFS(B:B, "<" & TODAY(), C:C, "Pending")
C=SUMPRODUCT((B:B < TODAY()) * (C:C = "Pending"))
D=COUNTIF(B:B, "<" & TODAY())
Attempts:
2 left
💡 Hint
Use a function that can apply multiple conditions to count only overdue and pending tasks.
🎯 Scenario
advanced
2:30remaining
Calculate employee tenure in years and months
You have employee start dates in column A. You want to display their tenure as "X years Y months" as of today. Which formula correctly calculates this tenure for the date in A2?
A=DATEDIF(A2, TODAY(), "Y") & " years " & DATEDIF(A2, TODAY(), "YM") & " months"
B=YEAR(TODAY()) - YEAR(A2) & " years " & MONTH(TODAY()) - MONTH(A2) & " months"
C=DATEDIF(A2, TODAY(), "M") & " months"
D=DATEDIF(A2, TODAY(), "Y") & " years"
Attempts:
2 left
💡 Hint
Use DATEDIF twice to get full years and remaining months separately.
🧠 Conceptual
expert
1:30remaining
Why is date calculation critical in business logic?
Which of the following best explains why date calculations are essential in business logic?
ABecause dates help schedule tasks, calculate deadlines, and manage billing cycles accurately.
BBecause date calculations are rarely needed and can be ignored in most business cases.
CBecause dates are only used for formatting and have no impact on calculations.
DBecause dates are stored as text and cannot be used in formulas.
Attempts:
2 left
💡 Hint
Think about how businesses rely on time to operate smoothly.