+ Reply to Thread
Results 1 to 5 of 5

IF (possibly OR) Formula assistance - multiple conditions

  1. #1
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    IF (possibly OR) Formula assistance - multiple conditions

    Hello,

    I have made many attempts using a variety of IF, AND, OR combination statements to try and yield the results i'm looking for but have only partially or completely failed so i'm hoping someone can lend me a hand and let me know what i'm missing here.

    I have three basic conditions on the attachment to yield a result in cell B32, they are as follows:

    If B29 = Y, then B32 = $600
    If B29 = N, then B32 = $300
    If B29 = N/A, then B32 = ""

    That part is relatively simple for me to figure out, it's when I add these extra elements that I'm having trouble stacking formulas to get the results I need which are the following:

    If B27 = Exempt, then B32 = ""
    If B27 = NonExempt and If B29 = Y, then B32 = $600 OR If B29 = N, then B32 = $300
    If B27 = Mixed and If B29 = Y, then B32 = $600 OR If B29 = N, then B32 = $300 OR if B31 = B13, B32 = ""

    Not really sure how I can combine all that above into a single formula or if this is wishful thinking

    Thanks ahead of time!
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,795

    Re: IF (possibly OR) Formula assistance - multiple conditions

    If B29 = Y, then B32 = $600
    If B29 = N, then B32 = $300
    If B29 = N/A, then B32 = ""

    Working backwards

    B32 result is - ""
    if
    B29 = N/A OR B27 = Excempt OR B31 = B13

    B32 result is $300
    IF
    B29 = "N" is the only option

    Otherwise , i dont understand your logic
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    08-14-2013
    Location
    D
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: IF (possibly OR) Formula assistance - multiple conditions

    =IF(B29="Y",600,IF(B29="N",300,IF(OR(B29="N/A",B27="Exempt",B31=B13),"",IF(AND(B27="NonExempt",B29="Y"),600,IF(AND(B27="NonExempt",B29="N"),300,IF(AND(B27="Mixed",B29="Y"),600,300))))))

    above formula meets most requirements but you need to clarify some things.

    Ie you say that If B29 = Y, then B32 = $600, but you also say that if B31=B13, then B32="", and in the spreadsheet you have attached both those are true so you cannot have both those scenarios execute. Most likely what you need to do is say that if B13=B31, then B29 cannot equal Yes.

    Same with if B27 = Exempt, where if B29=Y, which takes precedence? I assume same where if B27=Exempt then B29 should be auto set to "N/A". You have to do dependent lists in order to accomplish the above things.

    If the form is internal (ie only you will use it) and you will auto set B29 to the correct value then you don't have to worry about the above things but if multiple people are using it, you have to fix it. I would recommend fixing it even if you're the only one using it so you don't make a mistke.

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,913

    Re: IF (possibly OR) Formula assistance - multiple conditions

    Try formula below.

    =IFERROR(CHOOSE(MATCH(B29,{"N/A","Y","N"},0)*(B27<>"Exempt")*(B31<>B13),"",600,300),"")

  5. #5
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    Re: IF (possibly OR) Formula assistance - multiple conditions

    thanks CK, this did the trick!

+ 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. Assistance with CountIF formula and additional formula conditions
    By solios in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-18-2016, 01:46 PM
  2. [SOLVED] VLOOKUP formula with multiple criteria (possibly INDEX/MATCH instead?)
    By Alphabex in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-03-2016, 04:09 AM
  3. Assistance with multiple IF conditions
    By babyjohnson in forum Excel General
    Replies: 3
    Last Post: 08-28-2016, 03:57 AM
  4. [SOLVED] Is there a formula (possibly similar to VLOOKUP) that will return multiple results?
    By SilverUnicorn79 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-16-2016, 04:33 PM
  5. [SOLVED] Array assistance (possibly?)
    By GaidenFocus in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-27-2012, 03:08 PM
  6. Replies: 1
    Last Post: 07-16-2012, 12:22 PM
  7. Replies: 2
    Last Post: 04-05-2010, 05:13 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