+ Reply to Thread
Results 1 to 4 of 4

Nested if functions issue

  1. #1
    Forum Contributor
    Join Date
    08-22-2016
    Location
    london
    MS-Off Ver
    2013
    Posts
    121

    Nested if functions issue

    I am trying to use a nested IF vlookup function,

    the formula checks whether the cell is less than 100, if it is then vlookup a workbook, if not then vlookup a different workbook, this works fine, however, i cannot seem to clear the #N/A from the empty cell

    here is the formula :-

    =IF(D393<100,VLOOKUP(D393,'M:\COMMUNAL\Rolling Stock\Fleet Planning\[Production Plan V4 DW.xlsm]Exam shedule'!$A$2:$E$152,4,FALSE),VLOOKUP(D393,'M:\COMMUNAL\Rolling Stock\Fleet Planning\[Production Plan V4 DW.xlsm]Exam shedule'!$A$2:$E$152,5,FALSE))

    i have attempted to use ISNA, but because of the "D393<100 at the beginning of the formula it doesnt work

    does anybody have any suggestions?
    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 functions issue

    Try

    =IFERROR(IF(D393<100,VLOOKUP(D393,'M:\COMMUNAL\Rolling Stock\Fleet Planning\[Production Plan V4 DW.xlsm]Exam shedule'!$A$2:$E$152,4,FALSE),VLOOKUP(D393,'M:\COMMUNAL\Rolling Stock\Fleet Planning\[Production Plan V4 DW.xlsm]Exam shedule'!$A$2:$E$152,5,FALSE)),"")

  3. #3
    Forum Contributor
    Join Date
    08-22-2016
    Location
    london
    MS-Off Ver
    2013
    Posts
    121

    Re: Nested if functions issue

    excellent, worked a treat, thank you.

    i had previously tried IFERROR, but i had replaced the IF function with it

  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 functions issue

    You're welcome.

+ 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] Weird randomisation issue with nested rand() functions
    By qdtruong in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-13-2015, 01:10 PM
  2. [SOLVED] Issue with nested IF functions
    By Red Dog in forum Excel General
    Replies: 5
    Last Post: 05-06-2015, 03:20 AM
  3. Replies: 6
    Last Post: 03-17-2015, 01:35 AM
  4. [SOLVED] Too Many Nested if and functions HELP
    By chriswiec in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-30-2012, 09:43 PM
  5. [SOLVED] Nested Functions
    By Steve Almond in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  6. [SOLVED] Nested IF and MID functions
    By Jan Buckley in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. nested if(and) functions
    By Rohan in forum Excel General
    Replies: 3
    Last Post: 08-11-2005, 09:05 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