Master DATE, EDATE, and EOMONTH: Create Dates, Shift Months, and Find Month-End Dates (Due Dates, Month-End, and Fiscal Months in 1 Minute)

Master DATE, EDATE, and EOMONTH: Create Dates, Shift Months, and Find Month-End Dates (Due Dates, Month-End, and Fiscal Months in 1 Minute)

Master DATE, EDATE, and EOMONTH: Create Dates, Shift Months, and Find Month-End Dates (Due Dates, Month-End, and Fiscal Months in 1 Minute)

No more struggling with text dates! Use DATE/EDATE/EOMONTH to create reliable dates, shift by ±N months, and calculate the first or last day of a month at once.

Syntax & Differences

FunctionSyntaxKey Point
DATE=DATE(year, month, day)Combines year, month, and day into a valid date and automatically adjusts overflows.
EDATE=EDATE(start_date, months)Shifts a date by ±months, based on the same day of the month.
EOMONTH=EOMONTH(start_date, months)Returns the last day of the month after shifting by ±months.

Combine these functions with TODAY/NOW to dynamically calculate “this month,” “last month,” and “next month.”

Create Reliable Dates — DATE

Create a date from year, month, and day columns

=DATE(A2, B2, C2)

Months that overflow, such as “2025-13-05,” are adjusted automatically

=DATE(2025, 13, 5)   // 2026-01-05

Shift by ±N Months — EDATE

Due date 3 months after the invoice date

=EDATE(B2, 3)

One year (12 months) before an insurance policy start date

=EDATE(B2, -12)

Month-End and Month-Start — EOMONTH

Last day of the current month

=EOMONTH(B2, 0)

First day of the current month (the day after the previous month’s end)

=EOMONTH(B2, -1) + 1

Fiscal month label (YYYY-MM)

=TEXT(EOMONTH(B2,0), "yyyy-mm")

10 Practical Patterns

① Current month, quarter, and half-year range

=EOMONTH(TODAY(),-1)+1   // First day of month
=EOMONTH(TODAY(),0)       // Last day of month

② Contracts with a month-end due date

=EOMONTH(시작일, 개월수)

③ If the payment date is month-end, automatically adjust 31 to 30 or 28

=EDATE(EOMONTH(시작일,0), n)   // Retains the same month-end property n months later

④ Monthly summary key (for PivotTables and summaries)

=EOMONTH(날짜,0)

⑤ Filter from the first day through the last day of a month

=FILTER(데이터, (날짜>=EOMONTH(G2,-1)+1)*(날짜<=EOMONTH(G2,0)))

⑥ Count: number of orders in the month

=COUNTIFS(날짜, ">="&EOMONTH(G2,-1)+1, 날짜, "<="&EOMONTH(G2,0))

⑦ Fiscal year month (April start)

=EDATE(날짜, -3)   // Move back 3 months to align with the regular calendar year

⑧ Quarter label

="Q"&ROUNDUP(MONTH(날짜)/3,0)&" "&YEAR(날짜)

⑨ Calendar table (42 cells starting from the first day of the month)

=SEQUENCE(6,7, EOMONTH(B2,-1)+1 - WEEKDAY(EOMONTH(B2,-1)+1,2), 1)

⑩ Combine with WORKDAY (D+N workdays before month-end)

=WORKDAY(EOMONTH(날짜,0), -N, HOL)

Common Mistakes & Checklist

  • Text dates → Convert them with DATEVALUE/NUMBERVALUE.
  • Cells that include time → Use INT() to work with the date only, then add the time.
  • Consistent month-end logic → To retain the month-end rule, combine EOMONTH and EDATE.
  • Local formats → Use regional display formats, but calculate with date values (serial numbers).

Summary

GoalTypical Formula
Create reliable datesDATE(연,월,일)
Shift by ±N monthsEDATE(기준,N)
Month-end/month-startEOMONTH(기준,0) / EOMONTH(기준,-1)+1
Monthly summary keyEOMONTH(날짜,0)
Try using EOMONTH(날짜,0) as the key for your report's monthly summary. It makes month-start, month-end, due date, and fiscal month calculations much simpler.

Leave a Reply

Your email address will not be published. Required fields are marked *