Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Populate data into a sheet - using data valuation selection

Posted on 2016-08-16
3
Medium Priority
?
43 Views
Last Modified: 2016-11-22
Hi Experts using Excel 2013

Not sure how to do this but need a formula or macro (better if this can be done by formula) to do the following:

Sheet Master

Cell B1 Whatever the user selects here based on the data in the data sheet I want to populate the employee names from the data sheet into sheet Master cell A3 onwards.

So if I select Apple pull back all the apple employee name from the data sheet and likewise if I select Dell in Cell B1 sheet Master populate the employee names for the Dell workers.
Test-123.xlsx
0
Comment
Question by:route217
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 2000 total points
ID: 41758956
On Master Sheet, in A3, try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of Enter alone.

In A3
=IFERROR(INDEX(Data!$B$2:$B$20,SMALL(IF(Data!$A$2:$A$20=$B$1,ROW(Data!$A$2:$A$20)-ROW(Data!$A$2)+1),ROWS(A$3:A3))),"")

Open in new window

And copy down until you get blank cells.

For details, refer to the attached.
Test-123.xlsx
1
 

Author Comment

by:route217
ID: 41758973
Many thanks for the excellent feedback let me check.
0
 

Author Comment

by:route217
ID: 41759445
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question