ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   adding individual cells in a column (https://www.excelbanter.com/excel-worksheet-functions/68265-adding-individual-cells-column.html)

Sheila

adding individual cells in a column
 
I have a column with the text T1, T2 and T3 in the cells. I need a
calculation to add all the T1's together, all the T2's together and all the
T3's. Can anyone help me?
--
Sheila

Ian

adding individual cells in a column
 
Not sure what you mean here.
Do you mean you want to count the number of T1s etc?
=COUNTIF(A1:A10,"T1") assuming your column is A.

Do you mean you want the sum the values in another column when column A is
T1?
=SUMIF(A1:A10,"T1",B1:B10) assuming T1 etc is in column A and your values in
column B.

--
Ian
--
"Sheila" wrote in message
...
I have a column with the text T1, T2 and T3 in the cells. I need a
calculation to add all the T1's together, all the T2's together and all
the
T3's. Can anyone help me?
--
Sheila




Bobby

adding individual cells in a column
 
Look at concatenate or post example and expected results
HTH

"Sheila" wrote:

I have a column with the text T1, T2 and T3 in the cells. I need a
calculation to add all the T1's together, all the T2's together and all the
T3's. Can anyone help me?
--
Sheila


Ron Coderre

adding individual cells in a column
 
If you to count the occurrences of T1's, T2's, etc, try something like this:

For values in A1:A100

To count T1's
C1: =COUNTIF($A$1:$A$100,"T1")

Alternatively:
B1: T1
C1: =COUNTIF($A$1:$A$100,B1)

B2: T2
C2: =COUNTIF($A$1:$A$100,B2)
etc

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Sheila" wrote:

I have a column with the text T1, T2 and T3 in the cells. I need a
calculation to add all the T1's together, all the T2's together and all the
T3's. Can anyone help me?
--
Sheila


Ken Wright

adding individual cells in a column
 
COUNTIF() will do it, but so will a Pivot Table if you are familiar with
those.

http://www.geocities.com/jonpeltier/...pivotstart.htm

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"Sheila" wrote in message
...
I have a column with the text T1, T2 and T3 in the cells. I need a
calculation to add all the T1's together, all the T2's together and all
the
T3's. Can anyone help me?
--
Sheila





All times are GMT +1. The time now is 12:44 AM.

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