+ Reply to Thread
Results 1 to 8 of 8

Issues with IF Formula with multiple conditions

Hybrid View

  1. #1
    Registered User
    Join Date
    03-15-2013
    Location
    Montreal
    MS-Off Ver
    Excel 2010
    Posts
    27

    Issues with IF Formula with multiple conditions

    Hello everyone,

    Basically this is a table to verify if an employee has submitted all the required documents for their position. There are 3 options Y (Yes) N (No) NA (Not applicable) (The NA is for documents that are not pre requisites for a given position)

    The IF formula in C5 is supposed to tell me
    IF every field is marked as either Y or NA, then “YES” all files have been rec’d and conversely if they weren’t a “NO”.

    My problem is: There is a “N” in my fields from H3:X3 it returns FALSE instead of my chosen “NO” for my if_false. I’m not sure why I have played with it a few times but it doesn’t work. Ultimately the false provides me with the same information but since this is dealing with over 9000 rows I’d like to verify the formula works correctly. Any help is appreciated, thanks!

    Best regards,

    Dawson GForumHELP.jpg

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Issues with IF Formula with multiple conditions

    how about this:

    =IF(COUNTIF(H3:W3,"N"),"No","Yes")
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    03-15-2013
    Location
    Montreal
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Issues with IF Formula with multiple conditions

    that will work to identify the N. but i need the formula to be able to do both. If all fields are either Y or NA then its YES but If it counts any N its no. or are you thinking to integrate the two of them? my long IF(AND(OR with the countif?

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Issues with IF Formula with multiple conditions

    As you say here:

    "If all fields are either Y or NA then its YES but If it counts any N its no"

    This is exactly what my formula provides. Note that the formula will not count the "N" that is in "NA". (Please try it.)

    Is there something else you wanted it to do?

  5. #5
    Registered User
    Join Date
    03-15-2013
    Location
    Montreal
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Issues with IF Formula with multiple conditions

    The formula works great but im not sure how to integrate it with the current formula in C5. i want the one cell to be able to give the answer. am i just not seeing it?

    side note: my IF(AND(OR formula in cell C5 i tried to shorten it by having each condition apply to H3:W3 as opposed to each column individually but i was getting an error. i could format the sheet and post a condensed version if it helps. (the original is not only big but it contains employees personal info). thanks again

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

    Re: Issues with IF Formula with multiple conditions

    I believe the suggested formula is intended to 'Replace' the existing formula from C5.
    Not to be 'integrated' into it.

  7. #7
    Registered User
    Join Date
    03-15-2013
    Location
    Montreal
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Issues with IF Formula with multiple conditions

    Yup that worked. Of course I was so busy trying to complicate things I didn't step back and realize the new formula will replace the same criteria from the other. Thanks for pointing out what I refused to see, much appreciated!

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

    Re: Issues with IF Formula with multiple conditions

    Glad to help.

+ 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. 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
  2. [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
  3. Multiple issues with RANK formula
    By baka gaijin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-31-2012, 11:41 PM
  4. Issues with averaging 3 values with conditions applied
    By mcaanda in forum Excel General
    Replies: 10
    Last Post: 11-21-2010, 03:25 PM
  5. Excel 2007 : Multiple Conditions In Formula
    By boohah in forum Excel General
    Replies: 6
    Last Post: 05-11-2009, 02:32 AM

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