Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
MIN/MAX and Lookup
Good afternoon,
This is a bit complicated, I think, but in short, I would like to be able to pick out the highest and lowest values from a column, and populate them in another field. Example: Column A Column B 1| Car 15 2| Apple 12 3| Dog 4 So A & B1 would be the highest (Car 15) And A & B3 would be the lowest (Dog 4) How could I get a formula that would look at the highest value in B, match it up with the corresponding value in A, and then show both? Thank you, Stacy |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
MIN/MAX and Lookup
Try this:
D1: =MAX(B1:B3) D2: =MIN(B1:B3) E1 and copied down to E2: =INDEX(A$1:A3,MATCH(D1,B$1:B$3,0)) -- Biff Microsoft Excel MVP "Stacy C" wrote in message ... Good afternoon, This is a bit complicated, I think, but in short, I would like to be able to pick out the highest and lowest values from a column, and populate them in another field. Example: Column A Column B 1| Car 15 2| Apple 12 3| Dog 4 So A & B1 would be the highest (Car 15) And A & B3 would be the lowest (Dog 4) How could I get a formula that would look at the highest value in B, match it up with the corresponding value in A, and then show both? Thank you, Stacy |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
MIN/MAX and Lookup
=INDEX(A1:A3,MATCH(MAX(B:B),B:B,0),1)&" "&MAX(B:B)
=INDEX(A1:A3,MATCH(MIN(B:B),B:B,0),1)&" "&MIN(B:B) "Stacy C" wrote: Good afternoon, This is a bit complicated, I think, but in short, I would like to be able to pick out the highest and lowest values from a column, and populate them in another field. Example: Column A Column B 1| Car 15 2| Apple 12 3| Dog 4 So A & B1 would be the highest (Car 15) And A & B3 would be the lowest (Dog 4) How could I get a formula that would look at the highest value in B, match it up with the corresponding value in A, and then show both? Thank you, Stacy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU | Excel Discussion (Misc queries) | |||
Matrix lookup/mulitple criteria lookup | Excel Discussion (Misc queries) | |||
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup | Excel Worksheet Functions | |||
Sumproduct - Condition based on lookup of a Lookup | Excel Discussion (Misc queries) | |||
Pivot table doing a lookup without using the lookup function? | Excel Discussion (Misc queries) |