i have a column like this
yes
yes
no
yes
no
(blank)
yes
(blank)
no
i am looking for a formula to tell me how many times it says yes, no and (blank) in this column.
any help would be much appreciated. thanks
i have a column like this
yes
yes
no
yes
no
(blank)
yes
(blank)
no
i am looking for a formula to tell me how many times it says yes, no and (blank) in this column.
any help would be much appreciated. thanks
Hi,
Try
=COUNTIF(A:A,"Yes")
=COUNTIF(A:A,"No")
=COUNTBLANK(A:A)
Change range as required
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Hi,Originally Posted by jimmisavage
try
="Yes = "&COUNTIF(A:A,"yes")&" No = "&COUNTIF(A:A,"no")&" (blank) = "&COUNTIF(A:A,"(blank)")
or use CountBlank is you wanted blanks.
hth
---
and Hi VBA Noob
Si fractum non sit, noli id reficere.
Hi,
VBA Noob formulae are excellent ...
Just be careful with your blank cells ...
blank means empty ... it does not mean cells blanked with several spaces ...
HTH
Carim
![]()
You can not use a whole column to count blank. You have to specify a rangeOriginally Posted by VBA Noob
I did say
Change range as required
I would of assumed if he got a return of 64000 he may have guessed something was wrong
Plus Carim but a note in already if you read the thread " Just be careful with your blank cells "
VBA Noob
Last edited by VBA Noob; 12-03-2006 at 04:04 PM.
Is there a formula that can count anything other than yes or no.
i.e
if 5 boxes shows Yes
5 showed No
5 others had various stuff such as NA, blank etc
So in this case you would have Yes = 5 No = % Other =5 ?
Thanx
Hi,
HTH![]()
Please Login or Register to view this content.
Carim
![]()
Thanks for the speedy reply![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks