Solved

Excel Macro List

Posted on 2013-01-22
10
235 Views
Last Modified: 2013-01-24
Hi, I have this vlookup code, but I want to be able to pull a list by age etc with a macro. Please let me know how I could accomplish this? Thanks!!
TestMacro1.xlsm
0
Comment
Question by:jquestion
[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
  • 6
  • 4
10 Comments
 
LVL 29

Expert Comment

by:gowflow
ID: 38810082
Let me get this correctly.
You need dropdown in B for uniques and then dropdown in C for their uniqes etc ... D,E and Fis that what you want ?

Like in B  you would have
1
2
3
if you choose 1 in B then in C you would have
a
d
g
j
m
to choose from etc.. is that what you want ?
gowflow
0
 

Author Comment

by:jquestion
ID: 38810394
The first drop down is fine. I want it as a stand alone.


the second dropdown under age:
Say there are 5 people that are 20 years old.
I want to select 20 in the drop down then I want  to display all 5 people's data rows listed.

I hope this makes sense, thanks!!!
0
 
LVL 29

Expert Comment

by:gowflow
ID: 38811412
I am confused what row are you talking about ? row 4 or row 11 ???
0
Industry Leaders: 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!

 

Author Comment

by:jquestion
ID: 38811561
Hi, sorry.

I want to leave row 4 alone and its macro alone.


row 11 i want to create the new macro to display the list


Thanks!
0
 
LVL 29

Expert Comment

by:gowflow
ID: 38812152
So in row 11 you type or choose an age and you want it to display all the records that have this age for all the columns is that right ?
gowflow
0
 

Author Comment

by:jquestion
ID: 38812177
Hi,  yes id like a dropdown for age and want to be able to display all records with that age. I appreciate your help!
0
 
LVL 29

Accepted Solution

by:
gowflow earned 500 total points
ID: 38812470
ok check this file select an item from the yellow cell and check the result. We can streamline Cell C11 to also show unique but you have not requested that so I left them as is.

Let me know
gowflow
TestMacro1.xlsm
0
 
LVL 29

Expert Comment

by:gowflow
ID: 38813400
Have you tested the macro ? Is it what you wanted ? pls let me know we can cater it to your needs.
gowflow
0
 

Author Closing Comment

by:jquestion
ID: 38814877
Works perfect, thanks!
0
 
LVL 29

Expert Comment

by:gowflow
ID: 38815089
glad we could help.
gowflow
0

Featured Post

Industry Leaders: 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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

738 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