There is probably a really easy way to do this (I hope!) but I don't know it - can anyone tell me how I can (from over 9,000 rows of data) filter out 5 specific of the employer names (see pic) that I need without having to trawl through and select them all individually from the list from all 9,000? (Which I just did and it took FOREVER) :) There must be a way to search for all five and then bring them up filtered, no?
TIA,
FP
Filtering multiple rows
-
- 2StarLounger
- Posts: 130
- Joined: 12 Aug 2020, 08:40
Filtering multiple rows
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78487
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Filtering multiple rows
You can use the Search box.
Click the filter drop down.
Type a few letters of the first employer you want to select, tick its check box and click OK.
Click the filter drop down again.
Type a few letters of the second employer you want to select, tick its check box and also tick the check box 'Add current selection to filter', then click OK.
Repeat as needed.
Click the filter drop down.
Type a few letters of the first employer you want to select, tick its check box and click OK.
Click the filter drop down again.
Type a few letters of the second employer you want to select, tick its check box and also tick the check box 'Add current selection to filter', then click OK.
Repeat as needed.
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 575
- Joined: 14 Nov 2012, 16:06
Re: Filtering multiple rows
In VBA:
Code: Select all
Sub M_snb()
columns(1).autofilter 1,Array("aa","bb","cc","dd","ee"),7
End Sub
-
- 2StarLounger
- Posts: 130
- Joined: 12 Aug 2020, 08:40
Re: Filtering multiple rows
Perfect - thank you as always Hans, super useful! :)HansV wrote: ↑20 Jun 2023, 08:37You can use the Search box.
Click the filter drop down.
Type a few letters of the first employer you want to select, tick its check box and click OK.
Click the filter drop down again.
Type a few letters of the second employer you want to select, tick its check box and also tick the check box 'Add current selection to filter', then click OK.
Repeat as needed.
S2409.png