View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete Pete is offline
external usenet poster
 
Posts: 193
Default 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.



.