![]() |
| 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. |
|
|||||||
| Tags: earliest, range, time |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Ads |
|
#2
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Finding the earliest date from a range of cells | roniaelm@hotmail.com | Excel Worksheet Functions | 2 | July 28th 07 04:46 PM |
| Finding the earliest date from a range of cells | roniaelm@hotmail.com | Excel Worksheet Functions | 1 | July 28th 07 06:50 AM |
| finding earliest date within a range by employee | Steve | Excel Worksheet Functions | 4 | October 19th 06 11:34 PM |
| How do I find the earliest dates in a range of dates? | JJ | Excel Worksheet Functions | 3 | May 16th 06 09:36 AM |
| Find the earliest date in a range of dates? | Rachel Williams | Excel Worksheet Functions | 2 | February 10th 06 04:50 PM |