I'm sure i'm doing something wrong, but i can't seem to figure out what it is...
I have a list of 300 building addresses in my spreadsheet. On one spreadsheet, they are shown by their Building code, which is a shortened version of the building address (ex. If building address is 132 Canada Road the Building Code would be 132 Cana.
In another spreadsheet i have the full building address. I need to convert the building code into the actual address.
I've tried the formula below, but a n/a message keeps popping up.
I've made sure to sort the building addresses, Any idea what i'm doing wrong?
=VLOOKUP(LEFT(A2,6),Sheet3!$A$1:$B$45,2,FALSE)
Last edited by Zan03; 02-22-2010 at 02:22 PM.
To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.
If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.
Doing this will ensure you get the result you need!
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Thanks, please see attached as reference.
tRY:
=INDEX(Sheet2!$B$1:$B$10,MATCH(A2&"*",Sheet2!$A$1:$A$10,0))
copied down.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Thanks, the formula seems to gather the information, but when i plugged it in to my actual spreadsheet with 300 addresses, the formula does not always bring up the correct building address. Any suggestions?
Thanks for your time!
As long as the left side of what you are looking up matches up exactly to the lookup code, then it should bring up correctly.
Can you give example of what is not matching up?
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
I'm sorry, i must have been doing something incorrectly...
Everything is working perfectly!
Thanks again,
Zanna
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks