+ Reply to Thread
Results 1 to 2 of 2

Nested IF formulas returning incorrect values

  1. #1
    Registered User
    Join Date
    08-03-2022
    Location
    Oxford, UK
    MS-Off Ver
    Online
    Posts
    1

    Nested IF formulas returning incorrect values

    I'm using a nested IF formula to return the highest number reached in a task: =IF(AF3 > 0,15,IF(AE3 > 0,11,IF(AD3 > 0,6,IF(AC3 > 0,4,IF(AB3 > 0,3,"N/A")))))

    If the value in any column AB3-AF3 is not zero, I would like it to return the appropriate number for that column. (AF3 = 15, AE3 = 11, AD3 = 6, AC3 = 4 and AB3 = 3)

    However, as you can see in the picture - the formula is returning the incorrect values for some rows. For example, the highest number reached in the fourth row was 3, but the formula is returning "6".
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,981

    Re: Nested IF formulas returning incorrect values

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

    Your Office version is MS365 - please update your forum profile. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Match Function Returning NA and Incorrect Values
    By Fugdkn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-11-2020, 03:35 PM
  2. [SOLVED] INDEX & 2x MATCH returning incorrect values
    By Dan_B in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-06-2017, 06:01 AM
  3. [SOLVED] Consolidate returning some incorrect SUM values
    By tonkjl in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-30-2016, 04:38 PM
  4. [SOLVED] MEDIAN IF Function returning incorrect values
    By karinprft in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2014, 03:48 AM
  5. Index match returning incorrect values
    By Mrpussalia in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 10:55 PM
  6. Median if returning incorrect values
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2012, 09:39 AM
  7. VLookup returning incorrect values?
    By hijinxx in forum Excel General
    Replies: 3
    Last Post: 05-24-2012, 05:47 AM

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