Solved

Finding min or max value in a row inside a range of data

Posted on 2014-07-24
3
166 Views
Last Modified: 2014-07-25
I have data that's organized as such:


                             Area 1 Area 2 Area 3 Area 4 etc...
Bucket 1 Type A   454     345        453    565
Bucket 1 Type B   565     454        343    234
Bucket 1 Type C   454     565        676    454
Bucket 2 Type A   565     567        343   787
Bucket 2 Type B   232     343        565    787
Bucket 2 Type C   345     345       343    565
etc...

While I know how extract a specific value with sumproduct lookup formula, how can I extract min or max value per row. In other words what would be the min or max Area value and area name for Bucket 2, Type B.
0
Comment
Question by:Dmitriy Kritskiy
  • 2
3 Comments
 
LVL 23

Expert Comment

by:NBVC
Comment Utility
Try something like:

=MAX(IF(A2:A100="Bucket 2",IF(B2:B100="Type B",C2:F100)))

adjust ranges to suit.  Confirm the formula with CTRL+SHIFT+ENTER not just ENTER.

You can also make references absolute by adding the $ signs.  You can reference the criteria from cells containing the criteria.
0
 

Author Comment

by:Dmitriy Kritskiy
Comment Utility
NBVC,
Something is not working, perhaps attaching a sample would help. Please see the worksheet:
lookup.xlsx
0
 
LVL 23

Accepted Solution

by:
NBVC earned 200 total points
Comment Utility
You have Type spelled incorrectly in a few of the column B cells.  This is why no match is made.

Also, for the MAX you are incorrectly referencing A13 for the 2nd condition, you should be referencing A12
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now