Solved

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

Posted on 2015-01-26
2
274 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
Comment
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

by:
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

by:captain
ID: 40570548
Fast and awesome!


Thanks :)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

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

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

Join & Ask a Question