Solved

Populate data into a sheet - using data valuation selection

Posted on 2016-08-16
3
32 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
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now