Bird
Raised Fist0
Google Sheetsspreadsheet~10 mins

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

Choose your learning style10 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the formula to calculate the number of days between two dates in Google Sheets.

Google Sheets
=DATEDIF(A1, [1], "D")
Drag options to blanks, or click blank then click option'
AB1
BC1
CA2
DB2
Attempts:
3 left
💡 Hint
Common Mistakes
Using the same cell for both dates.
Using a text string instead of a cell reference.
Forgetting the unit "D" for days.
2fill in blank
medium

Complete the formula to add 30 days to a date in cell A1.

Google Sheets
=A1 [1] 30
Drag options to blanks, or click blank then click option'
A*
B+
C-
D/
Attempts:
3 left
💡 Hint
Common Mistakes
Using minus instead of plus.
Using multiplication or division which changes the date incorrectly.
3fill in blank
hard

Fix the error in the formula to calculate the number of months between two dates in A1 and B1.

Google Sheets
=DATEDIF(A1, B1, [1])
Drag options to blanks, or click blank then click option'
A"Y"
B"MD"
C"M"
D"D"
Attempts:
3 left
💡 Hint
Common Mistakes
Using "Y" which calculates years.
Using "D" which calculates days.
Using "MD" which calculates days ignoring months and years.
4fill in blank
hard

Fill both blanks to create a formula that returns TRUE if the date in A1 is before today.

Google Sheets
=A1 [1] [2]()
Drag options to blanks, or click blank then click option'
A<
B>
CTODAY
DNOW
Attempts:
3 left
💡 Hint
Common Mistakes
Using > instead of <.
Using NOW() which includes time and may cause unexpected results.
5fill in blank
hard

Fill all three blanks to create a formula that calculates the number of weekdays between two dates in A1 and B1.

Google Sheets
=NETWORKDAYS([1], [2], [3])
Drag options to blanks, or click blank then click option'
AA1
BB1
CC1
DD1
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping start and end dates.
Leaving the holidays argument empty or incorrect.
Using cells that do not contain dates.

Practice

(1/5)
1. Why is it important to use date calculations in business spreadsheets?
easy
A. They are only useful for birthdays.
B. They help track deadlines and calculate durations automatically.
C. They slow down the spreadsheet performance.
D. They make the spreadsheet look colorful.

Solution

  1. Step 1: Understand the role of dates in business

    Businesses often need to track deadlines, project durations, and schedules.
  2. Step 2: Recognize how date calculations help

    Date calculations automate tracking and reduce manual errors, making management easier.
  3. Final Answer:

    They help track deadlines and calculate durations automatically. -> Option B
  4. Quick Check:

    Date calculations = track deadlines [OK]
Hint: Think about deadlines and schedules in daily work [OK]
Common Mistakes:
  • Thinking dates only add colors
  • Believing dates slow spreadsheets
  • Assuming dates are for birthdays only
2. Which formula correctly calculates the number of days between two dates in Google Sheets?
easy
A. =DATEDIF(A1, B1, "D")
B. =SUM(A1, B1)
C. =A1+B1
D. =DATE(A1, B1)

Solution

  1. Step 1: Identify the function for date difference

    The DATEDIF function calculates the difference between two dates in specified units.
  2. Step 2: Check the syntax for days

    Using "D" as the third argument returns the difference in days.
  3. Final Answer:

    =DATEDIF(A1, B1, "D") -> Option A
  4. Quick Check:

    DATEDIF with "D" = days difference [OK]
Hint: Use DATEDIF with "D" to get days difference [OK]
Common Mistakes:
  • Using SUM to add dates
  • Adding dates directly with +
  • Using DATE function incorrectly
3. Given the formula =TODAY()-A1 where A1 contains the date 2024-06-01 and today is 2024-06-10, what is the result?
medium
A. 10
B. Error
C. 1
D. 9

Solution

  1. Step 1: Understand the TODAY() function

    TODAY() returns the current date, which is 2024-06-10 in this case.
  2. Step 2: Calculate the difference

    Subtracting 2024-06-01 from 2024-06-10 gives 9 days.
  3. Final Answer:

    9 -> Option D
  4. Quick Check:

    2024-06-10 - 2024-06-01 = 9 [OK]
Hint: Subtract older date from newer date for days difference [OK]
Common Mistakes:
  • Counting inclusive days incorrectly
  • Assuming TODAY() returns date-time
  • Expecting error from date subtraction
4. A user tries to calculate days between dates with =DATEDIF(A1, B1, "M") but gets an error. What is the likely cause?
medium
A. DATEDIF does not support "M" as unit.
B. The formula syntax is incorrect.
C. B1 date is earlier than A1 date.
D. Dates are not formatted as text.

Solution

  1. Step 1: Check DATEDIF requirements

    DATEDIF requires the start date (A1) to be earlier or equal to the end date (B1).
  2. Step 2: Understand error cause

    If B1 is earlier than A1, DATEDIF returns an error even if syntax is correct.
  3. Final Answer:

    B1 date is earlier than A1 date. -> Option C
  4. Quick Check:

    Start date must be before end date [OK]
Hint: Ensure start date ≤ end date in DATEDIF [OK]
Common Mistakes:
  • Thinking "M" is invalid unit
  • Assuming syntax error causes problem
  • Not checking date order
5. You want to create a dynamic report that shows how many days remain until a project deadline in cell B2. Which formula should you use in cell C2 to update automatically each day?
hard
A. =B2 - TODAY()
B. =TODAY() - B2
C. =DATEDIF(TODAY(), B2, "Y")
D. =SUM(B2, TODAY())

Solution

  1. Step 1: Understand the goal

    The formula should calculate days remaining, so deadline minus today.
  2. Step 2: Choose correct formula

    =B2 - TODAY() subtracts current date from deadline, updating daily.
  3. Step 3: Check other options

    Reversing the subtraction (=TODAY() - B2) shows past days, DATEDIF with "Y" calculates years instead of days, and SUM adds dates (invalid).
  4. Final Answer:

    =B2 - TODAY() -> Option A
  5. Quick Check:

    Deadline - Today = days remaining [OK]
Hint: Subtract TODAY() from deadline for days left [OK]
Common Mistakes:
  • Reversing date subtraction
  • Using years instead of days
  • Adding dates instead of subtracting
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard