Add date range to SUMPRODUCT formula

GraeT

New Member
Joined
Sep 21, 2015
Messages
1
Hi and thanks to all in advance

I am trying to create a formula to calculate the $ total of my employees work via a few variables. At present I have a working formula that calculates each individual employees $ total;

=SUMPRODUCT((C1:C24999=service type)*(V1:V$24999=Practitioner name)*K1:K24999)

C column = Service type
With V column = Practitioner Name
K column = The cost of each service (which can vary as some people get discounts etc)

Each entry in the spreadsheet is dated and I have the start and finish dates of the range in separate cells. I have tried multiple variations on the above formula to include a date range but I cannot get it to work.

If you have some advice it would be much appreciated

Cheers
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
assume start date in A column and end date in B column

=sumproduct((......)*(.....)*(A1:a100>$t$1-1)*(A1:a100<$w$1+1))

t1 = chosen start date w1 = chosen end date
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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