![]() |
Earliest time in a range
Hi,
I have a range of dates and times, and the following will give me the latest time: {MAX((Data!$D$2:$D$5000=B13)*(Data!$F$2:$F$5000))} However, I now want the earliest time, but "MIN" does not work: {MIN((Data!$D$2:$D$5000=B13)*(Data!$F$2:$F$5000))} What is the proper formula? Thanks. |
Earliest time in a range
Min is the right function.
What does "doesn't work" mean? Also, what's in B13? Regards, Fred "pete" wrote in message ... Hi, I have a range of dates and times, and the following will give me the latest time: {MAX((Data!$D$2:$D$5000=B13)*(Data!$F$2:$F$5000))} However, I now want the earliest time, but "MIN" does not work: {MIN((Data!$D$2:$D$5000=B13)*(Data!$F$2:$F$5000))} What is the proper formula? Thanks. |
Earliest time in a range
Try
=MIN(IF(Data!$D$2:$D$5000=B13,Data!$F$2:$F$5000)) -- HTH Bob "pete" wrote in message ... Hi, I have a range of dates and times, and the following will give me the latest time: {MAX((Data!$D$2:$D$5000=B13)*(Data!$F$2:$F$5000))} However, I now want the earliest time, but "MIN" does not work: {MIN((Data!$D$2:$D$5000=B13)*(Data!$F$2:$F$5000))} What is the proper formula? Thanks. |
Earliest time in a range
That works! Thanks a bunch!
"Bob Phillips" wrote: Try =MIN(IF(Data!$D$2:$D$5000=B13,Data!$F$2:$F$5000)) -- HTH Bob "pete" wrote in message ... Hi, I have a range of dates and times, and the following will give me the latest time: {MAX((Data!$D$2:$D$5000=B13)*(Data!$F$2:$F$5000))} However, I now want the earliest time, but "MIN" does not work: {MIN((Data!$D$2:$D$5000=B13)*(Data!$F$2:$F$5000))} What is the proper formula? Thanks. . |
All times are GMT +1. The time now is 02:21 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com