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

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

Posted on 2014-07-24
3
169 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
ID: 40217637
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
ID: 40217696
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
ID: 40217781
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 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