VLOOKUP problem (N/V)

  • Thread starter Thread starter Mortir
  • Start date Start date
M

Mortir

I have 2 sheets. In one i make calculations in other i have data
(DataSheet)

Id like to extract exact data from my data sheet. I have unique
identifiers in both sheets for the same items, so I tried to extract
data using vlookup:

=VLOOKUP(R3;'DataSheet'!1:22;7;FALSE)

in cell R3 is the unique id. (for example: ES0313860159) - and exactly
the same ID is in the 'DataSheet'

but then instead of getting the value from column 7 in DataSheet which
i was looking for i get the result N/V

whats wrong?
 
Maybe the value on one or other sheets has leading or trailing spaces.

Check them both out using =LEN(cell)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Maybe the value on one or other sheets has leading or trailing spaces.

Check them both out using =LEN(cell)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)









- Show quoted text -

checked - there are no spaces
 
Your table range is set up for rows 1:22 - you probably need to set
this for columns A:V, or change the VLOOKUP to HLOOKUP.

Hope this helps.

Pete

 
Your table range is set up for rows 1:22 - you probably need to set
this for columns A:V, or change the VLOOKUP to HLOOKUP.

Hope this helps.

Pete



- Show quoted text -

no still not working. i tried EXACT on both IDs and it returns TRUE,
so the to IDs must be the same... i just dont get it. I also tried
MATCH, which also returns N/V... is there a problem with the ID being
to long to work or what else could be the problem...
 
Maybe the value on one or other sheets has leading or trailing spaces.

Check them both out using =LEN(cell)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)









- Show quoted text -

guys forget it. I made the mistake - i forgot that the lookup value
should be in the FIRST column of the array (banging the head against
the wall!!!)

10x for your help!
 
OK. Glad you got it working.

Pete

guys forget it. I made the mistake - i forgot that the lookup value
should be in the FIRST column of the array (banging the head against
the wall!!!)

10x for your help!- Hide quoted text -

- Show quoted text -
 
That works fine Pete.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



Your table range is set up for rows 1:22 - you probably need to set
this for columns A:V, or change the VLOOKUP to HLOOKUP.

Hope this helps.

Pete

 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top