Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
monty
 
Posts: n/a
Default Using MAX to reference a row

I am trying to retrieve data associated with my maximum in one column. How
can I use the MAX function on column A to return the value in column B in the
same row?

For example, if "=MAX(A1:A1000)" returns 25.67 from cell A315, how do can I
get a value from B315 returned? The row in which the maximum is found from
column A is variable and this needs to be repeated many times, so a function
is highly desireable.
Thanks!!

  #2   Report Post  
Niek Otten
 
Posts: n/a
Default Using MAX to reference a row

=INDEX(B1:B5,MATCH(MAX(A1:A5),A1:A5,0))

Adjust B1:B5 and A1:A5 to your situation

--
Kind regards,

Niek Otten


"monty" wrote in message
...
I am trying to retrieve data associated with my maximum in one column. How
can I use the MAX function on column A to return the value in column B in
the
same row?

For example, if "=MAX(A1:A1000)" returns 25.67 from cell A315, how do can
I
get a value from B315 returned? The row in which the maximum is found
from
column A is variable and this needs to be repeated many times, so a
function
is highly desireable.
Thanks!!



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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
a cell reference in a 3d reference chartasap Excel Worksheet Functions 1 July 13th 05 02:42 PM
Flexible Cell Reference Brandt Excel Discussion (Misc queries) 5 June 2nd 05 10:23 PM
Absolute Worksheet reference number Tony M Excel Discussion (Misc queries) 4 March 21st 05 06:10 PM
Cell Reference Math Ralph Howarth Excel Worksheet Functions 0 January 26th 05 06:27 PM


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