ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Need to find Min value based on date range entered (https://www.excelbanter.com/excel-worksheet-functions/5248-need-find-min-value-based-date-range-entered.html)

Chad S

Need to find Min value based on date range entered
 

Aladin,

Thank you very much for your help! It worked!

The reason I could not get your first suggestion to work is that I had
a parentheses in the wrong spot.

=MIN(IF(TEXT(C5:C12,"mm-yyyy")=TEXT(D3,"mm-yyyy")),D5:D12) Incorrect
=MIN(IF(TEXT(C5:C12,"mm-yyyy")=TEXT(D3,"mm-yyyy"),D5:D12)) Correct

Thanks again, you were a big help.

Chad


Aladin Akyurek Wrote:
=MIN(IF(TEXT(C5:C12,"mm-yyyy")=TEXT(D3,"mm-yyyy"),D5:D12))

which you need to confirm with control+shift+enter instead of just with
enter. Maybe you overlooked this confirmation bit.

This returns 7 for the data in your pdf file.



--
Chad S
------------------------------------------------------------------------
Chad S's Profile: http://www.excelforum.com/member.php...o&userid=15747
View this thread: http://www.excelforum.com/showthread...hreadid=272660



All times are GMT +1. The time now is 06:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com