Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Summing values in a table

I have the following table:

A 1
B 2
C 3
D 4
A 5
B 6
C 7
A 8
A 9
A 10
D 11
D 12
C 13
B 14

With the text in column A & the numbers in Column B. The Letters can
change, depending on what has been entered elsewhere.

What I want to do, is calculate the sum of all entries that have a
score of A. In the exmaple of the table above, this would be 33. If
I wanted to know the sum of all entries with a score of B, it would
return 22 etc.

Can anyone help?

Rgds

Duncs

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Summing values in a table

=SUMIF(A1:A100,"A",B1:B100)
or
=SUMIF(A:A,"A",B:B)
best wsihes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Duncs" wrote in message
ps.com...
I have the following table:

A 1
B 2
C 3
D 4
A 5
B 6
C 7
A 8
A 9
A 10
D 11
D 12
C 13
B 14

With the text in column A & the numbers in Column B. The Letters can
change, depending on what has been entered elsewhere.

What I want to do, is calculate the sum of all entries that have a
score of A. In the exmaple of the table above, this would be 33. If
I wanted to know the sum of all entries with a score of B, it would
return 22 etc.

Can anyone help?

Rgds

Duncs



  #3   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Summing values in a table

try
=sumif(A:A."A",B:B)
etc


"Duncs" wrote:

I have the following table:

A 1
B 2
C 3
D 4
A 5
B 6
C 7
A 8
A 9
A 10
D 11
D 12
C 13
B 14

With the text in column A & the numbers in Column B. The Letters can
change, depending on what has been entered elsewhere.

What I want to do, is calculate the sum of all entries that have a
score of A. In the exmaple of the table above, this would be 33. If
I wanted to know the sum of all entries with a score of B, it would
return 22 etc.

Can anyone help?

Rgds

Duncs


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default Summing values in a table

Duncs,

=SUMIF(A2:A15,"A",B2:B15)

--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"Duncs" wrote in message
ps.com...
I have the following table:

A 1
B 2
C 3
D 4
A 5
B 6
C 7
A 8
A 9
A 10
D 11
D 12
C 13
B 14

With the text in column A & the numbers in Column B. The Letters can
change, depending on what has been entered elsewhere.

What I want to do, is calculate the sum of all entries that have a
score of A. In the exmaple of the table above, this would be 33. If
I wanted to know the sum of all entries with a score of B, it would
return 22 etc.

Can anyone help?

Rgds

Duncs



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Summing values in a table

Such simple solutions!

Once again, I was trying to overcomplicate the situation.

My thanks to all for replying.

Duncs

On 16 Mar, 12:30, "Duncs" wrote:
I have the following table:

A 1
B 2
C 3
D 4
A 5
B 6
C 7
A 8
A 9
A 10
D 11
D 12
C 13
B 14

With the text in column A & the numbers in Column B. The Letters can
change, depending on what has been entered elsewhere.

What I want to do, is calculate the sum of all entries that have a
score of A. In the exmaple of the table above, this would be 33. If
I wanted to know the sum of all entries with a score of B, it would
return 22 etc.

Can anyone help?

Rgds

Duncs



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
Summing Values in a Row [email protected] Excel Worksheet Functions 1 August 29th 06 04:04 AM
summing values in a data table based on criteria in another column Dave F Excel Worksheet Functions 7 August 26th 06 04:36 PM
summing values in one row based on values in another row Bert Excel Worksheet Functions 6 June 26th 06 09:43 PM
LOOKING FOR A NAME, THEN SUMMING ALL VALUES ASSOCIATED WITH NAME Peggy Excel Discussion (Misc queries) 4 June 22nd 05 06:48 PM
searching for values and summing the corresponding values Simon Excel Worksheet Functions 1 February 4th 05 12:13 AM


All times are GMT +1. The time now is 09:42 PM.

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

About Us

"It's about Microsoft Excel"