MS Excel COUNTIFS Function The COUNTIFS function applies criteria to cells across multiple ranges and counts the number of times all criteria are met.