Solved

Excel Macro List

Posted on 2013-01-22
10
232 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
  • 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

943 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

10 Experts available now in Live!

Get 1:1 Help Now