Filtering/Sorting in excel from selected names -


i write bachelor thesis , struggeling filter data

so far solution have in mind manually select wanted id's. hope of have smarter solution take me several hours click filter manually.

my dataset contains 193.522 rows , 14 colums

snapshot of dataset

enter image description here

and have listed specific fund-names examine contain no empty datacells.

selected fund-names

enter image description here

so question is, possible filter entire column (fund name) list given in picture of selected fund names?

i appreciate

/jernjens

modify following code requierd. pay attention comments added , make sure sheets exists in workbook , sheet names changed accordingly.

sub filterbachelorthesis() dim arrfilters application.screenupdating = false     worksheets("fund names")     'sheet list of fund names         'assuming list of fund names on fundnames sheet in column starting row2         arrfilters = application.transpose(.range("a2", .range("a" & rows.count).end(xlup)))     end      'assuming have sheet called "filter data" hold filtered result     worksheets("filtered data").usedrange.clearcontents      'data main sheet contains data     worksheets("data").range("a1").currentregion         .autofilter 5, arrfilters, 7         .copy worksheets("filtered data").range("a1")         .autofilter     end application.screenupdating = true end sub 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -