countif

Tomo

Board Regular
Joined
Dec 27, 2009
Messages
199
what I am trying to do is count a cell only if it is not blank dont want to use specific text I can do that but am drawing a blank if you excuse the pun on the formula for doing this.

so it the cell a1 is blank ignore it anything else give it a value of 1

thanks in advance
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
i use countif=(monday!a1,"")

but it is not working need it to count the cell only if there is text in it not if it's blank
 
Upvote 0
That works fine for a number value but it is text in the cell so need it to count if there is any text in the cell

what i need is if cell a1 = fred count as 1
 
Upvote 0
32 has the text fred in it

=COUNTA(E32,">0")

This formula gives me the value 2

any ideas should be 1
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,904
Members
452,948
Latest member
Dupuhini

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