ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum of yes answers (https://www.excelbanter.com/excel-worksheet-functions/251765-sum-yes-answers.html)

Linda L

Sum of yes answers
 
I have a simple table with seven cells that can be answered either Y or N. I
want to sum the total of all Y answers. Can you give me a formula for that?

thanks

Mike H

Sum of yes answers
 
Hi,

Try this

=COUNTIF(B1:B6,"y")

Mike

"Linda L" wrote:

I have a simple table with seven cells that can be answered either Y or N. I
want to sum the total of all Y answers. Can you give me a formula for that?

thanks


Rick Rothstein

Sum of yes answers
 
If you really meant "sum", then look at the SUMIF function; otherwise, if
you actually meant "count", then look at the COUNTIF function. If you had
provided more details about your layout, I would have been able to give you
suggested formula to try.

--
Rick (MVP - Excel)


"Linda L" wrote in message
...
I have a simple table with seven cells that can be answered either Y or N.
I
want to sum the total of all Y answers. Can you give me a formula for
that?

thanks




All times are GMT +1. The time now is 03:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com