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
Solved

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

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Distribute Values over date range (2 of 2) 5 24
Automating an Excel Template using VBA and Outlook 8 27
Set WorkSheet  not Working 9 41
remove extra space at end of cell 12 31
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 …
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.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

861 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