+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Vlookup and/or Iserror Funtion Question

Hybrid View

  1. #1
    Registered User
    Join Date
    08-15-2011
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    3

    Vlookup and/or Iserror Funtion Question

    Hello,

    Based on an ID system, I used vlookup to get dollar amounts from four different worksheets because they're categorized. Now my main worksheet has the ID column and four columns representing each category. Since the first column represents the ID numbers, each ID row only has one correct value, while the other three values in each row are "#N/A".

    Somehow, I would like to write a function that searches each ID row and only returns a value if it is not "#N/A".

    Can somebody please help me?

    Thank you,
    Ract

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Vlookup and/or Iserror Funtion Question

    hi rbubba117, welcome to the forum. i dont know how your VLOOKUP formula looks like, so i'll just bold the VLOOKUP formula u are supposed to insert:
    =if(isna(VLOOKUP),"",VLOOKUP)

    upload your file if this doesnt help

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    08-15-2011
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Vlookup and/or Iserror Funtion Question

    Thank you for the quick response, but I am still confused.

    I have attached my file to show what exactly I am trying to do.

    Any additional help would be greatly appreciated!

    rbubba117
    Attached Files Attached Files

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Vlookup and/or Iserror Funtion Question

    maybe like this.(iserror)vlookupxl2003-rbu.xls
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Vlookup and/or Iserror Funtion Question

    are your worksheets really named Cat 1 to Cat 4? if so, u can use this 1 formula at B2 & paste it to the rest:
    =IF(ISNA(VLOOKUP($A2,INDIRECT("'Cat "&COLUMN(A2)&"'!$A$1:$B$3"),2,FALSE)),"",VLOOKUP($A2,INDIRECT("'Cat "&COLUMN(A2)&"'!$A$1:$B$3"),2,FALSE))
    if not, u can use this at B2 & paste to the rest but u need to find & replace Cat 1 to Cat 2/3/4 for each different columns:
    =IF(ISNA(VLOOKUP($A2,'Cat 1'!$A$1:$B$3,2,FALSE)),"",VLOOKUP($A2,'Cat 1'!$A$1:$B$3,2,FALSE))
    ISERROR as mentioned from vlady works as well. it's just a personal preference of mine to only make sure other errors other than #N/A gets highlighted for VLOOKUP

  6. #6
    Registered User
    Join Date
    08-15-2011
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Vlookup and/or Iserror Funtion Question

    benishiryo & vlady,

    Thank you both for your help! I have given you both great ratings.

    Thanks again,
    rbubba117

  7. #7
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Vlookup and/or Iserror Funtion Question

    glad to help, rbubba~ =)
    could u go to the thread tools -> Mark this thread as Solved

    thanks for the rep too!

+ 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