Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 834
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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.



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the earliest date from a range of cells [email protected] Excel Worksheet Functions 2 July 28th 07 04:46 PM
Finding the earliest date from a range of cells [email protected] 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 03:50 PM


All times are GMT +1. The time now is 08:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"