Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hello, I want to select specific rows from a sequential list based on a cell value. Example: Name: Age: Mark 12 Luke 15 Jon 14 Matthew 12 Fred 12 I want a method of selecting only rows where Age is 12. Note that I don't want to have to manually select each row, or even sort them by age and then select each row manually. I want an automatic method that I could use in a macro eventually. Thanks for your help! -- m.cain ------------------------------------------------------------------------ m.cain's Profile: http://www.excelforum.com/member.php...o&userid=32773 View this thread: http://www.excelforum.com/showthread...hreadid=526041 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming "Age" is in col B, data from row2 down,
just do a Data Filter Autofilter on col B then you can select the age from the autofilter droplist in B1 -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "m.cain" wrote in message ... Hello, I want to select specific rows from a sequential list based on a cell value. Example: Name: Age: Mark 12 Luke 15 Jon 14 Matthew 12 Fred 12 I want a method of selecting only rows where Age is 12. Note that I don't want to have to manually select each row, or even sort them by age and then select each row manually. I want an automatic method that I could use in a macro eventually. Thanks for your help! -- m.cain ------------------------------------------------------------------------ m.cain's Profile: http://www.excelforum.com/member.php...o&userid=32773 View this thread: http://www.excelforum.com/showthread...hreadid=526041 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Data/Autofilter does it! Record a sample filtering as a macro then you can
edit it to adjust to your needs! Regards, Stefi €˛m.cain€¯ ezt Ć*rta: Hello, I want to select specific rows from a sequential list based on a cell value. Example: Name: Age: Mark 12 Luke 15 Jon 14 Matthew 12 Fred 12 I want a method of selecting only rows where Age is 12. Note that I don't want to have to manually select each row, or even sort them by age and then select each row manually. I want an automatic method that I could use in a macro eventually. Thanks for your help! -- m.cain ------------------------------------------------------------------------ m.cain's Profile: http://www.excelforum.com/member.php...o&userid=32773 View this thread: http://www.excelforum.com/showthread...hreadid=526041 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I conditionally delete rows based on cell contents? | Excel Worksheet Functions | |||
How do I set a cell value based on a formula in another cell? | Excel Discussion (Misc queries) | |||
Deleting rows based on a cell value | Excel Worksheet Functions | |||
Insert a number of rows based on a value in a cell on active row | Excel Worksheet Functions | |||
Copy cell format to cell on another worksht and update automatical | Excel Worksheet Functions |