Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lowkey
 
Posts: n/a
Default Counting Textual Answers

I want to Count and Total the results of a string of Text cells where Yes=1
and No=0. How do I establish the parameters for Yes and No to equal a numeric
result and then Total the result without creating a Macro? The text answer
needs to be visible: it is the result of a Yes/No choice.
  #2   Report Post  
Andy B
 
Posts: n/a
Default

Hi
Alongside the Y/N column use a helper column containing:
=IF(A2="Yes",1,0)
You can then use this column for your total.

Andy.

"Lowkey" wrote in message
...
I want to Count and Total the results of a string of Text cells where Yes=1
and No=0. How do I establish the parameters for Yes and No to equal a
numeric
result and then Total the result without creating a Macro? The text answer
needs to be visible: it is the result of a Yes/No choice.



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Do the count and total in one step

=COUNTIF(A:A,"Yes")

=COUNTA(A:A)-COUNTIF(A:A,"Yes")

--
HTH

Bob Phillips

"Andy B" wrote in message
...
Hi
Alongside the Y/N column use a helper column containing:
=IF(A2="Yes",1,0)
You can then use this column for your total.

Andy.

"Lowkey" wrote in message
...
I want to Count and Total the results of a string of Text cells where

Yes=1
and No=0. How do I establish the parameters for Yes and No to equal a
numeric
result and then Total the result without creating a Macro? The text

answer
needs to be visible: it is the result of a Yes/No choice.





  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Assumin the Yes and No are in separate cells like if the were in B1:B200 and
you want to count Yes

=COUNTIF(B1:B200,"Yes")

since you only want 1 for Yes you can just count them and the result should
be OK


Regards,

Peo Sjoblom

"Lowkey" wrote:

I want to Count and Total the results of a string of Text cells where Yes=1
and No=0. How do I establish the parameters for Yes and No to equal a numeric
result and then Total the result without creating a Macro? The text answer
needs to be visible: it is the result of a Yes/No choice.

  #5   Report Post  
Lowkey
 
Posts: n/a
Default

Both Andy's and Peo's suggestions work, but I like Peo's better because I
don't have to create a dummy column and hide it.

"Peo Sjoblom" wrote:

Assumin the Yes and No are in separate cells like if the were in B1:B200 and
you want to count Yes

=COUNTIF(B1:B200,"Yes")

since you only want 1 for Yes you can just count them and the result should
be OK


Regards,

Peo Sjoblom

"Lowkey" wrote:

I want to Count and Total the results of a string of Text cells where Yes=1
and No=0. How do I establish the parameters for Yes and No to equal a numeric
result and then Total the result without creating a Macro? The text answer
needs to be visible: it is the result of a Yes/No choice.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting rows of blanks across certain columns crossingboston New Users to Excel 1 May 26th 05 05:20 PM
Counting... Patrick G Excel Worksheet Functions 3 February 23rd 05 10:05 PM
counting Multiple answers in 1 cell + column the6thlee Excel Discussion (Misc queries) 1 February 21st 05 09:19 AM
counting Multiple answers in 1 cell + column help me i have an excel problem Excel Discussion (Misc queries) 0 February 21st 05 08:41 AM
Counting data by certain years SLB Excel Worksheet Functions 8 December 16th 04 01:17 PM


All times are GMT +1. The time now is 08:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"