Excel 2010 Tutorial - Countif Function in Excel

In this video of the Excel 2010 Tutorial series, School of Technology  Program Coordinator, Justin Denton, describes the countif function in Microsoft Excel 2010. This tutorial video is a great beginning step to your courses in the School of Technology program at Rasmussen College.


We're going to utilize what's called the COUNTIF function. Has anybody used the COUNTIF function before, counting if you meet a certain criteria? So one of those things is we've got a large spreadsheet or we're doing an inventory and I want to know how many items I have that have a quantity over 20. And I need to create a formula that'll calculate all that for me. Because typically, you just kind of go through and eyeball it and put a checkmark next to everything that's got a quantity over 20 and then say, OK, I've got everything done.

Or with using the COUNTIF function that's built into Excel, if you do equals, COUNTIF, open bracket, we'll see we get our screen tip that appears. And at first, we need to select a range-- which, our range will be what we're going to count. So I need to find out each item, or how many items I have, that have a quantity over 20. So my range is going to be the quantity on hand column.

So I'll select that range under quantity on hand, which happens to be B4 through B9. I'll put a comma. And then I need to input my criteria. My criteria will typically be in quotes. And in this instance, I need to make sure my criteria states that it's over, or greater than, 20.

I'll put an end quote and then an end bracket in there. And now I've built this formula out that says count within this range, B4 through B9, for all the values that are larger than 20 and give me a total of how many those are. So once you hit Enter, it goes through and states there's only three values in this whole column that are over 20. And I know that based on criteria over this given threshold that there's only three of my inventory items that are over 20.

It gives you the ability to quickly go through an entire inventory list and determine some characteristics about it. It doesn't have to be over 20. It could be a cost association. So maybe we go and adjust this range. And we make this C4 through C9.

And I want to make sure I'm looking for any items that are less than $1. Because historically, my company does very bad with profit for items that are less than $1. We usually make $0.01 or $0.02 per item. And I need to have my sales staff completely pull those off the stock. We're getting rid of them. We're never going to sell anything below $1. We're the above a dollar store.

And so we're going in here, I'm doing my inventory really quick, and find out that out of my entire list of inventory, I know spoons and forks are below $1. Therefore, I'm never going to sell spoons and forks again in my store. We're only going for sales that are greater than $1, which will include plates, bowls, table cloths, and menus.

Callie Malvik

Callie is the Content Manager at Collegis Education, overseeing blog content on behalf of Rasmussen College. She is passionate about creating quality resources that empower others to improve their lives through education.

female writer

Related Content

This piece of ad content was created by Rasmussen College to support its educational programs. Rasmussen College may not prepare students for all positions featured within this content. Please visit www.rasmussen.edu/degrees for a list of programs offered. External links provided on rasmussen.edu are for reference only. Rasmussen College does not guarantee, approve, control, or specifically endorse the information or products available on websites linked to, and is not endorsed by website owners, authors and/or organizations referenced. Rasmussen College is a regionally accredited private college.

Add your comment


Please enter your name.


Please enter your email.


Please enter your comment.


Take the Next Step—Talk to Us!

There are some errors in the form. Please correct the errors and submit again.

Request More Information

Talk with a program manager today.

Fill out the form to receive information about:
  • Program Details and Applying for Classes 
  • Financial Aid and FAFSA (for those who qualify)
  • Customized Support Services
  • Detailed Program Plan

Step 1 of 3

What's Your Name?

Please enter your first name.

Please enter your last name.

Step 2 of 3

Contact Information

Please enter your email address.

Please enter your phone number.

Please enter your five digit zip code.

Step 3 of 3

Program Preferences

Please choose a school of study.

Please choose a program.

Please choose a degree.

The program you have selected is not available in your area. Please select another program of interest.

By requesting information, I authorize Rasmussen College to contact me by email, phone or text message at the number provided. There is no obligation to enroll.

icon-colored-advance icon-colored-build icon-colored-certificate icon-colored-growth icon-colored-national icon-colored-prep icon-colored-regional icon-colored-state icon-colored-support logo-accreditation-acen logo-accreditation-ccne ras-logo-flame ras-logo-horizontal ras-logo-stacked icon-filter icon-info-circle icon-mail-forward icon-play-solid icon-share-square-o icon-spinner icon-tag icon-general-connect icon-general-degree icon-general-discuss icon-general-email icon-general-find icon-general-laptop icon-general-leader icon-general-map icon-general-paperwork icon-general-phone icon-general-speak-out icon-simple-chat icon-simple-desktop icon-simple-find icon-simple-hamburger icon-simple-phone icon-testimonial-quotes icon-social-facebook-square-colored icon-social-facebook-square icon-social-facebook icon-social-google-plus-square icon-social-google-plus icon-social-instagram icon-social-linkedin-square-colored icon-social-linkedin-square icon-social-linkedin icon-social-pinterest-p icon-social-twitter-square icon-social-twitter icon-social-youtube-play-colored icon-social-youtube-play icon-util-checkbox-white icon-util-checkbox icon-util-checked-white icon-util-checked icon-util-chevron-down icon-util-chevron-left icon-util-chevron-right icon-util-chevron-up icon-util-open-window-button icon-util-open-window-link icon-util-pdf-button icon-util-pdf-link icon-util-refresh icon-util-x