Learn Python
Learn Data Structure & Algorithm
Learn Numpy
Learn Pandas
Learn Matplotlib
Learn Seaborn
Learn Statistics
Learn Math
Learn MATLAB
Learn Machine learning
Learn Github
Learn OpenCV
Learn Deep Learning
Learn MySQL
Learn MongoDB
Learn Web scraping
Excel Introduction
Excel Home Tab
Excel Insert Tab
Excel Data Tab
Excel Use of Formula
Excel SUM and SUMIF function
Excel AVRAGE,AVRAGEIF,AVRAGEIFS,MEDIAN,MODE function
Excel COUNT,COUNTA,COUNTBLANK,COUNTIF,COUNTFS Formula
Excel MAX,LARGE,MIN,SMALL,DMAX,DMIN Formula
Excel generate date & time Formula
Excel CONCATENATE,UPPER,LOWER,PROPER Formula
Excel RUNNING TOTOAL,Power,GCD,DATEDIF Formula
Excel ROUND,ROUNDUP,ROUNDDOWN Formula
Excel IF,AND,OR Formula
Excel ARRAY Formula
Excel LOOKUP,VLOOPUP,MATCH,VLOOKUP+MATCH Formula
Excel DSUM,DAVERAGE,FORECAST,EDATE,DCOUNT Formula
Excel ERROR
Learn Power BI
Learn Tableau
Learn Docker
Learn Hadoop
The count is used to know how many values are present in the selected cells. COUNT function
only count the numbers. So use COUNT function only in numerical column
Formula:=COUNT(select the range of cells according to your need)
A | B | C | D | |
---|---|---|---|---|
Index | Id | Grade | Group | Mark |
1 | 2 | B | Commerce | 618 |
2 | 3 | A | Science | 700 |
3 | 4 | D | Arts | 687 |
4 | 5 | E | Commerce | 611 |
5 | 6 | F | Arts | 599 |
6 | 7 | P | Science | 575 |
7 | 8 | F | Arts | 600 |
8 | 9 | I | Commerce | 550 |
9 | 10 | J | Science | 650 |
10 | 11 | K | Arts | 680 |
11 | =COUNT(A4:A8) |
The COUNTA is used to know how many values are present in the selected cells. This function counts both text
and number. So you can use COUNTA in both numerical and categorical column
Formula: =COUNTA(select the range of cells according to your need)
A | B | C | D | |
---|---|---|---|---|
Index | Id | Grade | Group | Mark |
1 | 2 | B | Commerce | 618 |
2 | 3 | A | Science | 700 |
3 | 4 | 2 | Arts | 687 |
4 | 5 | E | Commerce | 611 |
5 | 6 | F | Arts | 599 |
6 | 7 | 4 | Science | 575 |
7 | 8 | F | Arts | 600 |
8 | 9 | I | Commerce | 550 |
9 | 10 | 5 | Science | 650 |
10 | 11 | K | Arts | 680 |
11 | =COUNTA(B1:B10) | =COUNTA(B1:B10) |
COUNTBLANK shows that how many empty cells are present in selected cells. If you wants to find that how many
number of cells which doesn't contain no values then use this function.
Formula: =COUNTBLANK(select the range of cells according to your need)
A | B | C | D | |
---|---|---|---|---|
Index | Id | Grade | Group | Mark |
1 | 2 | B | Commerce | 618 |
2 | 3 | A | Science | 700 |
3 | 4 | Arts | 687 | |
4 | 5 | E | Commerce | 611 |
5 | 6 | F | Arts | 599 |
6 | 7 | Science | 575 | |
7 | 8 | F | Arts | 600 |
8 | 9 | I | Commerce | 550 |
9 | 10 | Science | 650 | |
10 | 11 | K | Arts | 680 |
11 | =COUNTBLANK(B1:B11) |
If you select row or column and then give a value or condition in the COUNTIF function then this the function
will count that how many times the condition matched value are present in that selected row or column.
In the function, the first parameter is row or column and the second parameter is the value which count you
want to find. Write the value in double cords.
Formula: =COUNTIF(row or column,"Condition")
A | B | C | D | |
---|---|---|---|---|
Index | Id | Grade | Group | Mark |
1 | 2 | B | Commerce | 618 |
2 | 3 | A | Science | 700 |
3 | 4 | C | Arts | 687 |
4 | 5 | E | Commerce | 611 |
5 | 6 | F | Arts | 599 |
6 | 7 | A | Science | 575 |
7 | 8 | F | Arts | 600 |
8 | 9 | I | Commerce | 550 |
9 | 10 | A | Science | 650 |
10 | 11 | K | Arts | 680 |
11 | =COUNTIF(B2:B11,"A") | =COUNTIF(D1:D11,">600") |
This function works the same as COUNTIF but here you can use condition more than one. Here multiple conditions
is optional.
In the function, the first parameter is row or column, and the second parameter is the value which count you
want to find. Write the value inside the double quotation. For each condition do the same thing
Formula: =COUNTIFS(row or column,"Condition",row or column,"Condition",row or column,"Condition"...)
A | B | C | D | |
---|---|---|---|---|
Index | Id | Grade | Group | Mark |
1 | 2 | B | Commerce | 618 |
2 | 3 | A | Science | 700 |
3 | 4 | C | Arts | 687 |
4 | 5 | E | Commerce | 611 |
5 | 6 | F | Arts | 599 |
6 | 7 | A | Science | 575 |
7 | 8 | F | Arts | 600 |
8 | 9 | I | Commerce | 550 |
9 | 10 | A | Science | 650 |
10 | 11 | K | Arts | 680 |
11 | =COUNTIFS(B1:B11,"A",C1:C11,">600") |