Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Vlookup+ Select Next Earliest Value (Array formula?)

I've searched and I can't find what I am looking for; thanks in
advance for any help given.

Table is as follows:

Column A Column B Column C
Item Date
Cow 11/27/07
Monkey 12/1/07
Orange 11/30/07
Cow 11/15/07
Cow 12/15/07
Monkey 11/19/07

I need a formula that can be put in Column C that will look at the
item in Column A and return the lowest date available from Column B so
the result would be:

Column A Column B Column C
Item Date Arrive
Earliest Avail Date
Cow 11/27/07
11/15/07 (because the 4th instance of "Cow" is
earliest)
Monkey 12/1/07 11/19/07
Orange 11/30/07 11/30/07
Cow 11/15/07
11/15/07
Cow 12/15/07
11/15/07
Monkey 11/19/07 11/19/07



Data must remain unsorted.

Thanks for any help!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Vlookup+ Select Next Earliest Value (Array formula?)

With headers in Row1, and data in A2 to B7,
try this in C2, and copy down:

=SUMPRODUCT(MIN(((A2=A$2:A$7)*B$2:B$7)+(((A2<A$2: A$7)*B$2:B$7)*99^99)))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

wrote in message
oups.com...
I've searched and I can't find what I am looking for; thanks in
advance for any help given.

Table is as follows:

Column A Column B Column C
Item Date
Cow 11/27/07
Monkey 12/1/07
Orange 11/30/07
Cow 11/15/07
Cow 12/15/07
Monkey 11/19/07

I need a formula that can be put in Column C that will look at the
item in Column A and return the lowest date available from Column B so
the result would be:

Column A Column B Column C
Item Date Arrive
Earliest Avail Date
Cow 11/27/07
11/15/07 (because the 4th instance of "Cow" is
earliest)
Monkey 12/1/07 11/19/07
Orange 11/30/07 11/30/07
Cow 11/15/07
11/15/07
Cow 12/15/07
11/15/07
Monkey 11/19/07 11/19/07



Data must remain unsorted.

Thanks for any help!


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
randomly select a cell from an array TLC Excel Discussion (Misc queries) 7 April 22nd 23 07:43 PM
how do i select in aleatory way 3 numbers from an array of 10 mauro Excel Worksheet Functions 3 August 25th 07 09:22 PM
array vlookup formula help michelle Excel Discussion (Misc queries) 2 February 23rd 07 05:44 PM
Select sheets from an array for printing bennyob Excel Discussion (Misc queries) 2 November 24th 05 01:03 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 02:29 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"