Hi,
nothing wrong with Biff suggestion, just change the references
=SUMIF(Sheet2!A1:A100,"team ID",Sheet2!C1:C100)
if the team id is in A1 of Sheet1 then
=SUMIF(Sheet2!A1:A100,A1,Sheet2!C1:C100)
--
If this helps, please click the Yes button.
Cheers,
Shane Devenshire
"Excel Sum function with IF" wrote:
> I mean...I want to add all values (in column C) in other worksheet under
> specific Team ID in Column A into other worksheet
>
> I think there is sumif involved like sum of values under column C only if
> column A equals 3 (team id) then put result in other sheet.
>
> "T. Valko" wrote:
>
> > Try this:
> >
> > =SUMIF(A1:A100,"team ID",B1:B100)
> >
> > Better to use a cell to hold the criteria:
> >
> > D1 = team ID
> >
> > =SUMIF(A1:A100,D1,B1:B100)
> >
> > --
> > Biff
> > Microsoft Excel MVP
> >
> >
> > "Excel Sum function with IF" <Excel Sum function with
> > (E-Mail Removed)> wrote in message
> > news:3DD5BF10-1281-47CA-897E-(E-Mail Removed)...
> > >I am trying to figure out how to add all dollars amounts in other worksheet
> > > under same team ID...for instance, there are 100 different team ID but
> > > there
> > > are some same Team ID. I want to add all values under the same Team ID.
> > > I
> > > don't want to sort the Team ID then do sum every time. I want to be able
> > > to
> > > type in data without having to sort it and update the function in other
> > > sheet. How do I do that?
> >
> >
> >