COUNTA OR COUNTAIF?????

Silo

Active Member
Joined
Mar 8, 2004
Messages
447
Hello everyone,

I’m very impressed with everyone’s expertise on this Forum and I’m confident that someone here can help me.

I have a spread sheet that is linked to others, the links works fine. My problem is that I have to do manual editing to complete the update I require.

In this spread sheet the values I’m retrieving are alphanumeric. They are actually the letter “X” which serves as a cell check signifying the acceptance for the associated cell.

My problem is that when the sheet links it also brings in the Zeros that represent a null entry for some cells. I need to sum all the “X’s” with a “Counta Formula” but the Counta Formula also counts the Zeros.

Example...

=COUNTA(C11:C27) :oops:

I need to add all cells that have the “X’s” that are brought in thru the link. How do I make Excel ignore the Zero’s??? (Null Values)

Please Help
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
How about something like:-

=COUNTIF(A1:A10,"*X*")

And what do you mean by you want to SUM the Xs? Do you mean you want to COUNT the Xs?
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,869
Members
449,054
Latest member
juliecooper255

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
Back
Top