+ Reply to Thread
Results 1 to 6 of 6

VLOOKUP issues

  1. #1
    Registered User
    Join Date
    07-16-2010
    Location
    America
    MS-Off Ver
    Excel 2000
    Posts
    6

    Smile VLOOKUP issues

    =VLOOKUP(G44,KS!$A$1:$D$26668,3,FALSE)

    I'm using that formula in cell F44 of worksheet1. On worksheet KS There are 26000 part numbers in column A, and in Column C (3) there are the corresponding prices. I have the part number entered in G44 of worksheet1, trying to return the price for that part number, but I get a #N/A error. If I copy the part number and go to the other worksheet and paste it into the find box, the part number line comes up with the price, etc. So the part number is correct and on the reference worksheet, but its not returning in the vlookup. Any ideas why this may be?

    Thanks in advance!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: VLOOKUP issues

    Different format types are my first guess, could you supply an abbreviated example of the workbook?

  3. #3
    Registered User
    Join Date
    07-16-2010
    Location
    America
    MS-Off Ver
    Excel 2000
    Posts
    6

    Re: VLOOKUP issues

    Yeah, let me get one together. The KS worksheet I copied and pasted the data from an access database.

  4. #4
    Registered User
    Join Date
    07-16-2010
    Location
    America
    MS-Off Ver
    Excel 2000
    Posts
    6

    Re: VLOOKUP issues

    I figured it out putting together the example. I was using the formula without the absolute references. On a related note, how would I set up an IF formula to VLOOKUP the value in H44 if G44 returned a #N/A result?

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: VLOOKUP issues


  6. #6
    Registered User
    Join Date
    07-16-2010
    Location
    America
    MS-Off Ver
    Excel 2000
    Posts
    6

    Re: VLOOKUP issues

    Quote Originally Posted by davesexcel View Post
    Thank you. I read it and am trying this formula.

    =IF(ISNA(VLOOKUP(G19,KS!$A$1:$D$26668,3,FALSE)),"VLOOKUP(H19,KS!$A$1:$D$26668,3,FALSE))",VLOOKUP(G19,KS!$A$1:$D$26668,3,FALSE))

    When I use this formula, if there is no value in the G column, it simply puts the formula to vlookup the h column in as text in the cell. Is there a way I can make it perform the formula instead of just displaying it?

+ 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