+ Reply to Thread
Results 1 to 5 of 5

Finding Max Value with multiple criteria.

  1. #1
    Registered User
    Join Date
    10-02-2018
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    5

    Finding Max Value with multiple criteria.

    I have a large sheet that has a complex formula to make some long term growth calculations

    I am trying to make a formula which will allow me to find the MAX amount in the sheet based on 3 criteria.
    I know i can use the Max(IF(..... calculations but i cannot get this to work.

    =MAX(IF(criteriax=#),IF(criteriaxx=#),IF(criteriay=#)))

    I have tried the CSE format but it selects the first cell in the criteria which does not do what i want.

    The sheet is on has a two x axis and one y that i want to use as criteria.

    ie.

    xx#####
    xx#####
    xx#####
    y y y y y y

    Hopefully there is a way i can make this work with the amount of options in the criteria i have.
    So far i can only get it to work for the first cell of the IF function variable.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,787

    Re: Finding Max Value with multiple criteria.

    It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post. Don't try to use the Paperclip icon, as it is broken on this forum.

    Hope this helps.

    Pete

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Finding Max Value with multiple criteria.

    Hello and welcome to the forum.

    Try something like this:

    =MAX(IF((criteria range1=criteria1)*(criteria range2=criteria2)*(criteria range3=criteria3),Range to find the max of)) Ctrl Shift Enter

  4. #4
    Registered User
    Join Date
    10-02-2018
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    5
    Thanks. I have tried this but get an error.
    It does however work if my criteria is the first cell in the series

    For example. If my IF is for A1:A10 it only works if I have =the value in A1.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Finding Max Value with multiple criteria.

    See post #2.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Finding multiple criteria with VBA
    By Muzun in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-18-2017, 08:53 AM
  2. [SOLVED] Finding Value From Multiple Criteria
    By kae2346 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-05-2015, 02:14 AM
  3. [SOLVED] Finding value from multiple criteria
    By coach.32 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-02-2015, 04:41 PM
  4. Finding closest with multiple criteria
    By anwi12ad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-04-2015, 06:42 AM
  5. [SOLVED] Multiple criteria (finding closest)
    By jram in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-20-2015, 12:02 AM
  6. Finding text multiple criteria
    By cgi in forum Excel General
    Replies: 3
    Last Post: 07-01-2011, 08:03 PM
  7. finding data with multiple criteria
    By carsto in forum Excel General
    Replies: 2
    Last Post: 08-14-2006, 10:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1