FormulaCraft

How to sum values by day of the week in Excel and Google Sheets

Topic:SUM & aggregation
Excel & Google Sheets
=SUMPRODUCT(($B$2:$B$5)*(WEEKDAY($A$2:$A$5,2)=1))

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Ensure your date column (e.g. A) contains real date values.
  2. 2Use WEEKDAY with mode 2 (Monday=1, Sunday=7) to number the days: WEEKDAY($A$2:$A$100,2)=1 produces TRUE/FALSE for Mondays.
  3. 3Multiply by the value column inside SUMPRODUCT: =SUMPRODUCT(($B$2:$B$100)*(WEEKDAY($A$2:$A$100,2)=1)). Change =1 to =2 for Tuesdays, =6 for Saturdays, =7 for Sundays.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

How do I sum only weekdays (Monday to Friday) in one formula?

Use =SUMPRODUCT(($B$2:$B$100)*(WEEKDAY($A$2:$A$100,2)<=5)) which includes all days where the weekday number is 5 or less (Monday through Friday).

More on SUM & aggregation

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: