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

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
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,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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