Computing.Net > Forums > Office Software > VLOOKUP query

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VLOOKUP query

Reply to Message Icon

Name: gemb82
Date: June 4, 2009 at 09:17:09 Pacific
OS: Windows 2000 professional
Subcategory: Microsoft Office
Comment:

Hi, I'm doing a very simple VLOOKUP (because my knowledge is simple so it doesn't get more advanced!), however, when I do the simple VLOOKUP(cell,list,column,FALSE) formula, for the some of the cells it returns an #N/A value when I know that what it is looking for is there. For example, if I had a list of 1 to 10 and I ask it to look for 2 in a table where 2 is clearly present and return the relevant value, it is returning an #N/A when I can quite clearly see it should be returning a value.

However it is not returning a blanket #N/A, so in some cases it is finding what I am asking it to, but in others it is not, when I can't see any reason why it's not picking it out?

If anyone has any advice of how I need to get round this probably rather novice issue that'd be great!

Thanks for your help



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: June 4, 2009 at 10:21:49 Pacific
Reply:

While your question is quite clear, there's not much help we can offer since we can't see your spreadsheet or formula from here.

At a minimum, post your formula so we can see the actual construction.

The one thing I can suggest is a quick test to see if the value you are looking up is really in the list (the lookup_array).

- Let's say your lookup_array is in A1:A10.
- Let's say the lookup_value is in C1.
- Let's say you see a 2 in A5, but your VLOOKUP returns #N/A when you put a 2 in C1.

Try this:

With the 2 in C1, enter this in an empty cell:

=A5=C1

If they both contain a 2, this will return TRUE. If you get a FALSE, the 2 in A5 probably just looks like a 2.



0

Response Number 2
Name: gemb82
Date: June 8, 2009 at 00:57:44 Pacific
Reply:

Hi there

Thanks for getting back to me.

I tried the test and picked two cells (where I'm currently getting an #N/A value when I do the VLOOKUP)that had the same value in, and it does state TRUE, so I'm not sure where to head from here.

I'm a bit sensitive about posting the spreadsheet itself as it's not my data to be posting, but the formula is constructed as follows, where "building" is the name of the table it is looking in.

=VLOOKUP(B2,building,2,FALSE)

Any further advise would be appreciated.

Thanks


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: VLOOKUP query

Date matching using VLOOKUP www.computing.net/answers/office/date-matching-using-vlookup/5630.html

Access Combo Query Filter www.computing.net/answers/office/access-combo-query-filter/3687.html

MS Access Querying.. www.computing.net/answers/office/ms-access-querying/1742.html