Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default 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
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
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU JCC Excel Discussion (Misc queries) 5 June 26th 09 09:15 PM
Matrix lookup/mulitple criteria lookup MarkFranklin Excel Discussion (Misc queries) 3 March 31st 08 10:15 AM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM


All times are GMT +1. The time now is 02:19 AM.

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"