Excel Technical Chapter-Cross-tab tab to count the number of qualified values in a certain area, demonstration of usage examples of COUNTIF function and number statistical formula

First look at the renderings:

Insert picture description here

Insert picture description here
Counting the total number of people:
Sheet2 represents the number taken on the page named it,
A:A represents the entire range is column A , the
*number is a wildcard, which represents a string of any length,
-1 means subtract the column name, which is "name" " This column name.

=COUNTIF(Sheet2!A:A,"*") -1

The method of counting the number of people whose names contain the word "three": It
*三* means that the left and right sides of three can be any character string or none.

=COUNTIF(Sheet2!A:A,"*三*")

How to count the number of people whose name is "three" as the second word
:? It means to match a fixed one-bit string, but it cannot be without.

=COUNTIF(Sheet2!A:A,"?三")

Like it if you like it ❤!

Guess you like

Origin blog.csdn.net/qq_38161040/article/details/108294264