Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Finding the earliest date from a range of cells | Excel Worksheet Functions | |||
Finding the earliest date from a range of cells | Excel Worksheet Functions | |||
finding earliest date within a range by employee | Excel Worksheet Functions | |||
How do I find the earliest dates in a range of dates? | Excel Worksheet Functions | |||
Find the earliest date in a range of dates? | Excel Worksheet Functions |