Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to create a Histogram in Excel
  • Conditional Formatting Color Scales Examples in Excel
  • How To Filter Data in Excel
  • Create Scatter Chart in Excel
  • Excel Bar Chart

References

  • How to retrieve first match between two ranges in Excel
  • How to get last column number in range in Excel
  • How to use Excel ROW Function
  • How to reference named range different sheet in Excel
  • How to get relative column numbers in a range in Excel

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation allow weekday only
  • Excel Data validation date in next 30 days
  • Excel Data validation allow uppercase only
  • Excel Data validation whole percentage only

Summary count of non-blank categories in Excel

by

This tutorial shows Summary count of non-blank categories in Excel using the example below;

Formula

=COUNTIFS(range1,criteria1,range2,"<>")

Explanation

To build a summary count of non-blank categories, you can use the COUNTIFS function.

In the example show, the formula in G6 is:

=COUNTIFS($B$5:$B$11,F6,$C$5:$C$11,"<>")

How this formula works

This example relies on core COUNTIFS functionality.

To create a summary count by building, we would use COUNTIFS like this:

=COUNTIFS($B$5:$B$11,F6)

Where the criteria_range1 is B5:B11 (locked as an absolute reference so that the formula can be copied down the table and criteria1 is pulled from column F. This will return a count of all matching buildings based on column B only.

To count inspections by building, we need to extend the formula by adding an additional range/criteria pair like this:

=COUNTIFS($B$5:$B$11,F6,$C$5:$C$11,"<>")

Here, criteria_range2 is C5:C11 (as an absolute reference) and criteria2 is “<>”, which means “not blank” or “not empty”. For the formula in F6, this translates to: count of entries where building is A and inspection is not blank.

In a similar way, to count approvals per building, we use this formula in H6:

=COUNTIFS($B$5:$B$11,F6,$D$5:$D$11,"<>")

The first range/criteria pair is the same. The second range/criteria pair simply counts non-blank entries in the approval column (D5:D11).

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel AND Function
  • Return blank if in Excel
  • Not Equal To ‘<>‘ operator in Excel
  • How to return blank in place of #DIV/0! error in Excel

Date Time

  • Assign points based on late time in Excel
  • Convert text timestamp into time in Excel
  • How to get same date next month or previous month in Excel
  • EOMONTH function: Description, Usage, Syntax, Examples and Explanation
  • Get work hours between dates custom schedule in Excel

Grouping

  • Group arbitrary text values in Excel
  • Running count group by n size in Excel
  • Map inputs to arbitrary values in Excel
  • Group numbers with VLOOKUP in Excel
  • Map text to numbers in Excel

General

  • Hide and Unhide Columns or Rows in Excel
  • List sheet names with formula in Excel
  • Print Excel Sheet In Landscape Or Portrait
  • How to create dynamic named range with INDEX in Excel
  • How to create dynamic worksheet reference in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning