![]() |
Selecting rows based on cell entries
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 |
Selecting rows based on cell entries
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 |
Selecting rows based on cell entries
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 |
All times are GMT +1. The time now is 07:57 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com