A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi,
In cell H2, enter this formula
=FILTER(A2:D11,COUNTIF(F2:F3,A2:A11))
Hope this helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a large data base. In column A I have a group number. These group numbers repeat multiple times though through out the sheet and within each group there is deferent data. Example: group 8 repeats multiple times in column A while in column B, C, D.... contains different information within group 8.
I have to filter for several different groups at a time. How do I filter column A for several groups (group 3, group 7, group 12) and still see the data thats in column B, C, D... without having to filter one at a time.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi,
In cell H2, enter this formula
=FILTER(A2:D11,COUNTIF(F2:F3,A2:A11))
Hope this helps.
Hi Q,
Welcome to the Q&A Community
I’m here to assist your problem.
Base on your description, I will suggest you. I will provide additional opinions based on the answers from the 2 MVPs above, so that I can suggest to you the best way to respond:
1/ Basic Filter:
Select your data range: Click and drag to highlight the entire dataset, including headers (e.g., from cell A1 to the last cell in your columns). If your data is already formatted as a table (via Insert > Table), this step is optional as tables have filters enabled by default.
Enable filters: Go to the Data tab in the ribbon and click Filter. This adds dropdown arrows to each column header.
Apply the multi-group filter:
Noted:
For more advanced filtering (e.g., if groups are text or you need conditions), use Filter by condition in the dropdown and set up "Custom formula is" with something like =OR(A2=3, A2=7, A2=12) (adjust for your actual starting row).
2/ Using the FILTER Function (Dynamic Filtering):
The FILTER function dynamically extracts data that meets specific criteria. It’s available in Excel 365 and Excel 2021:
=FILTER(array, include, [if_empty])
Example:
=FILTER(A2:C10, B2:B10>1000, "No results")
Filtering is a powerful tool to manage and analyze data efficiently. Let me know if you'd like more examples or help with a specific scenario!
You can refer to: FILTER function - Microsoft Support
We appreciate your kind patience and understanding that sometimes the initial response may not immediately resolve the issue or there may be some misunderstandings about your scenario, but we would love to hear updates from you and find out further suggestions.
Thank you for your kindness and understanding. If you need anything else, please feel free to contact me.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment"
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
I assume that you have turned on AutoFilter (Sort & Filter > Filter).
Click the Filter arrow in the header cell of column A (probably cell A1).
Clear the check box (Select All).
Select the check boxes for the groups that you want to show (for example 3, 7 and 12).
Click OK.