+ Reply to Thread
Results 1 to 8 of 8

Nested If iserror with V lookup?

  1. #1
    Registered User
    Join Date
    07-03-2009
    Location
    Northants, UK
    MS-Off Ver
    Excel 2003
    Posts
    7

    Nested If iserror with V lookup?

    Morning All,

    I was wondering if someone could help me with the follwing formula, thats been buggin me for the past few days,

    Im trying to do the following if this returns an error :
    (VLOOKUP($B105,[Branches.xls]Branches!$B$3:$S$2000,18,FALSE

    look at this :
    (VLOOKUP($B105,[Branches.xls]Branches!$A$3:$S$2000,19,FALSE

    if this also returns an error put a "-" in.

    Whichever combination of formula i use i end up with "-" everywhere or #N/A's

    Any help would be greatly appreciated.

    Cheers

    Barney
    Last edited by barneyc; 07-03-2009 at 07:16 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,042

    Re: Nested If iserror with V lookup?

    You can write:

    =IF(ISNA(formula1), formula2, formula1)
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    07-03-2009
    Location
    Northants, UK
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Nested If iserror with V lookup?

    Quote Originally Posted by Stormseed View Post
    Welcome to Exceltip forum, Barney.

    Question Not clear.
    I do not quite understand what you are trying to accomplish. Could you please upload your workbook (after deleting any sensitive data) with a brief detail about what you need to achieve alongwith your expected results ?

    Stormseed,

    Thanks for your help, i have uploaded an example of my spreadsheet.
    What i want to do is where the formula cant find the branch and produces a #N/A i would like to put a "-" in. Obviously without affecting its ability to pick up from the other two ranges.

    Hope that makes more sense.

    Cheers

    Barney
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-03-2009
    Location
    Northants, UK
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Nested If iserror with V lookup?

    Quote Originally Posted by Stormseed View Post
    Hi Barney

    I am sorry for this dirty long formula but I hope that it will do exactly what you look forward to accomplish Please check the attachment.

    Is this what you want ?
    Thats exactly what i want, thanks very much for your help.

    Cheers

    Barney

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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