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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
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,215,361
Messages
6,124,497
Members
449,166
Latest member
hokjock

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