Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
randomly select a cell from an array | Excel Discussion (Misc queries) | |||
how do i select in aleatory way 3 numbers from an array of 10 | Excel Worksheet Functions | |||
array vlookup formula help | Excel Discussion (Misc queries) | |||
Select sheets from an array for printing | Excel Discussion (Misc queries) | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |