How to Get Monday Of The Week in Excel

Learn multiple Excel methods to get Monday of the week with step-by-step examples and practical applications.

excelformulaspreadsheettutorial
11 min read • Last updated: 7/2/2025

How to Get Monday Of The Week in Excel

Why This Task Matters in Excel

Imagine running payroll, preparing weekly project dashboards, or generating time-tracking reports. In all of these cases you routinely need the “week beginning” date so that every entry belonging to the same week lines up under a single heading. Monday is the most common start-of-week convention in Europe, Asia-Pacific, and, increasingly, global organizations that rely on the international ISO-8601 calendar.
Without a reliable way to calculate the Monday of any given week you encounter numerous challenges:

  1. Reporting inconsistencies – Wednesday entries may accidentally appear in the “previous week” summary if different analysts manually type start-of-week dates.
  2. Data aggregation errors – PivotTables or Power BI models fed by misaligned dates produce inaccurate totals, causing missed deadlines or budget overruns.
  3. Inefficient workflows – Teams often add helper columns or run VBA macros each reporting cycle, wasting valuable time that could be automated by a robust formula.

From sales forecasting to capacity planning, aligning transactions to a consistent week start simplifies grouping, filtering, and time-series analysis. Excel excels (pun intended) at date arithmetic because every valid date is stored as a serial number. That means “one day” is literally the integer 1, making it trivial to move backward or forward across the calendar once you know how many days to shift.

Several approaches can deliver the Monday of the week, but the optimal solution should:

  • Work in all modern Excel versions (Excel 2010 onward)
  • Handle any valid calendar date, including leap years
  • Return identical results whether the original date is already Monday or falls on Sunday
  • Be easy to audit and copy across thousands of rows without performance bottlenecks

Mastering this technique strengthens your overall date-handling skills, which tie directly into other workflows such as building dynamic calendar tables, calculating fiscal weeks, or producing rolling 12-week charts. Failing to grasp it can propagate spreadsheet errors that reverberate through financial statements, operational KPIs, and executive dashboards.

Best Excel Approach

The most direct, portable, and performant method combines the WEEKDAY function in “European mode” with simple subtraction:

=A1 - WEEKDAY(A1,2) + 1

Logic breakdown:

  • WEEKDAY(A1,2) returns 1 for Monday, 2 for Tuesday, … 7 for Sunday.
  • Subtracting that value from the original date moves the date back to the Sunday before the target week.
  • Adding 1 pushes the result forward one day, landing precisely on Monday.

Why this approach is best:

  1. Universally supported – Works in Excel 2007+, Excel for Microsoft 365, Google Sheets, and LibreOffice.
  2. No helper arrays or volatile functions – Excellent performance even on 100 k-row datasets.
  3. Clear intent – Both junior and senior analysts instantly recognize WEEKDAY logic compared with cryptic bit-operations.

When to favor alternatives:

  • If your organization defines a different week start (for example, Sunday or Saturday) you can tweak the constructor or adopt FLOOR.WEEK.
  • If you are already building an entire calendar table in Power Query or Power Pivot, you may prefer M or DAX functions for consistency.

Alternative formula (Microsoft 365 only) using LET for readability:

=LET(d,A1, d - WEEKDAY(d,2) + 1)

Parameters and Inputs

Input requirements:

  1. A valid Excel date (serial number) in any cell, named range, or array. Text dates must first be converted using DATE, DATEVALUE, or similar to avoid #VALUE errors.
  2. Optional: “Return type” parameter of WEEKDAY. Setting the second argument to 2 is crucial; using the default return type (1) would make Sunday equal 1 and break the calculation.
  3. Locale considerations: Excel honors the underlying calendar system of the workbook (Gregorian for most users). Mixed calendars are not supported in the same sheet.
  4. Data preparation: Remove blanks and erroneous placeholders like “N/A.” Blank inputs will propagate as 0 and convert to 00-Jan-1900, so wrap your formula in IF or IFERROR when necessary.
  5. Edge cases: The formula works from 01-Jan-1900 up to 31-Dec-9999, covering all realistic business horizons. Leap-year dates such as 29-Feb-2024 pose no special challenge.

Validation tips:

  • Apply Data > Data Validation > Date to ensure users only paste valid dates.
  • Format the result as Short Date or Custom \"ddd dd-mmm-yyyy\" for quick visual checks.

Step-by-Step Examples

Example 1: Basic Scenario

Suppose you run a simple time log and want the Monday for each entry.

Sample data

A
17-May-2023
19-May-2023
22-May-2023
  1. In cell B2 type the recommended formula:
=A2 - WEEKDAY(A2,2) + 1
  1. Press Enter. B2 now shows 15-May-2023, the Monday of that week.
  2. Drag Fill Handle down to B4. You obtain 15-May-2023, 15-May-2023, and 22-May-2023 respectively.
  3. Apply Custom formatting \"dddd\" in column C if you wish to display the weekday name as a spot-check.

Why it works:

  • WEEKDAY(17-May-2023,2) equals 3 (Wednesday). Subtracting 3 yields the preceding Sunday, 14-May-2023. Adding 1 delivers Monday, 15-May-2023.
    Variations: If your worksheet contains timestamps (17-May-2023 14:35), wrap the input in INT to strip the decimal time:
=INT(A2) - WEEKDAY(INT(A2),2) + 1

Troubleshooting:

  • If you see ##### in the result, enlarge the column or check for dates earlier than 01-Jan-1900 which Excel cannot display.
  • A #VALUE error means A2 is text. Convert it with DATEVALUE or inspect regional settings (day-month order).

Example 2: Real-World Application

Your HR team records employee check-ins in a large transactional table. You need a weekly absenteeism summary.

Data snapshot

A (Check-in Date)B (Employee)
04-Sep-2023Kim
05-Sep-2023Kim
06-Sep-2023Lee
08-Sep-2023Kim
11-Sep-2023Lee

Steps:

  1. Insert a new column C called “Week Start.”
  2. In C2 enter:
=INT(A2) - WEEKDAY(A2,2) + 1
  1. Double-click the Fill Handle to populate through your 30 000-row list.
  2. Format C2:C30001 as Short Date.
  3. Insert a PivotTable with C as Row Labels and B as Values (set to Distinct Count if using Power Pivot) to produce weekly attendance.

Business benefit: Stakeholders can instantly view headcount coverage for each week starting on Monday, matching company policy.
Integration: Because the formula relies only on stable arithmetic, the helper column is refresh-friendly. Scheduled Power Query refreshes preserve the calculated results without manual edits.
Performance: Even at 30 000 rows the formula calculates in under one second because WEEKDAY is non-volatile and arithmetic operations are lightweight.

Example 3: Advanced Technique

You want a reusable, workbook-wide custom function GETMONDAY that behaves like a native Excel formula.

  1. Go to Formulas > Name Manager > New.
  2. Name: GETMONDAY
  3. Refers to:
=LAMBDA(d, LET(c,INT(d), c - WEEKDAY(c,2) + 1))
  1. Click OK. Now type in any cell:
=GETMONDAY(TODAY())

and press Enter.

Explanation:

  • LAMBDA creates a one-parameter function called d.
  • INT assures time portions are removed.
  • LET assigns the cleaned date to c so you do not call INT twice.
  • The rest replicates our core formula.

Edge handling:

  • If you want the function to return a blank when d is empty, enhance it:
=LAMBDA(d, IF(d="", "", LET(c,INT(d), c - WEEKDAY(c,2) + 1)) )

Professional tips: Wrap the LAMBDA call in TRY in Excel for Microsoft 365 to handle #VALUE without IFERROR:

=LAMBDA(d, TRY( LET(c,INT(d), c - WEEKDAY(c,2) + 1) ) )

Now you have an auditable, self-documenting function that can be stored in a personal macro workbook for cross-file availability.

Tips and Best Practices

  1. Name the formula cell “WeekStart” in a template workbook, then reference it across sheets to standardize logic.
  2. Use Custom format \"yyyy-mm-dd\" for ISO compliance, avoiding locale confusion when exporting CSVs.
  3. Combine with TEXTJOIN to create friendly labels such as \"Week of 2023-05-15\".
  4. Replace volatile TODAY() snapshots in dashboards with a dedicated “Report Date” cell, then feed GETMONDAY to keep charts stable across refreshes.
  5. When grouping PivotTables by week, feed the Monday date column into a separate Calendar table and relate on that field rather than the raw transaction date.
  6. Archive your formula in a “Formula Library” sheet and protect it to prevent accidental edits by teammates.

Common Mistakes to Avoid

  1. Forgetting the second argument of WEEKDAY: Using WEEKDAY(A1) (default return type 1) will make Monday equal 2, causing every result to be one day off. Correct by explicitly entering ,2.
  2. Leaving timestamps intact: 2023-05-17 14:35 minus WEEKDAY still returns a serial with decimal, producing 15-May-2023 14:35. Wrap the date in INT or TRUNC.
  3. Formatting mismatches: Users interpret 05-06-2023 differently in the US (05-Jun) vs EU (06-May). Enforce ISO or unambiguous formats.
  4. Calculating on text: If the formula outputs #VALUE, inspect the original data type. Use DATEVALUE or VALUE to coerce text strings to real dates.
  5. Copy-pasting Mondays without adjusting relative references can freeze last week’s Monday in new rows. Use absolute references or structured table syntax for resilience.

Alternative Methods

Below is a comparison of popular approaches:

MethodFormulaProsCons
WEEKDAY Subtraction (recommended)=A1 - WEEKDAY(A1,2) + 1Portable, clear, fastMust specify return type 2
FLOOR.WEEK (Excel 2013+)`=FLOOR(`A1,7) - 5Shorter, no WEEKDAYHarder to understand; regional quirks
CHOOSE Lookup=A1 - CHOOSE(WEEKDAY(A1),6,0,1,2,3,4,5)Works with default WEEKDAYLonger; uses array constant
ISO.WEEKNUM Back-solver=A1 - WEEKDAY(A1,2) + 1 after WEEKNUM groupingAligns with ISO week numberingRequires two columns
Power Query MDate.StartOfWeek([Date], Day.Monday)No formulas in sheet; refreshableRequires PQ knowledge; not available in legacy versions

When to switch methods:

  • Use FLOOR.WEEK if you frequently need Sunday or other offsets; just change the constant.
  • Adopt Power Query when you maintain ETL pipelines and want to offload calculations from the grid.
    Compatibility: FLOOR.WEEK is unavailable in Excel 2010; CHOOSE method works everywhere but is verbose.

Migration strategy: Encapsulate each method into a LAMBDA wrapper such as GETWEEKSTART so you can swap the inner logic without touching downstream formulas.

FAQ

When should I use this approach?

Use it whenever your reporting calendar starts on Monday and you must group or summarize daily data by week. It is especially handy for finance, HR, retail sales, and SaaS metrics that run Monday-Sunday cycles.

Can this work across multiple sheets?

Absolutely. Reference the date cell with a qualified address like Sheet2!A2 or, better, convert your data to an Excel Table and use structured references:

=[@Date] - WEEKDAY([@Date],2) + 1

This spills correctly across sheets, tables, and dynamic arrays.

What are the limitations?

The formula assumes the Gregorian calendar and treats every date as midnight. It does not consider company-specific shifts like fiscal calendars with 4-4-5 weeks. For that, you need a more elaborate calendar table.

How do I handle errors?

Wrap the formula in IFERROR:

=IFERROR(A2 - WEEKDAY(A2,2) + 1,"")

Alternatively, use TRY inside LAMBDA or Data Validation to intercept bad inputs before they reach the formula.

Does this work in older Excel versions?

Yes, down to Excel 2003 as long as WEEKDAY supports the optional return_type argument (it does). FLOOR.WEEK and dynamic arrays will not, but the primary approach is safe.

What about performance with large datasets?

On modern hardware, calculating 1 million rows takes a few seconds because WEEKDAY is non-volatile. If you process multi-million-row CSVs, consider performing week-start logic in Power Query or a database and import pre-aggregated data.

Conclusion

Being able to generate the Monday of any week on demand is a deceptively simple skill that underpins reliable weekly reporting, consistent data modeling, and efficient automation. Whether you embed the classic WEEKDAY subtraction formula, build a reusable LAMBDA, or leverage Power Query, mastering this task will save hours of manual cleanup and prevent costly misalignment errors. Continue exploring related techniques such as dynamic calendar tables, fiscal week conversions, and ISO week numbering to elevate your overall date-handling proficiency in Excel. Armed with these tools, you can focus less on wrangling dates and more on delivering timely, accurate insights for your organization.

We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve.