+ Reply to Thread
Results 1 to 5 of 5

Display the MAX number in a column excluding rows which have "yes" in another column

  1. #1
    Registered User
    Join Date
    07-01-2013
    Location
    England
    MS-Off Ver
    Office Enterprise (2007), Professional Plus (2013)
    Posts
    6

    Display the MAX number in a column excluding rows which have "yes" in another column

    Hi,

    The sheet to display results in is called "Overview".

    The sheet and column I want to find out the Conditional MAX for is "Netsuite" J:J based on the exclusion of any rows on the same sheet which contain the value "yes" in the column S:S

    The current formula I have is =MAX(Netsuite!J:J) but this displays the max number even if there is a yes value in the S column which is for completed. I don't need to know the max of a completed row.

    Thanks in advance.

    Northcoms
    Last edited by northcoms; 07-01-2013 at 08:01 AM.

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Display the MAX number in a column excluding rows which have "yes" in another column

    Try this

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Please confirm the formula by Ctrl + Shift + Enter Not just Enter
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Display the MAX number in a column excluding rows which have "yes" in another column

    =MAX(IF(Netsuite!S:S<>"Yes",Netsuite!J:J,""))
    entered with ctrl+shift+enter
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Display the MAX number in a column excluding rows which have "yes" in another column

    Array formula

    =MAX(IF(Netsuite!S:S<>"Yes",Netsuite!J:J))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    07-01-2013
    Location
    England
    MS-Off Ver
    Office Enterprise (2007), Professional Plus (2013)
    Posts
    6

    Re: Display the MAX number in a column excluding rows which have "yes" in another column

    Quote Originally Posted by Debraj Roy View Post
    Try this

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Please confirm the formula by Ctrl + Shift + Enter Not just Enter
    Quote Originally Posted by JosephP View Post
    =MAX(IF(Netsuite!S:S<>"Yes",Netsuite!J:J,""))
    entered with ctrl+shift+enter
    Quote Originally Posted by Ace_XL View Post
    Array formula

    =MAX(IF(Netsuite!S:S<>"Yes",Netsuite!J:J))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Thanks Guys,

    Excellent answer that works precisely how I intended.

    Much appreciated.

    Northcoms

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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