Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Reference a number from a different column in a formula

I have 2 sets of numbers in 2 columns A and B example:

1 5
2 8
3 36
4 52
5 10

=MAX(B1:B5)

How do I get 3 from column A as my answer from using MAX(B1:B5)? Do I
need index, offset, match?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Reference a number from a different column in a formula

=INDEX(J:J,MATCH(MAX(K1:K5),K:K)-1)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"rhhince" wrote in message
...
I have 2 sets of numbers in 2 columns A and B example:

1 5
2 8
3 36
4 52
5 10

=MAX(B1:B5)

How do I get 3 from column A as my answer from using MAX(B1:B5)? Do I
need index, offset, match?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Reference a number from a different column in a formula

Hi,

You could use

=LOOKUP(MAX(B1:B5,4)-1,B1:B5,A1:A5)

--
Thanks,
Shane Devenshire


"rhhince" wrote:

I have 2 sets of numbers in 2 columns A and B example:

1 5
2 8
3 36
4 52
5 10

=MAX(B1:B5)

How do I get 3 from column A as my answer from using MAX(B1:B5)? Do I
need index, offset, match?

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
Formula for Increasing a Cell Reference by a Given Number Kentle Excel Worksheet Functions 3 October 21st 06 03:42 PM
Need to indirectly reference columns 26 using A1 notation based on numeric column number- how to? KR Excel Worksheet Functions 5 October 26th 05 07:08 PM
chart label reference based on the column number z.entropic Charts and Charting in Excel 2 May 21st 05 05:54 PM
chart label reference based on the column number bj Charts and Charting in Excel 0 May 20th 05 07:18 PM
return the column reference number of a function result Mahendhra Excel Discussion (Misc queries) 2 May 16th 05 12:46 PM


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