+ Reply to Thread
Results 1 to 3 of 3

If Formula by criteria

  1. #1
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    If Formula by criteria

    HERE IS WHAT WE ARE TRYING TO ACHIEVE:

    D33 needs to do show certain words given certain criteria as laid out here....

    IF D22 and D13 is Yes then ....
    --If D31 is greater then or equal to 12 show MAXIMUM
    --If D31 is 10 or 11 then show TARGET
    --If D31 is 8 or 9 then show THRESHOLD

    However,

    IF D22 is NO and D13 is yes then...
    --If D31 is equal to 3 show MAXIMUM
    --If D31 is equal to 2 show TARGET
    --If D31 is equal to 1 show THRESHOLD

    However,

    IF D22 is YES and D13 is NO then...
    --If D31 is greater then or equal to 10 show MAXIMUM
    --If D31 is 8 or 9 then show TARGET
    --If D31 is 6 or 7 then show THRESHOLD
    Attached Images Attached Images

  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,202

    Re: If Formula by criteria

    Try

    =IF(AND(D22="Yes",D13="YES"),IF(D31>=12,"MAXIMUM",IF(D31>=11,"TARGET","THRESHOLD")),IF(AND(D22="No",D13="YES"),IF(D31=3,"MAXIMUM",IF(D31=2,"TARGET","THRESHOLD")),IF(AND(D22="Yes",D13="No"),IF(D31>=10,"MAXIMUM",IF(D31>=8,"TARGET","THRESHOLD")),"")))

    Assumption is that only the values listed are valid i.e if not MAXIMUM or TARGET it is THRESHOLD

  3. #3
    Registered User
    Join Date
    12-19-2016
    Location
    Pakistan
    MS-Off Ver
    2007
    Posts
    2

    Re: If Formula by criteria

    Use this

    =IF(AND(D22="Yes",D13="YES"),IF(D31>=12,"MAXIMUM",IF(D31>=11,"TARGET","THRESHOLD")),IF(AND(D22="No",D13="YES"),IF(D31=3,"MAXIMUM",IF(D31=2,"TARGET","THRESHOLD")),IF(AND(D22="Yes",D13="No"),IF(D31>=10,"MAXIMUM",IF(D31>=8,"TARGET","THRESHOLD")),"Invalid Criteria")))

+ 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. Replies: 7
    Last Post: 10-18-2016, 02:13 PM
  2. Formula for summing on multiple row criteria and a dynamic column criteria
    By ianswilson815 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2016, 01:58 PM
  3. Replies: 0
    Last Post: 10-14-2015, 03:10 AM
  4. Replies: 3
    Last Post: 04-21-2015, 07:45 AM
  5. Replies: 7
    Last Post: 07-07-2014, 09:48 AM
  6. [SOLVED] IF Formula returns #N/A even when criteria if criteria not met
    By Ellice16 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-11-2013, 10:51 PM
  7. Replies: 1
    Last Post: 05-16-2011, 05:00 PM

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