SUM Product with Date Range

spf2010

New Member
Joined
Oct 11, 2017
Messages
6
H
<30 2
>30
A B
12/31/2018 29
12/31/2018 5

My current Formula (adding the days between 0-29)
=SUMPRODUCT((B2:B3>0)*(B2:B3<30))

I would like it to search for whatever date is in column A and If it matches then it will use the sum product formula without me having to select the cell Ranges
 
Last edited:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Can you please expand your explanation?
What are the values in B?
Which values are you summing - those in B?
How do the dates in A influence the calculation? (i.e. What does "I would like it to search for whatever date is in column A and If it matches..." mean?)
 
Upvote 0

Forum statistics

Threads
1,225,740
Messages
6,186,759
Members
453,370
Latest member
juliewar

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