+ Reply to Thread
Results 1 to 5 of 5

Nested IF/AND functions... Multiple Conditions

  1. #1
    Registered User
    Join Date
    11-03-2015
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2010
    Posts
    63

    Question Nested IF/AND functions... Multiple Conditions

    Hey y'all... Please help me out. I am having difficulty getting my formula to work when I have multiple IF and AND conditions for a formula.

    I am trying to do this with the attached:

    if (D4) = 2301 2303 2304 2305
    and (I12) = Yes
    TRUE then (I13) F12-F15-5000
    FALSE then (I13) F12-F15


    Book3.xlsx

  2. #2
    Registered User
    Join Date
    11-03-2015
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Nested IF/AND functions... Multiple Conditions

    I am trying to use:

    Please Login or Register  to view this content.
    but it's not working for me.

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

    Re: Nested IF/AND functions... Multiple Conditions

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

  4. #4
    Registered User
    Join Date
    11-03-2015
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Nested IF/AND functions... Multiple Conditions

    Thank you!

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

    Re: Nested IF/AND functions... Multiple Conditions

    Does D4 contain those 4 values separated by commas? If so, then they will be treated as text values so you need to put quotation marks around them in your formula, like this:

    =IF(AND(D4="2301,2303,2304,2305",I12="Yes"),F12-F15-5000,F12-F15)

    If D4 only contains one 4-digit number, but it could be one of the 4 listed, then you can do it this way:

    =IF(AND(ISNUMBER(MATCH(D4,{2301,2303,2304,2305},0)),I12="Yes"),F12-F15-5000,F12-F15)

    I've removed some unnecessary brackets.

    Hope this helps.

    Pete

+ 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: 6
    Last Post: 03-17-2015, 01:35 AM
  2. Nested If loop with multiple conditions
    By schaasyd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2012, 08:16 AM
  3. Need to create nested IF's with multiple conditions
    By hruski in forum Excel General
    Replies: 1
    Last Post: 05-05-2011, 06:52 PM
  4. Replies: 5
    Last Post: 07-14-2009, 11:22 AM
  5. Multiple conditions in nested IF statements
    By havfunonline2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-09-2009, 05:36 AM
  6. [SOLVED] Nested IF functions and 3 conditions
    By Dixie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-22-2005, 12:06 AM
  7. [SOLVED] how do I use multiple nested functions?
    By TeeJay in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2005, 02:06 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