Excel FILTER With Multiple Criteria and SORT: Step by Step

Video tutorial · 7:48 · Published

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

  1. 0:00 What this video covers
  2. 0:16 Filter one condition with FILTER
  3. 1:11 Add if_empty to avoid #CALC!
  4. 1:36 AND: multiply the conditions
  5. 2:29 OR: add, then combine AND with OR
  6. 3:09 Filter by text and by date range
  7. 4:04 Return only the columns you need
  8. 4:38 Sort the result with SORT
  9. 5:17 Sort by multiple columns with SORTBY
  10. 6:04 Show the top 3 with TAKE
  11. 6:33 Fix #CALC!, #SPILL! and #VALUE!
  12. 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)

Other versions of this video

More videos

All EpiFive videos