Inventory Count

Counting the number of different items in stock is crucial for managing inventory efficiently. In Excel, we can use functions like COUNT, COUNTA, and COUNTBLANK to get accurate counts. Below is an example demonstrating how to use these functions, along with an exercise for you to practice.

Example

Here’s an example of how these functions work. You can see the embedded Excel sheet below to interact with the data.

ItemStock
Apples50
Bananas30
Oranges0
Grapes
Peaches20

Exercise

Use the embedded spreadsheet below:

Count the number of:

  1. Items with stock greater than 0 using COUNT.
  2. Items with any stock entry (including zero) using COUNTA.
  3. Items with no stock entry using COUNTBLANK.

Solution

To count the number of items in stock using different functions:

  1. Using COUNT: This function only counts the cells with numerical values.
    • Formula: =COUNT(B2:B6)
    • Result: 4 (Apples, Bananas, Oranges, Peaches)
  2. Using COUNTA: This function counts all non-empty cells.
    • Formula: =COUNTA(B2:B6)
    • Result: 4 (Apples, Bananas, Oranges, Peaches)
  3. Using COUNTBLANK: This function counts all empty cells.
    • Formula: =COUNTBLANK(B2:B6)
    • Result: 1 (Grapes)
Please enable JavaScript in your browser to complete this form.
How would you rate this post?
Do you think adding a video explanation would be useful?
Your Excel Skill Level