+ Reply to Thread
Results 1 to 4 of 4

Nested IF with Vlookup isn't calculating correctly

  1. #1
    Forum Contributor
    Join Date
    06-26-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    136

    Nested IF with Vlookup isn't calculating correctly

    For the life of me I cannot figure out what is going on with this workbook.

    I have the same exact formula for all the cells in column F but with one specific instance it is calculating $18 under what it should. I have attached the workbook and I am looking at cell F47 on the Renewal Chart Tab as an example.
    The problem happens to all rows with the Type (Column B) set as "2B10".

    I've looked at formating but it all looks correct. Please let me know if you can help or have questions because this is driving me nuts!
    Thanks in Advance!
    Attached Files Attached Files

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

    Re: Nested IF with Vlookup isn't calculating correctly

    Add the FALSE as the 4th argument in ALL the vlookups in your formula.

  3. #3
    Forum Contributor
    Join Date
    06-26-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    136

    Re: Nested IF with Vlookup isn't calculating correctly

    That seems to have worked. I don't get why it was only happening on that one Type though and where the 18 came from?

    Thanks!

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

    Re: Nested IF with Vlookup isn't calculating correctly

    With the FALSE omitted, it is assumed to be TRUE

    When TRUE is used as the 4th argument in vlookup, it does a 'closest' match type of lookup.
    And this requires the data in the range to be sorted in Ascending order, which is not the case in your data.

    When TRUE is used on UNsorted data, all kinds of very wierd things can happen. Including returning the value you actually expected, though it's purely coincidental.

+ 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. Cells not calculating correctly?!
    By Blackhawks in forum Excel General
    Replies: 8
    Last Post: 08-28-2016, 12:21 PM
  2. [SOLVED] Vlookup not calculating correctly
    By Sonal518 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2015, 07:37 AM
  3. Nested IF is not working correctly.
    By nihar sharma in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-23-2014, 04:44 PM
  4. Nested IF is not working correctly.
    By nihar sharma in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-20-2014, 06:01 AM
  5. [SOLVED] Nested INDIRECT Command Not Populating Correctly
    By lordfa9 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-17-2014, 11:40 PM
  6. [SOLVED] Simple nested IF statement not working correctly
    By bassemsaad in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-04-2013, 08:53 AM
  7. sumproduct not calculating correctly
    By icee in forum Excel General
    Replies: 8
    Last Post: 06-11-2009, 06:11 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