If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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. . |
Thread Tools | |
Display Modes | |
|
|