using vlookup - how do I match 2 spreadsheets w/o same exact numb.

K

klondike47

I have 2 spreadsheets. 1 is my customers inventory and Year To Date sales the
other is my West Coast sales history. His spreadsheet does not have all of
the numbers my sheet has. I'm able to get the first matching number to bring
his sales history over but in vlookup the second numbers do not match so I
get a NA.
 
J

John Mansfield

Try testing one number on your sheet against a matching number on another
sheet. Set the cell with withe the first number equal to the cell in the
second sheet via a formula like this:

=A1=[Book2]Sheet1!$A$1

If the formula returns TRUE, then you have a problem with your VLOOKUP
formula. If it returns FALSE, then although the data may look the same it's
really not. There may be a leading to trailing space in the data, etc.
Apply the TEXT, VALUE, and/or TRIM functions until you get a TRUE from the
lookup formula.
 

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

Top