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.

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.

Callie is the Associate Content Marketing Manager at Collegis Education. She oversees all blog content on behalf of Rasmussen College. She is passionate about providing quality content to empower others to improve their lives.

Receive Personalized Information Today

  • Personalized financial aid
  • Customized support services
  • Detailed program plan
  • Attend a no-obiligation Nursing Information Session
  • Meet the Dean of Nursing
  • Enrollment application
  • Personalized financial aid
  • Career path guidance

How may we contact you?

Please complete all fields

What would you like to study?

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.

Share Your Story Ideas
Our campuses and online community have stories to tell and we want to hear them! Did your campus raise the most money in the community for an organization? Do you have online study tips for other students? Would you like to share a personal success story about overcoming an obstacle while earning your degree?
To have your story idea considered:
  • You must be a faculty member, current student or graduate
  • Story ideas must be regarding Rasmussen College or an inspiring story about a student at Rasmussen College
  • Your submission must be original and may not have been published elsewhere online already
Please Note: Your story idea may be featured on the Rasmussen College News Beat or on one of our social networks. A member of our news team will contact you should we move forward with a blog post.
Feel free to suggest an idea for a blog post to be featured on the Rasmussen College News Beat by filling out the form below:

First Name: (required)

Last Name: (required)

Email Address: (required)

Phone Number: (required)

500 characters or less


Your Story Idea Has Been Submitted

Thank you for sending us a story idea! We’re reviewing submissions and may contact you soon to learn more about your story. In the meantime, make sure to check out our current blogs to see what’s happening on campus.