+ Reply to Thread
Results 1 to 4 of 4

Simple nested IF statement not working correctly

  1. #1
    Registered User
    Join Date
    07-31-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Simple nested IF statement not working correctly

    Employee Data.xlsx
    I am building a tracking tool to show me whether a certain ID occurs in other tabs or not.
    The formula at the bottom works for all 3 cases for 85% of the rows, but I get #VALUE! error for the rest.

    BACKGROUND:
    Each tab contains IDs from different sources, and the first tab, TOTAL, has all the IDs that exist in all other tabs.
    TOTALS is a checklist that shows if the IDs listed in it occurs in each of the tabs
    For most tabs, I use the formula
    Please Login or Register  to view this content.
    , which shows whether that name occurs in the Attendance tab "Y" or not "N".

    PROBLEM:
    For one specific tab, if the ID is not in that tab , put "N", OR the ID is there but there is a certain value in column "Form6", put "6", otherwise, put "Y".
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    07-02-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    197

    Re: Simple nested IF statement not working correctly

    Maybee you need the IFERROR fomula.

    See attached:
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-31-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Simple nested IF statement not working correctly

    Thanks for your fast reply, Rambo.

    The IFERROR formula did not solve the underlying issue.
    Sheet TOTAL Cell H17 (for ID99) contains "6" instead of "Y", since this ID exists in Sheet SI, and column J does not contain a"Y"
    Cell H18 (for ID100) contains "Y" instead of "N", which it should since this ID exists in Sheet SI, and column J contains a "Y"

    Does you have an idea why this occurs?

  4. #4
    Registered User
    Join Date
    07-31-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Simple nested IF statement not working correctly

    I changed the formula to
    Please Login or Register  to view this content.
    and it works fine now. =)

+ 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. [SOLVED] Can't get nested Loop to copy range values from 2 tables working correctly
    By gtol in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2013, 12:01 PM
  2. Replies: 9
    Last Post: 03-08-2013, 11:50 AM
  3. [SOLVED] Nested IF statement using Lookup is not working
    By DPKologie in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-22-2012, 07:36 PM
  4. nested IF statement not working
    By piquet2759 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2009, 07:03 PM
  5. Simple nested IF statement?
    By bartsimpson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2007, 10:10 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