+ Reply to Thread
Results 1 to 6 of 6

Max function based on multiple criteria

  1. #1
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260

    Max function based on multiple criteria

    Hi all :-)

    I just have one quick question. I need to find max value from raw data based on 3 conditions.
    Do you know,how to write that max if something functions?

    Thank you,
    Andy :-)

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: Max function based on multiple criteria

    Try

    =MAX(IF(condition1)*(condition2)*(condition3), Result))

    Entered with Ctrl+Shift+Enter

    Better to post a workbook showing expected results.

  3. #3
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260

    Re: Max function based on multiple criteria

    Hi John,

    attaching sample file. Max value should be from column "I" based on Building, Date and Server :-)

    I was getting always zeros, fighting with that for a whole day.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260

    Re: Max function based on multiple criteria

    Actually I've done below functions based on 2 criteria,bud need another one, which is not working. getting zeros
    =MAX(IF(Date_TypeA=$A5,IF(TSM_TypeA=$B$3,'Type A'!I:I)))

  5. #5
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260

    Re: Max function based on multiple criteria

    Anybody who would be able to help me?

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Max function based on multiple criteria

    Quote Originally Posted by JohnTopley View Post
    Try

    =MAX(IF(condition1)*(condition2)*(condition3), Result))

    Entered with Ctrl+Shift+Enter
    ...
    See if this is what you want
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the file
    Attached Files Attached Files

+ 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. Average based on criteria and multiple criteria
    By batchjb69 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-05-2016, 04:30 AM
  2. Replies: 11
    Last Post: 06-01-2015, 02:21 AM
  3. [SOLVED] using SUMIFS and adding values based on multiple criteria based on selection from the drop
    By muheebrahman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2015, 12:55 AM
  4. [SOLVED] How to sum values based on multiple criteria with multple possibilities for each criteria?
    By boredaxel in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-05-2013, 02:26 AM
  5. [SOLVED] INDEX Function to return a value based on multiple criteria.
    By carterbu in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-23-2013, 03:02 PM
  6. Linking multiple IF statements to perform different Function Based on criteria
    By Kimberly@TM in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2010, 02:44 PM
  7. MACROS: Sort by multiple criteria - Create tabs based off of criteria
    By svineyard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2009, 10:48 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