Excel Guru's. Vlook...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Excel Guru's. Vlookup and Find not identifying values

12 Posts
10 Users
0 Reactions
98 Views
 benz
Posts: 1143
Free Member
Topic starter
 

I have downloaded data from 2 systems, and am using an - outwardly common data point to match Supplier in one system with spend associated with Supplier from another system.

I am using the Supplier name as the common data point.

However, although the formatting in the cells is the same, Vlookup is not recognising and is returning #na.

Additionally, if I try to use find function, the values cannot be found.

But, if I find using filter, unless I type in the supplier name (or start of it) it is not recognised.

I have tried trim function on both sets of data..

Any thoughts?

Help!


 
Posted : 03/06/2020 9:20 am
 ji
Posts: 1415
Free Member
 

Extra spaces before/after the data? Vlookup is very particular, whereas search will find the item even with an extra space


 
Posted : 03/06/2020 9:22 am
Posts: 4985
Full Member
 

Check cell data types match, try ordering the data alphabetically.


 
Posted : 03/06/2020 9:22 am
Posts: 318
Free Member
 

#na says teh forumla is working. IS teh data in the cells the correct format. ie number not text etc?? I sometimes need to put a ' in front to make excel register the number, concatenate if i need to work with a large data set


 
Posted : 03/06/2020 9:28 am
Posts: 3652
Full Member
 

Does the formula work if you add a line for a made up supplier of "TEST" and try to vlookup for that?


 
Posted : 03/06/2020 9:29 am
Posts: 3652
Full Member
 

sometimes need to put a ‘ in front to make excel register the number,

The OP is using supplier name which should be text, unless all of the suppliers happen to have names that are 100% numeric.


 
Posted : 03/06/2020 9:30 am
Posts: 822
Free Member
 

Does MATCH() find the data?


 
Posted : 03/06/2020 9:34 am
Posts: 167
Free Member
 

I'm not an Excel guru by any stretch, but I've had a similar problem in the past. Try double clicking in the cell and selecting (highlighting) the value you want to find, then ctrl+c to copy it, then paste it into the find box. This has worked for me in the past, when simply typing the value in wouldn't.


 
Posted : 03/06/2020 9:39 am
Posts: 318
Free Member
 

@bails yeah I'm still to have my morning coffee 🙂

Has the OP also just simply done a find to make sure the supplier names are the same?


 
Posted : 03/06/2020 9:47 am
Posts: 305
Free Member
 

so either the formula isn't typed properly or there is some anomaly with the text. eg some variation of lower case and upper case or spaces?


 
Posted : 03/06/2020 11:58 am
Posts: 77347
Free Member
 

Imported data might not be using characters you expect. just because one dash looks like another dash doesn't mean they're the same actual character. If what @forked suggests works then that's your problem.

Eg, type " " into Word and you'll get “ ” - these are different characters (and why a word processor does not make for a good programming environment). You'll likely hit this problem with names like "Honest Dan's Used Widgets" - there's several different characters that all look a lot like an apostrophe but only one of them is ASCII 39.


 
Posted : 03/06/2020 7:01 pm
Posts: 77347
Free Member
 

Oh, also, I don't know if Excel is this fussy but,

Try selecting the imported data then just pressing enter. Does it then work?

"Enter" on a Linux system and a Windows system are two different things. On Windows it's two characters, carriage return and line feed, but on Linux it's just a line feed. So if your source system is Linux or variants thereof then all your data is potentially missing the carriage return character and VLOOKUP et al might well pout about that.

I don't know enough about Excel's data handling to say with any confidence whether this is a non-issue or not, just chucking it out there for consideration.


 
Posted : 03/06/2020 7:25 pm
Posts: 943
Free Member
 

+1

the usual culprits are rogue spaces before/after the text string (supplier name)

or two apostrophes faking it as speech marks

or zeros mOOnlighting as the letter O

the really insidious bugs are:

double spaces pretending to be a single space by being a much smaller font

lower case letter L replaced by the number 1

certain letters from a foreign language

The answer is initially to sort them and investigate. Then you can run an Advanced Filter on Unique Entries and spot any weird duplicates.


 
Posted : 03/06/2020 7:36 pm

6 DAYS LEFT
We are currently at 95% of our target!