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

Data Analysis

  • How to create running total in an Excel Table
  • Create Scatter Chart in Excel
  • How to create Gauge Chart in Excel
  • Conditional Formatting Icon Sets Examples in Excel
  • Reverse List in Excel

References

  • Convert text string to valid reference in Excel using Indirect function
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to get relative column numbers in a range in Excel
  • How to use Excel INDIRECT Function
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation exists in list
  • Excel Data validation must begin with
  • Excel Data validation date in specific year
  • Prevent invalid data entering in specific cells

Count items in list in Excel

by

This tutorial shows how to Count items in list in Excel using the example below;

Formula

=COUNTIFS(A:A,A1,B:B,B1)

Explanation

To create a count of the values that appear in in a list or table, you can use the COUNTIFS function. In the example shown, the formula in D5 is:

=COUNTIFS(B:B,B5,C:C,C5)

How this formula works

The COUNTIFS function takes range/criteria pairs, and delivers a count when all criteria match. This example, contains two range/criteria pairs.

Worked Example:   Two-way summary count with COUNTIFS in Excel

In pair 1, the range is B:B (entered as a full column reference) and the criteria is B5. By itself, this pair would return a count of every value in column B.

Worked Example:   Count cells that do not contain many strings in Excel

In pair 2, the range is C:C, and the criteria is C5. By itself, this pair would return a count of every value in column C.

Worked Example:   Highlight duplicate rows in Excel

Because both pairs appear in the same COUNTIFs function, they link the values in column B with those in column C, and COUNTIFS generates a count of each B/C combination that appears in the table.

Post navigation

Previous Post:

44 Practical Excel IF function Examples

Next Post:

Large with criteria 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

  • How to use Excel TRUE Function
  • Not Equal To ‘<>‘ operator in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • IF with wildcards in Excel
  • Excel If, Nested If, And/Or Criteria Examples

Date Time

  • Get first day of month in Excel
  • Add decimal hours to time in Excel
  • Get work hours between dates and times in Excel
  • EDATE function: Description, Usage, Syntax, Examples and Explanation
  • How to get same date next month or previous month in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Group arbitrary text values in Excel
  • Map text to numbers in Excel
  • Group times into unequal buckets in Excel
  • If cell contains one of many things in Excel

General

  • How to generate random number between two numbers in Excel
  • Convert column letter to number in Excel
  • How to test a range for numbers in Excel
  • Basic error trapping example in Excel
  • How to calculate percentage discount in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning