How can I filter a roster to show people assigned to any of several shifts?
Quick answer
Treat the selected shifts as alternatives: include a person if their shift is Morning OR Evening OR Overnight. In Excel Advanced Filter, put each alternative on a separate criteria row; conditions on the same row require all listed conditions to be true. Add any required conditions, such as a team, to each alternative row. Advanced Filter does not automatically update when criteria values change, so run it again after changing them. [S1]
The question, the details, the next step.
A practical checklist
Decide whether the rule is “any selected shift” (OR) and note any additional required conditions (AND).
Use a criteria range for the shift alternatives.
Put each acceptable shift on a separate criteria row.
Repeat required conditions, such as Team = Support, on every alternative row.
Check sample included and excluded records, and rerun Advanced Filter after changing criteria or data.
A few more useful answers
What is the difference between OR and AND in this filter?
OR means any one listed shift is enough to include the row. AND means every condition in that criteria combination must be true, such as Team = Support and Shift = Morning. [S1]
Will the filtered results change automatically when I edit the criteria?
Excel Advanced Filter does not automatically update when criteria values change. Run it again after changing the criteria, then check the results. [S1]
Can I use this exact setup in another spreadsheet app?
This example is for Excel Advanced Filter. The guidance here does not establish that the same criteria layout applies in another spreadsheet app.
Sources
References used for this guide.
- [S1] Filter by using advanced criteria — Microsoft Support support.microsoft.com · Checked
