+ Reply to Thread
Results 1 to 5 of 5

VLOOKUP Problem

  1. #1
    Registered User
    Join Date
    05-23-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    15

    VLOOKUP Problem

    In the sample attached I have a vlookup pulling from a seperate sheet. I have the cells formatted as text so I use the LEFT function to find a value. I keep getting #N/A in spots where I have no idea why. Any help would be great.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: VLOOKUP Problem

    Hi look into attachment. there is a lack of False in your formula
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Registered User
    Join Date
    05-23-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: VLOOKUP Problem

    Awesome! One problem though, on adding the False to columns F,H, and I's formula, it still resulted in #N/A. Any ideas how to fix that?

  4. #4
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: VLOOKUP Problem

    The CC numbers in Master sheet are not found in Cost Centre sheet
    If I helped, please don't forget to add to my reputation. (click on the star below the post)

    If the problem is solved, please: Select Thread Tools (on top of your 1st post) -> Mark this thread as Solved.

    Failure is not falling down but refusing to get up.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: VLOOKUP Problem

    The reason for #N/A in cell G9 is because 627740 is found in cell A2 on the searched sheet.
    Your formula is =VLOOKUP(LEFT(Master!$C9,6),'GL Acct. Code'!$A$7:$D$50,4,0)
    The searched range starts on row 7 - 5 rows below the match

    Same for cell G12's #N/A - the match is in row 5 - 2 rows above the searched range
    Adjust the range within the VLOOKUP() to include all rows to be searched

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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