Minimum in date range

doubledaffy

Board Regular
Joined
Jan 22, 2010
Messages
172
I'm looking to find the minimum temperature in a specified date range. I have two named ranges "Fulldate" which gives the date and "Temp" which gives the corresponding temperature.

I tried finding the minimum using ={MIN(Temp*(Fulldate>=X)*(Fulldate<=Y))}

Where X and Y are the starting and end dates that I specify. However, this doesn't work. The minimum ends up being the zeroes for the dates that don't meet the X and Y criteria.

Any idea how I can changes this and get it to work?

Thanks.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
You can't do it with multiplication. Try:

=MIN(IF(Fulldate>=X,IF(Fulldate<=Y,Temp)))

confirmed with Ctrl+Shift+Enter.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,633
Members
452,933
Latest member
patv

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