Thread: Sumif
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers Toppers is offline
external usenet poster
 
Posts: 4,339
Default Sumif

Look at SUMPRODUCT:

=SUMPRODUCT(--(Production!A2:A100)="specific
date"),--(Production!B2:B100)="production code"),Production!C2:C100)

Set Date (H1) and code (H2) in cells:

e.g.

=SUMPRODUCT(--(Production!A2:A100)=H1),--(Production!B2:B100)=H2),Production!C2:C100)

Except in XL2007, ranges cannot be a whole column AND must be same size for
all ranges.

HTH

"Arlene" wrote:

I have checked and can't find anyone nesting sumif's by date and other
criteria.

I have 5 columns that list (Production) a piece of equipment (multiples),
the date(more multiples) for the same piece of equipment and then the
quantity the equipment did. There could be 12 times the equipment is
mentioned for a single day. I need to sum the quantity the piece of
equipment did by the date. I have tried
sumif(Production!A:A(date)=Summary!B1(specific
date),sumif(Production!B:B=Summary!c1(equipment
code),Production!C:C(quantity))) doesn't seem to like the nested if's. What
else can I do? Thanks