Solved

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

Posted on 2015-01-26
280 Views
Last Modified: 2015-01-26
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
Question by:captain
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• Learn & ask questions
2 Comments

LVL 24

Accepted Solution

Phillip Burton earned 500 total points
ID: 40570530
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

LVL 30

Author Closing Comment

ID: 40570548
Fast and awesome!

Thanks :)
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micrâ€¦
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month2 days, 3 hours left to enroll

#### 717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.