Thread: Complex Sumif
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Complex Sumif

Will Sumif work here?

No.

Column J = Month of year


Is that the month name as a TEXT string like June?

Try this:

Use cells to hold your criteria:

A1 = cost center
B1 = month name as a TEXT string = June

=SUMPRODUCT(--(C1:C100=A1),--(J1:J100=B1),G1:G100)


--
Biff
Microsoft Excel MVP


"El Bee" wrote in message
...
I'm not sure sumif is the correct use.

I have a table (table1) which contains the following:
Column C= a cost center
Column G = $$$$
Column J = Month of year

I need to sum all the qualifying amounts in column G if they equal the
same
cost_center in Column C AND are in the same month in Column J.

Will Sumif work here? If not what can I use?

Thanks for helping,

El Bee