A Microsoft Excel forum. ExcelBanter

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.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

Earliest time in a range



 
 
Thread Tools Display Modes
  #1  
Old March 9th 10, 08:08 PM posted to microsoft.public.excel.worksheet.functions
Pete
external usenet poster
 
Posts: 121
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.
Ads
  #2  
Old March 9th 10, 08:29 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,373
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  
Old March 9th 10, 08:31 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_4_]
external usenet poster
 
Posts: 486
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  
Old March 9th 10, 09:25 PM posted to microsoft.public.excel.worksheet.functions
Pete
external usenet poster
 
Posts: 121
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.

>
>
> .
>

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 06:38 PM.


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