COUNTA counting formulas? How do I make it stop?

Excel Hopeful

Board Regular
Joined
Mar 13, 2006
Messages
100
I'm beat guys. I'm using counta to count alphanumberic items. It works, except it's picking forumulas. These column that is counted includes forumuals but soem retrun blanks.

How do I get around this?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
describe your data in a little more detail - a worked example including the results you expect would help
 

Excel Hopeful

Board Regular
Joined
Mar 13, 2006
Messages
100
I have a list of alpha-numeric items in column A:

WR65
AI12
1FMC
45RT
" "
" "

These alpha-number items are pulled from other tabs within the workbook using the formula below:
Code:
=IF(ISBLANK(My!B12)=TRUE,"",My!B12)

There are times when the formula brings up BLANK values.

I'm trying to count the number of items in column A, but when I use CountA(A1:A6), I get 6 instead of 4.
 

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi Excel Hopeful

Try

=ROWS(A1:A6)-COUNTBLANK(A1:A6)

Hope this helps
PGC
 

Forum statistics

Threads
1,137,062
Messages
5,679,392
Members
419,825
Latest member
MegastarMagus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top