Services offered worldwide
![Phone Light Blue.png](https://static.wixstatic.com/media/16e582_94dfe0a4c5e74623aa8a22be6f1f7346~mv2.png/v1/fill/w_15,h_18,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Phone%20Light%20Blue.png)
or
Your partner in computer software training & application development
for over 25 years
Microsoft Excel
COUNTIFS Function
![Excel Icon.png](https://static.wixstatic.com/media/16e582_ab17fd548a714b8ea068b952b0e1784b~mv2.png/v1/fill/w_73,h_68,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Excel%20Icon.png)
Use COUNTIFS to conditionally count a range of values or text, based on a multiple criteria
Would you like to know how many times you sold a particular product in a specified city that was at least $50,000? Or how many times a specified rep sold a particular product? COUNTIFS will quickly and easily accomplish this!
​
In the example below, we count the number of copiers sold by city with a sale amount of greater than or equal to $10,000.
Step 1. Set up your data correctly, preferably converting it to a table. In our example, we named our table tblSales.
![Countifs.jpg](https://static.wixstatic.com/media/16e582_362792c7dc53426ab314846e53c43dbd~mv2.jpg/v1/fill/w_435,h_463,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/Countifs.jpg)
Step 2. Add the COUNTIFS formula to the # Sales column H, that refers to column G for the city, for the results in the table below.
![](https://static.wixstatic.com/media/16e582_0d9291a6fa764be2977e9bf42a4a4483~mv2.jpg/v1/fill/w_267,h_172,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/16e582_0d9291a6fa764be2977e9bf42a4a4483~mv2.jpg)
DETAILED EXPLANATION
​
SYNTAX: =COUNTIFS(Criteria range 1, Criteria1, Criteria range 2, Criteria 2, Criteria range 3, Criteria 3)
EXAMPLE: Formula example if referring to a table range (tables are preferable, as will expand/contract as add/remove data):
=COUNTIFS(tblSales[Product],"Copier",tblSales[City],G2,tblSales[Amount],">=10000")
​
​
​
​
​
​
​
Give the COUNTIFS function a try, and let us know if you have any questions, or would like to arrange training on this
or other Excel functions and features!
© 2022 DJH Training & Application Solutions Inc.