Solved

Excel - Vlookup

Posted on 2016-08-14
3
49 Views
Last Modified: 2016-08-14
Ive set up a lookup table for assets but a discrepancy with asset numbering format is creating problems.
The lookup table has data in which the asset number has a letter followed by 3 digits.  eg A001
But the lookup value is A1.  I want to be able to recognise A001 as the same asset number.
How do I do this?
Is it best to convert one set of the asset numbers into the same format as the other?
If so, how do I do this? say A001 to A1
0
Comment
Question by:gh_user
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points
ID: 41755914
Yes it is best to have the same format at both the places to avoid the problems by not making simple vlookup formula complex.

Assuming your asset number is in A2, then

If asset number always contain 3 digits, try this.....
=LEFT(A2,1)&RIGHT(A2,3)+0

Open in new window


If asset number may contain more than 3 digits also, try this...
=LEFT(A2,1)&RIGHT(A2,LEN(A2)-1)+0

Open in new window

0
 

Author Closing Comment

by:gh_user
ID: 41755931
Thanks for prompt response
0
 
LVL 30

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41755943
You're welcome. Glad to help.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question