Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Find max with a lookup

I have a list of data as follows

A B C
1 Belfast 21
2 South 36 =abs(B1-B2)
3 Laganbank 25 =abs(B1-B3)
4 Balmoral 19 =abs(B1-B4)

What I want is to find the max value in column C and return the
corresponding name from column A. So in this case, C2 is highest (15) so the
value returned would be "South".

Note: The numbers in column B are linked to another table and have many
decimal places. they are not just typed whole numbers.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Find max with a lookup

Try the INDEX() MATCH() combination

=INDEX(A1:A4,MATCH(MAX(C1:C4),C1:C4,0))

--
Jacob (MVP - Excel)


"sarahphonics" wrote:

I have a list of data as follows

A B C
1 Belfast 21
2 South 36 =abs(B1-B2)
3 Laganbank 25 =abs(B1-B3)
4 Balmoral 19 =abs(B1-B4)

What I want is to find the max value in column C and return the
corresponding name from column A. So in this case, C2 is highest (15) so the
value returned would be "South".

Note: The numbers in column B are linked to another table and have many
decimal places. they are not just typed whole numbers.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Find max with a lookup

worked perfectly. thank you

"Jacob Skaria" wrote:

Try the INDEX() MATCH() combination

=INDEX(A1:A4,MATCH(MAX(C1:C4),C1:C4,0))

--
Jacob (MVP - Excel)


"sarahphonics" wrote:

I have a list of data as follows

A B C
1 Belfast 21
2 South 36 =abs(B1-B2)
3 Laganbank 25 =abs(B1-B3)
4 Balmoral 19 =abs(B1-B4)

What I want is to find the max value in column C and return the
corresponding name from column A. So in this case, C2 is highest (15) so the
value returned would be "South".

Note: The numbers in column B are linked to another table and have many
decimal places. they are not just typed whole numbers.

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, vlookup, find, or what JR Hester Excel Discussion (Misc queries) 2 April 1st 10 09:36 PM
Lookup / find value in column which changes LinLin Excel Worksheet Functions 3 November 20th 08 11:55 PM
Lookup...find next Maxime Maugeais Excel Discussion (Misc queries) 5 June 22nd 07 07:15 AM
Can't find the min of a lookup reference jaret1976 Excel Worksheet Functions 3 February 13th 06 08:21 PM
Lookup Value and find Corresponding Value on another row same column martialtiger Excel Discussion (Misc queries) 4 November 8th 05 09:44 PM


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