+ Reply to Thread
Results 1 to 6 of 6

Multiple conditions not working in OR formula

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

    Exclamation Multiple conditions not working in OR formula

    Hey Y'all

    I am having problems getting the formula I am using to consider all the values of K3. when 1 account # is used, I have no problem.

    GAP REQD
    Please Login or Register  to view this content.
    AMT REQD
    Please Login or Register  to view this content.
    I HAVE ALSO TRIED THE FOLLOW FOR GAP REQD:
    Please Login or Register  to view this content.
    I am looking to do the following:

    GAP REQUIRED
    IF ACCOUNT # (K3) = 2301 2303 2304 2305 OR 6900
    IS TRUE AND IF LKFCA (M13) + 5000 IS LESS THAN REQUIRED CVG (M10) = YES, (IF FALSE = N/A)
    IS FALSE AND IF LKFCA (M13) IS LESS THAN REQUIRED CVG (M10) = YES, IF FALSE = N/A

    AMOUNT REQUIRED
    IF ACCOUNT # (K3) = 2301 2303 2304 2305 OR 6900
    IS TRUE AND GAP REQD = N/A = NOTHING
    IS FALSE REQD CVG (M10) - LKFCA (M13)

    I have tried different ways of nesting the formulas, I have tried interchanging and and or, I have tried with 2 account #'s... I am at a complete loss and would appreciate any assistance.


    http://www.excelforum.com/attachment...1&d=1465238017
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,664

    Re: Multiple conditions not working in OR formula

    Have you tried this:
    .....or(K3=2301,K3=2303,K3=2304,K3=2305).....
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple conditions not working in OR formula

    I think OR is the way to go.
    And each argument (separated by commas) of the OR needs to be a complete/separate expression

    OR(K3=2301,K3=2303,K3=2304,K3=2305,K3=6900)

    There's a shortcut method that works like this
    OR(K3={2301,2303,2304,2305,6900})

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

    Re: Multiple conditions not working in OR formula

    Hi
    Try this in G30
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Proceed in the same way for the other formulas.

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

    Re: Multiple conditions not working in OR formula

    I feel silly,

    Everyone's suggestion worked, thank y'all so much!

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple conditions not working in OR formula

    You're welcome.

+ 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: 2
    Last Post: 01-14-2016, 03:53 PM
  2. 3 multiple conditions with multiple criteria formula help
    By rmnk101190 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-29-2013, 04:37 PM
  3. [SOLVED] Require the VBA codes working to verify and complete the task of multiple conditions
    By PRADEEPB270 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-18-2013, 10:57 AM
  4. [SOLVED] Syntax for formula that uses multiple conditions inside of multiple IF statements
    By njmiller31 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2013, 11:55 AM
  5. Formula string for multiple conditions not working.
    By tkc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-16-2012, 02:42 PM
  6. [SOLVED] MULTIPLE CONDITIONS FORMULA
    By TLAngelo in forum Excel General
    Replies: 3
    Last Post: 05-01-2006, 08:55 PM
  7. Multiple Conditions Setup with an Array?? Not Working??
    By TEAM in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 07: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