• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Help with lookup to return multiple results|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Help with lookup to return multiple results|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Help with lookup to return multiple…
sp_PrintTopic sp_TopicIcon
Help with lookup to return multiple results
Avatar
James McDowell

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
March 29, 2019
sp_UserOfflineSmall Offline
1
March 29, 2019 - 4:07 pm
sp_Permalink sp_Print

Hi all,

I am wanting to do a lookup to return multiple results. I would usually use a vlookup for this, I am looking up to data that has more than 1 value, and I would like to list each of the results vertically. I have spent a fair bit of time searching online, but none of the formulas I have found work when I do it, I'm not sure what I'm doing wrong. In the attached sheet, for postode 4405 for example, there are 5 or 6 suburbs within that postcode. Using a vlookup would only return 1 result, I'm wanting to return a list of all results. Can anyone help?

 

Thanks,

James

sp_AnswersTopicSeeAnswer See Answer
Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
March 29, 2019 - 5:09 pm
sp_Permalink sp_Print

Hi James

Attached are 2 methods that you can consider.

One uses an array formula and the other uses a Pivot Table.

Please note I have deleted some of your data to keep the file size within the maximum limit allowed to be uploaded.

Hope this helps.

Sunny

sp_AnswersTopicAnswer
Answers Post
Avatar
James McDowell

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
March 29, 2019
sp_UserOfflineSmall Offline
3
March 30, 2019 - 7:08 pm
sp_Permalink sp_Print

Hi SunnyKow, that's what I'm after. That's a huge help - thanks!

Avatar
James McDowell

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
March 29, 2019
sp_UserOfflineSmall Offline
4
April 1, 2019 - 2:20 pm
sp_Permalink sp_Print

Hi SunnyKow,

The file you sent worked, however when I click in the formula bar of a cell and press enter, it no longer works, I'm having trouble transferring the formula into the file I'm trying to work with. When I open the file you sent, it has { at the start, and } at the end of the formula, when I press enter in the formula bar it clears these brackets. If I manually put them back in, the formula doesn't work. Any ideas?

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 873
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
5
April 1, 2019 - 2:56 pm
sp_Permalink sp_Print

Hello,

The formula Sunny provided is an array formula. https://www.myonlinetraininghu.....ay-formula

Just press the control and shift keyes and then press enter.

/Anders

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online:
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 215
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Anthony van Riessen
Erlinda Eloriaga
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Ngoc Qui Nguyen
Clement Mansfield
Rose .
Bindu Menon
Baruch Zemer
Forum Stats:
Groups: 3
Forums: 24
Topics: 6352
Posts: 27779

 

Member Stats:
Guest Posters: 49
Members: 32319
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.