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 <angryel...@discussions.microsoft.com>
wrote:
> I have two columns of data as follows
> 1 teama
[quoted text clipped - 8 lines]
> I'm trying to sum the value that is associated with each team name. Can
> anyone point me in the right direction?
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.
> I have two columns of data as follows
> 1 teama
[quoted text clipped - 8 lines]
> I'm trying to sum the value that is associated with each team name. Can
> anyone point me in the right direction?
angryelvis - 14 Aug 2007 17:58 GMT
Thanks for the answer. I'll spend more time in Help in the future....
> SUMIF should work in this case
>
[quoted text clipped - 14 lines]
> > I'm trying to sum the value that is associated with each team name. Can
> > anyone point me in the right direction?