ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Adding up non numerical values (https://www.excelbanter.com/new-users-excel/159194-adding-up-non-numerical-values.html)

Wooster

Adding up non numerical values
 
In one column I will have a variety of letters. (A, B, C etc) In another
cell I want to have the sum of all the A's in that column. In a different
cell I want to have the number of B's in the column - and so on. How do I do
this?
Thanks in advance!

Pete_UK

Adding up non numerical values
 
Try this:

=COUNTIF(A1:A100,"A")
=COUNTIF(A1:A100,"B")

etc., where I have assumed your data is in A1:A100.

Hope this helps.

Pete

On Sep 21, 9:10 am, Wooster wrote:
In one column I will have a variety of letters. (A, B, C etc) In another
cell I want to have the sum of all the A's in that column. In a different
cell I want to have the number of B's in the column - and so on. How do I do
this?
Thanks in advance!




Wooster

Adding up non numerical values
 
Works perfectly. Thanks

"Pete_UK" wrote:

Try this:

=COUNTIF(A1:A100,"A")
=COUNTIF(A1:A100,"B")

etc., where I have assumed your data is in A1:A100.

Hope this helps.

Pete

On Sep 21, 9:10 am, Wooster wrote:
In one column I will have a variety of letters. (A, B, C etc) In another
cell I want to have the sum of all the A's in that column. In a different
cell I want to have the number of B's in the column - and so on. How do I do
this?
Thanks in advance!





Pete_UK

Adding up non numerical values
 
You're welcome - thanks for taking the trouble to feed back.

Pete

On Sep 22, 7:40 pm, Wooster wrote:
Works perfectly. Thanks



"Pete_UK" wrote:
Try this:


=COUNTIF(A1:A100,"A")
=COUNTIF(A1:A100,"B")


etc., where I have assumed your data is in A1:A100.


Hope this helps.


Pete


On Sep 21, 9:10 am, Wooster wrote:
In one column I will have a variety of letters. (A, B, C etc) In another
cell I want to have the sum of all the A's in that column. In a different
cell I want to have the number of B's in the column - and so on. How do I do
this?
Thanks in advance!- Hide quoted text -


- Show quoted text -





All times are GMT +1. The time now is 09:38 AM.

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