

For example, COUNTIF(A1:A10,”Trump”) will count the number of cells within the range A1:A10 that contain the text “Trump” It is used to count cells that include dates, numbers, or text. We can use the COUNTIF function COUNTIF Function The COUNTIF function in Excel counts the number of cells within a range based on pre-defined criteria. Remember we don’t have any straight in COUNTTEXT function unlike previous cases, we need to think a little bit different here. #5 – Count rows that only have text values Totally we have 2 blank rows in the selected range which are revealed by count blank function. We can find only blank rows by using the COUNTBLANK function in excel. #4 – Count Rows, which only has the Blanks We need to apply COUNTA function to count how many rows contain the data. But that is not the dynamic way of counting rows that have data. Now we know how to quickly check how many rows actually contain the data. #2 – Count all the rows that have the data When we closely examine the cells the 11 th row contains a space in it.Įven though if there is no value in the cell and it has only space excel will be treated as the cell which contains the data. I have selected 11 rows in total but count says 9 whereas I have data only in 8 rows.

Now I will select one more row in the range and see what will be the count.

Take look at the red circled area, it says COUNT as 8 which means the out of 10 selected rows 8 has data in it. a status bar Status Bar As the name implies, the status bar displays the current status in the bottom right corner of Excel it is a customizable bar that can be customized to meet the needs of the user. Now take look at the right-hand side bottom of the excel screen i.e.

Actually, this is not telling me how many rows contain the data here.Firstly, select all the rows in the excel.But when it comes to the huge database it is not possible to count manually. Since this a small list of rows, we can easily count the number of rows. In this 10 row, I want to count exactly how many cells have data. I have a total of 10 rows (border inserted area). We can count a number of rows that have data by just selecting the range of cells in excel.In general, there could be empty rows in between the data but often we need to ignore them and find exactly how many rows which contain the data in it. Firstly we will see how to count number rows in excel which has the data.
