23.08.2023 Views

CFI-Excel-eBook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Corporate Finance Institute Excel

Example 1 – Excel Countif not blank

Suppose we are given the data below:

Data Formula Result

2/1/17 =COUNT(2-01-2017) 1.00

35 =COUNT(35) 1.00

TRUE =COUNT(TRUE) 1.00

DIV/0! =COUNT(#DIV/0!) 1.00

22.25 =COUNT(22.25) 1.00

5.25 =COUNT(5.25) 1.00

As seen above, the COUNTA function will count text or formula errors. So

unlike the COUNT function, which considers only numbers, COUNTA considers

numbers, dates, text values, logical values, and errors).

We get the results below:

The COUNTA function can be used for an array. If we enter the formula

=COUNTA(B5:B10), we will get the result 6, as shown below:

corporatefinanceinstitute.com

185

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!