+ Reply to Thread
Results 1 to 7 of 7

Additonal Condition to IF function

  1. #1
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Additonal Condition to IF function

    Hi All,

    I have this Max/If function that works as wanted

    Please Login or Register  to view this content.
    I need to now add "Reasonably" as well as "Yes", how do I modify this formula?
    So, I want both to be true, Yes and Reasonable

    Thanks
    ==========
    Bigroo1958
    Austin, Texas
    ==========

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,753

    Re: Additonal Condition to IF function

    Maybe try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Additonal Condition to IF function

    Thanks TMS, that works great!!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,753

    Re: Additonal Condition to IF function

    You're welcome.

  5. #5
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Additonal Condition to IF function

    mmmm, I thought this was working right, but I am not getting the correct last date back.
    I am look for the last date that that Driver had an @ fault incident. I seem to be getting the correct date when only look for "Yes", but as soon as I add "Reasonably Preventable (RP)" to the formula I do not return the correct date.
    Can someone please advise what is going on??

    Thanks
    Attached Files Attached Files

  6. #6
    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,408

    Re: Additonal Condition to IF function

    Try

    =MAX(IF(('Raw Accidents'!V2:V20="YES")+('Raw Accidents'!V2:V20="Reasonably Preventable (RP)")*('Raw Accidents'!C2:C20),'Raw Accidents'!C2:C20))

    ...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.

  7. #7
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Additonal Condition to IF function

    Hi John,

    I have tried your formula and my dummy data and appears to work as wanted.
    Monday, when I return to work, I will test on the real data dashboard.

    Thanks again!!

+ 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. [SOLVED] IF with additonal Functions
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 12:05 PM
  2. [SOLVED] IF with additonal Functions
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 AM
  3. [SOLVED] IF with additonal Functions
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 06:05 AM
  4. IF with additonal Functions
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04:05 AM
  5. IF with additonal Functions
    By Cyndi Nagel via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. IF with additonal Functions
    By Cyndi Nagel via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. IF with additonal Functions
    By Cyndi Nagel via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  8. [SOLVED] IF with additonal Functions
    By Cyndi Nagel via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-01-2005, 09:05 PM

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