98.8% 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 » VLOOKUP
VLOOKUP
Resolved · High Priority · Version 2013
Isabel has attended:
Excel Intermediate course
Excel Advanced course
VLOOKUP
Hi,
I have a spreadsheet where there is one tab with a list of MPs and their constituencies, and another tab with a list of schools we work with and their constituencies. I have done a VLOOKUP to match the MP with the school on the second tab.
However on the first tab, I now want to put the school name next to each MP if there was a match. It is kind of like doing the VLOOKUP backwards again. However it tells me it is invalid when I try.
The other problem is that some constituencies have several schools in them which are matched to one MP. Is there a way of matching these schools to the MP but having each match in adjacent rows?
Thank you!
RE: VLOOKUP
Hi Isabel,
Thank you for the forum question.
You can lookup a MP because you the MPs are unique on your MP table, when you want reverse lookup the MPs are not unique on the schools table. As you write "The other problem is that some constituencies have several schools in them which are matched to one MP".
The Vlookup should not return an error, but the first school on the school list. A Vlookup can only return one result.
It is possible to return more than one result but it is very complicated. I have found an example (see link below). I hope this can point you in the right direction.
https://www.get-digital-help.com/how-to-return-multiple-values-using-vlookup-in-excel/
Kind regards
Jens Bonde
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
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
Mon 13 Apr 2020: Automatically marked as resolved.
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:Viewing two Excel 2010 Workbooks at the same timeDid you know you can view two Excel 2010 workbooks side by side? Very useful when comparing data without constantly having to go back and forth! |