Sumif with date range and other criteria

AlanaT

New Member
Joined
Feb 20, 2019
Messages
6
How do I write a formula that is IF and SUMIF?
I have raw data (in Sheet2) of Column A=Invoice Date, Column B=Sales Rep Name, and Column C= Sales Amount.
What I need to do is sum each Sales Reps' Sales Amount for each date range (i.e: May 1st to May 7th).
I'm using Named Ranges for the start and end date of each week.
Tried something like this:
=SUMIFS(Sheet2!$C:$C,Sheet2!$A:$A,">=Week1Start",Sheet2!$A:$A,"<=Week1End",Sheet2!$B:$B,$A1)
{where column A lists all rep names}

Help!?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
How about
Excel Formula:
=SUMIFS(Sheet2!$C:$C,Sheet2!$A:$A,">="&Week1Start,Sheet2!$A:$A,"<="&Week1End,Sheet2!$B:$B,$A1)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,098
Members
449,205
Latest member
ralemanygarcia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top