vlookup

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » VLOOKUP

VLOOKUP

resolvedResolved · 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.


 

Excel tip:

Viewing two Excel 2010 Workbooks at the same time

Did 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!

1) Open both Excel workbooks
2) Select Window then select Compare Side by Side with (Spreadsheet 2)
3) When you have finished, select Window again and click Close Side by Side

View all Excel hints and tips


Server loaded in 0.09 secs.