Excel Formula to Filter for Weekend Dates Only

📅 May 28, 2026 📝 Sarah Miller

Managing operational ledgers in Excel often becomes tedious when weekend transactions skew your weekday business analytics. While daily activities are typically sustained through standard funding sources, isolating weekend anomalies is vital for accurate budgeting. Utilizing targeted dynamic array formulas grants financial analysts immediate visibility into these off-hour resource drains.

As an important stipulation, users must properly configure Excel's WEEKDAY return-type argument to prevent regional calendar mismatches. For example, auditing a Q3 shipping log with =FILTER(A2:A100, WEEKDAY(A2:A100, 2) > 5) successfully isolates Saturdays and Sundays. Below, we will break down the exact syntax and variations to implement this in your workflows.

Excel Formula to Filter for Weekend Dates Only

Excel Formula To Filter Dates Falling On Weekends Only

Managing date-based data is a routine task for data analysts, project managers, financial planners, and HR administrators. Whether you are calculating payroll, auditing system logs, tracking retail sales, or planning project timelines, segregating weekends from weekdays is a common requirement. Filtering out weekdays to focus exclusively on weekend activity allows you to analyze weekend-specific trends, calculate overtime, or identify weekend system anomalies.

In this comprehensive guide, we will explore several highly effective methods to filter dates that fall on weekends in Microsoft Excel. We will cover dynamic array formulas for modern Excel users (Excel 365 and 2021), backward-compatible helper columns for older Excel versions, and visual filtering using conditional formatting.


Understanding Excel's Core Date Function: WEEKDAY

Before we build our filtering formulas, we must understand the engine that makes weekend identification possible in Excel: the WEEKDAY function. This function takes a date and returns a number representing the day of the week.

The Syntax of WEEKDAY

=WEEKDAY(serial_number, [return_type])
  • serial_number: The date you want to evaluate. This can be a cell reference containing a date, a date returned by another formula, or a manually entered date string.
  • return_type: (Optional) A number that determines which day the week begins on. If omitted, it defaults to 1 (Sunday = 1, Saturday = 7).

To make identifying weekends as straightforward as possible, we highly recommend using return_type 2. In this configuration, Monday is represented by 1, and the numbers increase sequentially to Sunday, which is represented by 7. Under return type 2, weekends (Saturday and Sunday) are always represented by numbers greater than 5 (6 and 7).

Day of the Week WEEKDAY (Default / Type 1) WEEKDAY (Type 2) - Recommended Is Weekend?
Monday 2 1 No
Tuesday 3 2 No
Wednesday 4 3 No
Thursday 5 4 No
Friday 6 5 No
Saturday 7 6 Yes
Sunday 1 7 Yes

Method 1: Dynamic Filtering Using the FILTER Function (Excel 365 & 2021)

If you are using Excel 365 or Excel 2021, the absolute easiest and most powerful way to extract weekend dates is by using the dynamic FILTER function. This function allows you to extract a subset of data automatically based on logical criteria, spilling the results directly into adjacent cells.

The Basic Weekend Filter Formula

Suppose you have a list of dates in the range A2:A20. To extract only the dates that fall on Saturday or Sunday, enter the following formula in an empty cell where you want the results to appear:

=FILTER(A2:A20, WEEKDAY(A2:A20, 2) > 5, "No weekends found")

How this Formula Works:

  1. WEEKDAY(A2:A20, 2) evaluates every date in the range A2:A20, returning an array of numbers from 1 to 7 corresponding to their day of the week.
  2. The expression > 5 checks if those day numbers are greater than 5 (which isolated 6 for Saturday and 7 for Sunday). This returns an array of TRUE and FALSE values.
  3. The FILTER function receives this TRUE/FALSE array and returns only the values from A2:A20 where the expression is TRUE.
  4. If no weekends are present in the list, the formula returns the fallback message: "No weekends found".

Filtering Multi-Column Tables

In real-world scenarios, your dates are often accompanied by other data points, such as sales figures, names, or locations. You can filter the entire table based on the date column. If your dataset spans from A2:C20 (with dates in Column A), use this formula:

=FILTER(A2:C20, WEEKDAY(A2:A20, 2) > 5, "No weekend records")

This formula returns the entire row (Columns A, B, and C) for every record where the date in Column A falls on a weekend.


Method 2: Handling Blanks and Empty Cells in Your Dataset

A common pitfall when using the WEEKDAY function in Excel arrays is its behavior with empty cells. If a cell in your date range is blank, Excel evaluates its value as 0. In Excel's date serial system, 0 translates to January 0, 1900, which was a Saturday. Consequently, empty cells will be false-flagged as weekends and returned by your filter formula.

To prevent blank cells from polluting your filtered list, you must introduce an additional condition to ensure the date cell is not empty. We do this using the multiplication operator (which acts as an AND logic operator in array calculations):

=FILTER(A2:A20, (WEEKDAY(A2:A20, 2) > 5) * (A2:A20 <> ""), "No weekends found")

In this optimized formula:

  • (WEEKDAY(A2:A20, 2) > 5) checks for weekend days.
  • (A2:A20 <> "") checks that the cell is not empty.
  • Multiplying these arrays together ensures that a date is only returned if both conditions are met (TRUE * TRUE = 1, any other combination results in 0).

Method 3: Classic Solution Using a Helper Column (Excel 2019, 2016, and Older)

If you are working on an older version of Excel that does not support dynamic arrays and the FILTER function, you can achieve the exact same outcome using a traditional helper column combined with Excel's built-in AutoFilter feature.

Step-by-Step Implementation:

  1. Insert a Helper Column: Next to your dates column, insert a new column and label it "Is Weekend?".
  2. Enter the Formula: In the first row of your helper column (assuming your date is in A2), enter the following formula:
    =IF(WEEKDAY(A2, 2) > 5, "Weekend", "Weekday")
  3. Copy the Formula Down: Double-click the fill handle in the corner of cell B2 to copy the formula down to the rest of your dataset.
  4. Turn on Filters: Select your table headers, go to the Data tab on the Ribbon, and click the Filter button (or press Ctrl + Shift + L on Windows).
  5. Filter for Weekends: Click the filter drop-down arrow in the "Is Weekend?" column, uncheck "Weekday", select "Weekend", and click OK.

Your dataset is now filtered to show only the records falling on weekends.


Method 4: Highlight and Visual Filter with Conditional Formatting

Sometimes, you do not want to hide the weekdays, but you want to visually separate your weekends from weekdays. You can use Conditional Formatting to apply a distinct background color to weekend cells or rows, and then filter by cell color.

How to Highlight Weekend Dates:

  1. Select the range of dates you want to format (e.g., A2:A20).
  2. Go to the Home tab on the Ribbon, click Conditional Formatting, and select New Rule...
  3. In the New Formatting Rule dialog, choose "Use a formula to determine which cells to format".
  4. In the formula field, enter:
    =WEEKDAY(A2, 2) > 5
    Note: Make sure your formula refers to the active, top-left cell of your selection (in this case, A2) using a relative reference.
  5. Click the Format... button, navigate to the Fill tab, select a highlight color (such as soft yellow or blue), and click OK.
  6. Click OK to apply the rule. All weekend dates will now be highlighted.

How to Filter by Highlight Color:

Once your weekends are visually highlighted, you can quickly filter by color:

  1. Apply the standard Excel filter (Ctrl + Shift + L) to your headers.
  2. Click the filter drop-down arrow on your date column header.
  3. Select Filter by Color and click on the color fill you used for the conditional formatting.

Handling Custom Weekends (Alternative Work Weeks)

Depending on the geographic region or specific industries (like healthcare or hospitality), the weekend might not fall on Saturday and Sunday. For instance, in several Middle Eastern countries, the official weekend falls on Friday and Saturday.

Excel easily accommodates this. You can adjust the return_type within your WEEKDAY function to fit your custom weekend structure, or use explicit OR logic.

Example: Filtering Friday & Saturday Weekends

If your weekend falls on Friday and Saturday, you can use the return_type of 16 (which treats Saturday as 1, and Friday as 7), or use explicit evaluation. However, the most robust way to evaluate a Friday-Saturday weekend without remembering complex return-type tables is using direct logical comparisons:

=FILTER(A2:A20, (WEEKDAY(A2:A20, 2) = 5) + (WEEKDAY(A2:A20, 2) = 6), "No weekends found")

In array math, the addition sign (+) acts as an OR operator. This formula filters for any date where the weekday is either Friday (5) or Saturday (6).


Summary of Solutions

Choosing the right method depends on your version of Excel and your reporting needs:

  • Use FILTER + WEEKDAY if you have Excel 365 or 2021 and want a dynamically updating list that leaves your source data intact.
  • Use Helper Columns if you are building files for compatibility across old versions of Excel.
  • Use Conditional Formatting if you need to visually emphasize weekends while retaining the overall timeline structure of your dataset.

Disclaimer:
The documents and templates provided on this page are for informational and illustrative purposes only. They do not constitute professional, legal, or financial advice, and should not be relied upon as such. Because individual circumstances and regulatory requirements vary, these materials may not be suitable for your specific needs. We recommend consulting with a qualified professional before adapting or using any of these examples for official or commercial purposes.