Bird
Raised Fist0
Google Sheetsspreadsheet~8 mins

EDATE and EOMONTH in Google Sheets - Dashboard Guide

Choose your learning style10 modes available
Dashboard Mode - EDATE and EOMONTH
Goal

Find the due dates and month-end dates for invoices based on their invoice dates and payment terms.

Sample Data
Invoice IDInvoice DatePayment Terms (Months)
INV0012024-01-151
INV0022024-02-203
INV0032024-03-056
INV0042024-04-100
INV0052024-05-252
Dashboard Components
  • KPI Table: Shows Invoice ID, Invoice Date, Payment Terms, Due Date, and Month-End Due Date.
  • Formulas:
    • Due Date = =EDATE(B2, C2) (Adds payment terms months to invoice date)
    • Month-End Due Date = =EOMONTH(B2, C2) (Finds last day of due month)
Invoice IDInvoice DatePayment Terms (Months)Due Date (EDATE)Month-End Due Date (EOMONTH)
INV0012024-01-151=EDATE(B2,C2) -> 2024-02-15=EOMONTH(B2,C2) -> 2024-02-29
INV0022024-02-203=EDATE(B3,C3) -> 2024-05-20=EOMONTH(B3,C3) -> 2024-05-31
INV0032024-03-056=EDATE(B4,C4) -> 2024-09-05=EOMONTH(B4,C4) -> 2024-09-30
INV0042024-04-100=EDATE(B5,C5) -> 2024-04-10=EOMONTH(B5,C5) -> 2024-04-30
INV0052024-05-252=EDATE(B6,C6) -> 2024-07-25=EOMONTH(B6,C6) -> 2024-07-31
Dashboard Layout
+-------------------------------------------------+
|                 Invoice Due Dates                |
+-------------------------------------------------+
| Invoice Table with:                              |
| - Invoice ID                                    |
| - Invoice Date                                  |
| - Payment Terms (Months)                        |
| - Due Date (EDATE)                             |
| - Month-End Due Date (EOMONTH)                 |
+-------------------------------------------------+
Interactivity

Add a filter to select invoices by Payment Terms (Months). When you choose a specific number of months, the table updates to show only invoices with that payment term. This helps focus on invoices due in certain time frames.

Self Check

If you add a filter for Payment Terms = 1, which invoices appear and what are their Due Dates and Month-End Due Dates?

Answer: Only INV001 appears with Due Date 2024-02-15 and Month-End Due Date 2024-02-29.

Key Result
Dashboard shows invoice due dates and month-end due dates using EDATE and EOMONTH formulas.

Practice

(1/5)
1. What does the EDATE function do in Google Sheets?
easy
A. Returns a date a specified number of months before or after a start date
B. Returns the last day of the current month
C. Calculates the number of days between two dates
D. Returns the day of the week for a given date

Solution

  1. Step 1: Understand the purpose of EDATE

    The EDATE function is designed to add or subtract whole months from a given start date.
  2. Step 2: Compare with other date functions

    Unlike functions that return days or weekdays, EDATE specifically works with months to find a new date.
  3. Final Answer:

    Returns a date a specified number of months before or after a start date -> Option A
  4. Quick Check:

    EDATE = date ± months [OK]
Hint: EDATE shifts dates by months, not days [OK]
Common Mistakes:
  • Confusing EDATE with DAY or WEEKDAY functions
  • Thinking EDATE returns end of month
  • Using EDATE to add days instead of months
2. Which of the following is the correct syntax for the EOMONTH function?
easy
A. EOMONTH(date, days)
B. EOMONTH(months, start_date)
C. EOMONTH(start_date, months)
D. EOMONTH(start_date)

Solution

  1. Step 1: Recall EOMONTH syntax

    EOMONTH requires two arguments: the start date and the number of months to move forward or backward.
  2. Step 2: Check argument order and count

    The first argument must be the start date, the second is the months offset. The other options have wrong order or missing arguments.
  3. Final Answer:

    EOMONTH(start_date, months) -> Option C
  4. Quick Check:

    EOMONTH(date, months) correct syntax [OK]
Hint: Start date first, months second in EOMONTH [OK]
Common Mistakes:
  • Swapping the order of arguments
  • Omitting the months argument
  • Using days instead of months
3. Given cell A1 contains the date 2024-01-15, what is the result of =EDATE(A1, 3)?
medium
A. 2024-04-30
B. 2024-04-15
C. 2024-03-31
D. 2024-01-18

Solution

  1. Step 1: Understand EDATE with positive months

    EDATE adds the number of months to the start date, keeping the day number if possible.
  2. Step 2: Calculate 3 months after January 15, 2024

    Adding 3 months to January 15, 2024 results in April 15, 2024.
  3. Final Answer:

    2024-04-15 -> Option B
  4. Quick Check:

    EDATE(2024-01-15, 3) = 2024-04-15 [OK]
Hint: EDATE keeps day, shifts month by given number [OK]
Common Mistakes:
  • Confusing EDATE with EOMONTH output
  • Adding days instead of months
  • Assuming end of month date
4. You wrote =EOMONTH(A1, 1) but it returns an error. Cell A1 contains the text "March 10, 2024" (not a date). What is the fix?
medium
A. Convert A1 to a valid date format before using EOMONTH
B. Change formula to =EOMONTH("March 10, 2024", 1)
C. Replace EOMONTH with EDATE
D. Use =EOMONTH(A1, "1") with months as text

Solution

  1. Step 1: Identify cause of error

    EOMONTH requires a valid date value, but A1 contains text, not a date.
  2. Step 2: Fix by converting text to date

    Convert or re-enter A1 as a proper date so EOMONTH can process it correctly.
  3. Final Answer:

    Convert A1 to a valid date format before using EOMONTH -> Option A
  4. Quick Check:

    EOMONTH needs date input, not text [OK]
Hint: Ensure date cells are real dates, not text [OK]
Common Mistakes:
  • Passing text strings instead of dates
  • Using quotes around month number
  • Switching to wrong function without fixing input
5. You want to find the last day of the month 2 months before the date in cell B2 (which is 2024-05-20). Which formula gives the correct result?
hard
A. =EDATE(B2, 2)
B. =EDATE(B2, -2)
C. =EOMONTH(B2, 2)
D. =EOMONTH(B2, -2)

Solution

  1. Step 1: Understand the requirement

    You want the last day of the month, 2 months before May 20, 2024.
  2. Step 2: Choose correct function and argument

    EOMONTH returns the last day of a month offset by months. Negative 2 moves back 2 months from May 2024 to March 2024.
  3. Step 3: Verify other options

    EDATE returns the same day number, not the last day. Positive 2 moves forward, not backward.
  4. Final Answer:

    =EOMONTH(B2, -2) -> Option D
  5. Quick Check:

    EOMONTH with negative months finds past month end [OK]
Hint: Use EOMONTH with negative months for past month ends [OK]
Common Mistakes:
  • Using EDATE instead of EOMONTH for month-end
  • Using positive months to go backward
  • Confusing last day with same day number
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