Excel has two highly similar functions that you can use to count cells that match a conditional. These functions are useful for counting sales by employee, checking how many purchases were over a specific threshold, checking how many expenses came after a given date, and much more.