ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Adding Columns in Excel (https://www.excelbanter.com/excel-discussion-misc-queries/25579-adding-columns-excel.html)

DNA

Adding Columns in Excel
 
I have a row that has only Y's or N's. I want to total in two other
difference cells the number of Y's and the number of N's in that row.

Any ideas?


Nick Hodge

DNA

Use a COUNTIF function for each like that below

=COUNTIF(A1:G1,"Y")

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS

"DNA" wrote in message
lkaboutsoftware.com...
I have a row that has only Y's or N's. I want to total in two other
difference cells the number of Y's and the number of N's in that row.

Any ideas?





All times are GMT +1. The time now is 10:17 AM.

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