98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » V-Lookup
V-Lookup
Resolved · Urgent Priority · Version 2007
Nabilah has attended:
Excel VBA Intro Intermediate course
V-Lookup
Scenario:
I download a report from MS Access (spreadsheet A) On this report it has a column for products (column a) and the next column has a related code (coloumn b). Now I have this same information on another spreadsheet (spreadhseet B), with a third column containing an alternative code for (column b in spreadsheet A).
What is the function to basically automatically change the codes in coloumn b in spreasheet A to the alternative codes that are listed in my spreadsheet B?
RE: V-Lookup
Hi Nabilah
Thanks for getting in touch. This should be possible with a VLOOKUP, but it depends on a few factors. Are the Products (Names?) unique and identical across both lists? If so, you can use this to lookup the other code number.
If not, You will need to reorganise Spreadsheet B so that the Code is the first column. Spreadsheet A will also require an additional 'helper' column to retrieve the replacement code.
I hope that helps, if you require further advice please let me know.
Kind regards
Gary Fenn
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector
RE: V-Lookup
Hi Gary,
Thanks for getting back to me.
Unfortunately spreadsheet A (report I download from Access) does not have the product names. Spreadsheet B is the master sheet.
The only thing these two spreadsheets have in common is the code (actually called HS Code- a 10digit number). On the master sheet the HS Code has an alternative EU Code- which is the code I need my spreasheet A to automatically convert to.
Codes on Master:
Europe Worldwide
Commodity HS Code
7323930000 4911914040
8306290000 8306290000
4820103000 4820102060
4820103000 4820102060
So basically access downloads automatically with the HS Code, and I need to convert it to its related EU Code.
(Sorry for repeating, just want to make sure it is clear for you).
I can re-arrange spreadsheet B (the master sheet)- However am worried a V-lookup might not work, becuause many products may the same HS Code, so it is not unique, though the product code is unique. Also the EU code that I replace the HS Code on Spreadsheet A, the last two digits need to be deleted, because only 8 digits can be accpeted.
Also are you able to elaborate a little by what you mean by a "helper" column? Thanks so much.
RE: V-Lookup
Hi Nabilah
Thanks for your reply. I'm getting a bit lost on these different codes. Perhaps it would be easier if I can see the spreadsheets?
You can email them to me at gary@stl-training.co.uk
PS. A helper column is one you insert as a middle step towards your end goal - it usually serves no purpose in the final product but instead gives the formula something to work with.
Kind regards
Gary Fenn
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Date and timeCTRL+ SEMICOLON then SPACE then CTRL+SHIFT+ SEMICOLON |