Bird
Raised Fist0
Google Sheetsspreadsheet~20 mins

DATE function in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
DATE Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
1:30remaining
What date does this formula produce?
Given the formula =DATE(2024, 2, 29) in a cell, what is the displayed date?
Google Sheets
=DATE(2024, 2, 29)
AFebruary 29, 2024
BMarch 1, 2024
CError: Invalid date
DFebruary 28, 2024
Attempts:
2 left
💡 Hint
Remember 2024 is a leap year.
📊 Formula Result
intermediate
1:30remaining
What date is shown by this formula?
What date does =DATE(2023, 13, 1) produce in Google Sheets?
Google Sheets
=DATE(2023, 13, 1)
AJanuary 13, 2023
BDecember 1, 2023
CError: Invalid month
DJanuary 1, 2024
Attempts:
2 left
💡 Hint
Months over 12 roll over to next year.
❓ Function Choice
advanced
2:00remaining
Which formula correctly creates March 15, 2025?
Choose the formula that produces the date March 15, 2025 in Google Sheets.
A=DATE(2025, 3, 32)
B=DATE(2025, 15, 3)
C=DATE(2025, 3, 15)
D=DATE(2025, 2, 45)
Attempts:
2 left
💡 Hint
Check month and day values carefully.
🎯 Scenario
advanced
2:00remaining
Calculate the date 45 days after January 10, 2024
You want to find the date 45 days after January 10, 2024. Which formula using DATE and arithmetic gives the correct date?
A=DATE(2024, 1, 10 + 45)
B=DATE(2024, 1, 10) + 45
C=DATE(2024, 1, 55)
D=DATE(2024, 2, 24)
Attempts:
2 left
💡 Hint
Adding days to a date works by adding numbers to the date value.
❓ data_analysis
expert
2:30remaining
How many valid dates are created by these formulas?
Given these formulas in cells:

=DATE(2024, 2, 29)
=DATE(2023, 2, 29)
=DATE(2024, 13, 1)
=DATE(2024, 0, 15)

How many of these produce valid dates without error?
A3
B2
C4
D1
Attempts:
2 left
💡 Hint
Check leap year and month overflow rules carefully.

Practice

(1/5)
1. What does the DATE function do in Google Sheets?
easy
A. It creates a date from year, month, and day numbers.
B. It calculates the difference between two dates.
C. It converts text to uppercase.
D. It adds numbers together.

Solution

  1. Step 1: Understand the purpose of DATE

    The DATE function takes three numbers: year, month, and day, and combines them into a valid date.
  2. Step 2: Compare with other options

    Other options describe different functions like date difference or text conversion, which are not what DATE does.
  3. Final Answer:

    It creates a date from year, month, and day numbers. -> Option A
  4. Quick Check:

    DATE function = create date [OK]
Hint: DATE joins year, month, day into one date [OK]
Common Mistakes:
  • Confusing DATE with functions like TODAY or NOW
  • Thinking DATE calculates differences
  • Assuming DATE formats text
2. Which of these is the correct syntax for the DATE function in Google Sheets?
easy
A. DATE(month, day, year)
B. DATE(day, month, year)
C. DATE(year, month, day)
D. DATE(year-day-month)

Solution

  1. Step 1: Recall DATE function syntax

    The correct order is year first, then month, then day: DATE(year, month, day).
  2. Step 2: Check other options

    Options B and C have wrong order; D uses invalid syntax with dashes and no commas.
  3. Final Answer:

    DATE(year, month, day) -> Option C
  4. Quick Check:

    Correct syntax = DATE(year, month, day) [OK]
Hint: Remember: year, month, day order in DATE [OK]
Common Mistakes:
  • Swapping day and month positions
  • Using dashes instead of commas
  • Putting month first
3. What is the result of =DATE(2024, 13, 1) in Google Sheets?
medium
A. December 1, 2024
B. January 1, 2025
C. January 1, 2024
D. Error

Solution

  1. Step 1: Understand month overflow in DATE

    The month value 13 means 1 month after December, so it moves to January of next year.
  2. Step 2: Calculate the adjusted date

    So DATE(2024, 13, 1) becomes January 1, 2025.
  3. Final Answer:

    January 1, 2025 -> Option B
  4. Quick Check:

    Month 13 = January next year [OK]
Hint: Months >12 roll over to next year automatically [OK]
Common Mistakes:
  • Expecting error for month 13
  • Thinking month 13 means December
  • Ignoring automatic date adjustment
4. You entered =DATE(2023, 2, 30) but it shows March 2, 2023. Why?
medium
A. February has only 28 or 29 days, so day 30 rolls into March.
B. DATE function has a bug showing wrong dates.
C. You must enter day before month in DATE.
D. Google Sheets does not support dates in February.

Solution

  1. Step 1: Check day overflow behavior

    February usually has 28 or 29 days, so day 30 is invalid and rolls over to March 2.
  2. Step 2: Understand DATE auto-adjustment

    DATE automatically adjusts invalid days by adding extra days to next month.
  3. Final Answer:

    February has only 28 or 29 days, so day 30 rolls into March. -> Option A
  4. Quick Check:

    Invalid day rolls over to next month [OK]
Hint: Invalid days push date into next month automatically [OK]
Common Mistakes:
  • Thinking DATE has bugs
  • Swapping day and month order
  • Believing February dates are unsupported
5. You have year in A1=2023, month in B1=11, and day in C1=35. Which formula correctly gives the valid date?
hard
A. =DATE(A1, B1+1, C1-31)
B. =DATE(A1, B1, 30)
C. =DATE(A1, 12, C1)
D. =DATE(A1, B1, C1)

Solution

  1. Step 1: Understand how DATE handles overflow

    DATE automatically adjusts day 35 in November to December 5 (35 - 30 = 5 days into next month).
  2. Step 2: Check each option

    =DATE(A1, B1, C1) uses original values and lets DATE fix the date correctly. Others manually change month or day, which is unnecessary or incorrect.
  3. Final Answer:

    =DATE(A1, B1, C1) -> Option D
  4. Quick Check:

    DATE auto-fixes overflow days [OK]
Hint: Use DATE with raw values; it fixes overflow automatically [OK]
Common Mistakes:
  • Manually adjusting month or day before DATE
  • Assuming DATE errors on large day numbers
  • Changing month without reason
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