What’s the typical Monday look like? Average a value across all rows that fall on a given weekday with SUMPRODUCT and WEEKDAY — no helper column needed.
The example
Average sales for each weekday.
| A | B | |
|---|---|---|
| 1 | Date | Mon avg |
| 2 | Mon 6/1 | = ratio |
The formula
The formula:
How it works
How it works:
WEEKDAY(dates)=2builds a TRUE/FALSE array marking Mondays (2 = Monday by default).- The numerator
SUMPRODUCT((WEEKDAY=2)*values)totals the values on Mondays. - The denominator
SUMPRODUCT(--(WEEKDAY=2))counts how many Mondays there are. - The ratio is the average for that weekday — change the 2 for other days.
Watch the WEEKDAY numbering. By default Sunday = 1 and Monday = 2. Add a second argument to shift it: WEEKDAY(date, 2) makes Monday = 1 through Sunday = 7. Keep your comparison number consistent with the scheme you chose.
Try it: interactive demo
Pick a weekday for the sample data.
Variations
Sum by weekday
Total instead:
AVERAGEIFS + helper
With a weekday column:
Weekdays vs weekends
Mon–Fri:
Pitfalls & errors
Numbering scheme. Default WEEKDAY has Sunday = 1; confirm before comparing to 2 for Monday.
Divide-by-zero. If no rows match the weekday, the ratio errors — wrap in IFERROR.
Real dates required. WEEKDAY needs date serials, not text that looks like a date.
Practice workbook
Frequently asked questions
How do I average values by day of the week in Excel?
How does WEEKDAY number the days?
Can I use AVERAGEIFS instead?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class