Skip to main content

Summary count of non-blank categories in Excel

In Excel, it is easy for us to count the number of cells that are not blank, but have you ever tried to create a summary count for non-empty cells based on specific criteria. This tutorial will introduce the COUNTIFS function to count non-blank cells with a given criteria.


Summary count of non-blank cells with given criteria by using COUNTIFS function

For instance, I have a dataset in range A1:B13, now, I would like to count non-blank cells in column B that are adjacent to the given criteria in column D as below screenshot shown.

To get a summary count of non-blank categories, you can apply the COUNTIFS function, the generic syntax is:

=COUNTIFS(range1,criteria1,range2,"<>")
  • range1, range2: The ranges of cells where you want to apply the criteria;
  • criteria1: The cell contains the criteria you want to count based on;
  • <>: As the second criteria which means not blank or not empty.

1. Now, please apply the below formula into a blank cell:

=COUNTIFS($A$2:$A$13,D2,$B$2:$B$13,"<>")

2. Then drag the fill handle down to copy the formula to other cells, the number of non-blank cells that are adjacent to the specific criteria have been calculated as below screenshot shown:


Relative function used:

  • COUNTIFS:
  • The COUNTIFS function returns the number of cells that meet one single criterion or multiple criteria.

More articles:

  • Count Number Of Cells Not Equal To Many Values
  • In Excel, you may easily get the number of cells not equal to a specific value by using the COUNTIF function, but have you ever tried to count the cells which are not equal to many values? For example, I want to get the total number of the products in column A but exclude the specific items in C4:C6 as below screenshot shown. This article, I will introduce some formulas for solving this job in Excel.
  • Count Number Of Cells Not Equal To X Or Y
  • It may be easy for us to count the number of cells not equal to a specific value by using the COUNTIF function. Sometimes, you may want to count cells not equal to either one or another value in a specified data range. Do you have any good formulas to solve this task in Excel?

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations