+ Reply to Thread
Results 1 to 8 of 8

referencing current row in VLookup

  1. #1
    Registered User
    Join Date
    06-17-2014
    Location
    canada
    MS-Off Ver
    2013
    Posts
    24

    referencing current row in VLookup

    i have a table of unique work orders. Each one with a different number. On Sheet 2 I have a list of work orders with quantities, but not in the same order. the formula below is returning error #N/A

    =VLOOKUP("C" &ROW(),Sheet2!A:H,6,FALSE)

    what am I missing?

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: referencing current row in VLookup

    try:
    =VLOOKUP(INDIRECT("C"&ROW()),Sheet2!A:H,6,0)

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: referencing current row in VLookup

    Try with INDEX
    =VLOOKUP(INDEX(C:C,ROW()),Sheet2!A:H,6,FALSE)

  4. #4
    Registered User
    Join Date
    06-17-2014
    Location
    canada
    MS-Off Ver
    2013
    Posts
    24

    Re: referencing current row in VLookup

    both still give the same error

  5. #5
    Registered User
    Join Date
    06-17-2014
    Location
    canada
    MS-Off Ver
    2013
    Posts
    24

    Re: referencing current row in VLookup

    okay, number was stored as text -.-

    thank for your help

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: referencing current row in VLookup

    #N/A means no match was found in Sheet2 column A for the lookup value.
    Check your data for exact match, check spelling and look for extra spaces like " hello" or "hello "

    Maybe attach a sample file

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: referencing current row in VLookup

    You're welcome.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: referencing current row in VLookup

    If that takes care of your original question, please click on Add Reputtion (bottom left corner of the post of the person(s) who helped you) then select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED. Thanks.

+ 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. Cell referencing the current month same workbook but between two worksheets
    By QuintonMcCloud in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-12-2015, 06:56 AM
  2. Excel Macro not referencing current tab
    By skhmund in forum Excel Programming / VBA / Macros
    Replies: 41
    Last Post: 12-20-2012, 10:47 PM
  3. Referencing relative cells (current row)
    By jirib in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-05-2011, 02:46 PM
  4. Referencing current worksheet index number
    By pooley343 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2011, 09:52 AM
  5. referencing the current sheet
    By Beezer in forum Excel General
    Replies: 7
    Last Post: 01-04-2010, 11:02 PM
  6. Replies: 2
    Last Post: 05-15-2007, 10:18 AM
  7. [SOLVED] Referencing code outside of current sheet
    By nemadrias in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-29-2006, 03:30 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