Solved

Excel - Vlookup

Posted on 2016-08-14
3
41 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 28

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 28

Expert Comment

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

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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 …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now