Excel FILTER With Multiple Criteria and SORT: Step by Step
Read the full guideWatch on YouTubeMore fixes on the EpiFive channel
About this video
Add up the cells that match several filters with SUM and FILTER, then sort the rows with SORT and SORTBY. Copy-paste formulas and fixes for #CALC!, #SPILL! and #VALUE!.
This tutorial walks through the steps of the full guide on screen; the chapters below jump to each part.
Chapters
- 0:00 What this video covers
- 0:16 Filter one condition with FILTER
- 1:11 Add if_empty to avoid #CALC!
- 1:36 AND: multiply the conditions
- 2:29 OR: add, then combine AND with OR
- 3:09 Filter by text and by date range
- 4:04 Return only the columns you need
- 4:38 Sort the result with SORT
- 5:17 Sort by multiple columns with SORTBY
- 6:04 Show the top 3 with TAKE
- 6:33 Fix #CALC!, #SPILL! and #VALUE!
- 7:06 Recap
Key points
- In FILTER, multiplying conditions with * works as AND and adding them with + works as OR, with each condition wrapped in its own brackets.
- The third FILTER argument, if_empty, prevents the #CALC! error that appears when no rows match.
- SORT sorts a result by one column number, while SORTBY sorts by several ranges, each with its own 1 (ascending) or -1 (descending) order.
- CHOOSECOLS and TAKE are listed by Microsoft for Excel for Microsoft 365 and Excel 2024, while FILTER, SORT and SORTBY are also listed for Excel 2021.
- A #SPILL! error usually means something is in the way of the results; clear the blocking cells or move the formula out of the Excel table.
In the full guide
Excel FILTER With Multiple Criteria: Sum the Results, Then Sort (17 min read, Microsoft 365)
- Who this is for and what you will have at the end
- Before you start: Excel versions and the sample data
- FILTER syntax and a first formula
- FILTER with multiple criteria
- Add up the cells that match a filter: SUM with FILTER
- Return only the columns you need with CHOOSECOLS
- Sort the results with SORT
- Sort by multiple columns with SORTBY



