Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default testing while suming

I have two columns of data as follows
1 teama
2 teamb
3 teamc
4 teama
5 teamb
6 teamc

The number of rows will not change.

I'm trying to sum the value that is associated with each team name. Can
anyone point me in the right direction?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8,856
Default testing while suming

Try this:

=SUMIF(B1:B6,"teama",A1:A6)

If you want to list your teams in a range somewhere, eg D1:D3, then
you can put this variation in E1 and copy into E2 and E3:

=SUMIF(B$1B$6,D1,A$1:A$6)

Hope this helps.

Pete

On Aug 14, 4:30 pm, angryelvis
wrote:
I have two columns of data as follows
1 teama
2 teamb
3 teamc
4 teama
5 teamb
6 teamc

The number of rows will not change.

I'm trying to sum the value that is associated with each team name. Can
anyone point me in the right direction?



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,365
Default testing while suming

SUMIF should work in this case

=SUMIF(B1:B6,"teama",A1:A6)
would return 5
Just change the "teamL" part of the formula for different teams.

"angryelvis" wrote:

I have two columns of data as follows
1 teama
2 teamb
3 teamc
4 teama
5 teamb
6 teamc

The number of rows will not change.

I'm trying to sum the value that is associated with each team name. Can
anyone point me in the right direction?

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default testing while suming

Thanks for the answer. I'll spend more time in Help in the future....

"JLatham" wrote:

SUMIF should work in this case

=SUMIF(B1:B6,"teama",A1:A6)
would return 5
Just change the "teamL" part of the formula for different teams.

"angryelvis" wrote:

I have two columns of data as follows
1 teama
2 teamb
3 teamc
4 teama
5 teamb
6 teamc

The number of rows will not change.

I'm trying to sum the value that is associated with each team name. Can
anyone point me in the right direction?

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
suming in add-ins ajimmo Excel Worksheet Functions 2 October 2nd 06 11:57 PM
Suming values from a xls file southerndandy Excel Worksheet Functions 3 December 21st 05 04:24 PM
suming all specific cell in subsheets [email protected] New Users to Excel 5 August 28th 05 08:40 PM
Suming up a Lookup Byan Excel Worksheet Functions 1 July 21st 05 09:36 PM
Suming 2 cells if 1 = #N/A carl Excel Worksheet Functions 3 June 10th 05 08:41 PM


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

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"