SUMPRODUCT IF in date range

johnmpc

Board Regular
Joined
Oct 19, 2020
Messages
108
Office Version
  1. 365
Platform
  1. Windows
To me this seems like it should be simple.

I want to SUMPRODUCT column A + B IF Column E is in a specified date range.
Criteria Dates are written out in separate cells. Its just beginning and end of each month.

I've tried searching but haven't come up with anything.

Thanks in advance.


142​
£2.10
05/01/2021​
104​
£2.10
05/01/2021​
100​
£2.10
05/01/2021​
1​
£2.10
05/01/2021​
1​
£2.10
05/01/2021​
1​
£2.10
05/01/2021​
1​
£2.10
05/01/2021​
11​
£2.10
05/01/2021​
3​
£2.10
05/01/2021​
4​
£2.10
05/01/2021​
4​
£2.10
05/01/2021​
100​
£2.10
06/01/2021​
20​
£2.10
06/01/2021​
36​
£2.10
06/01/2021​
8​
£2.10
06/01/2021​
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
How about
+Fluff 1.xlsm
ABCDEFGH
1
2142£2.1005/01/202101/01/2021
3104£2.1005/01/202131/01/20211125.6
4100£2.1005/01/2021
51£2.1005/01/2021
61£2.1005/01/2021
71£2.1005/01/2021
81£2.1005/01/2021
911£2.1005/01/2021
103£2.1005/01/2021
114£2.1005/01/2021
124£2.1005/01/2021
13100£2.1006/01/2021
1420£2.1006/01/2021
1536£2.1006/01/2021
168£2.1007/01/2021
Master
Cell Formulas
RangeFormula
H3H3=SUMPRODUCT((E2:E16>=G2)*(E2:E16<=G3),A2:A16,B2:B16)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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