• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

Excel: INDEX question - Find MAX number in Column in an Aray and return the Row value

Hi

I have an off day and am not getting the right formulas in my head.

I have an array with 5 columns and multiple rows to give me a max factor to determine the optimum height at a given width. The user should be able to input the width, the formula needs to identify the column for this width and then return the MAX Value in that column and the value of the row (height) in which that MAX Value is matched.

So if the width is 20, which is the best Height based on the MAX value in the array for that width?

The excel sample file is attached.  Can you give ma an idea on the formula?

Thanks
T
Test-Array.xlsx
0
captain
Asked:
captain
1 Solution
 
Phillip BurtonCommented:
If I get you correctly, in C17 you would enter 10, and get the answers 89 (the maximum for column C) and 5 (its correlating value in column B)

The Recommended Height is

=MAX(OFFSET(B4,0,MATCH(C17,C3:G3,0),9,1))

and Max Factor is

=OFFSET(B3,MATCH(MAX(OFFSET(B4,0,MATCH(C17,C3:G3,0),9,1)),OFFSET(B4,0,MATCH(C17,C3:G3,0),9,1),0),0)
0
 
captainAuthor Commented:
Fast and awesome!


Thanks :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now