Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a worksheet that is tracking items that are missed broken down daily
by employee... The columns look like: A2 (date) B2 (Name) C2 (Initials) D2 (# of items) Same as above for: F2 G2 H2 I2 then the running tally in K2 (name) L2 (Initials) M2 (Running total) I've tried two different formulas with no result but the horrid ####'s. =SUMPRODUCT(--($C$2:$C$31="TLG"),--($H$2:$H$31="TLG"),--($D$2:$D$3),--($I$2:$I$31)) and =SUMPRODUCT(--(C$2:C$31:H$2:H$31="TLG"),--(D$2:D$31:I$2:I$31)) Help?? Tia |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It depends on what you're trying to sum. If you use Sumproduct then both
criteria ranges, $C$2:$C$31 and $H$2:$H$31, must have "TLG" to get the sum: .......C2.........D2..........H2...........I2 ......TLG........10..........XX..........10 The above example would equal 0 because H2 does not contain TLG. If that's really what you want try this: =SUMPRODUCT(--(C2:C31="TLG"),--(H2:H31="TLG"),D2:D31+I2:I31) If you really want to sum ANY cells that correspond to "TLG" then try this: =SUMIF(C2:C31,"TLG",D2:D31)+SUMIF(H2:H31,"TLG",I2: I31) Biff "TiaB" wrote in message ... I have a worksheet that is tracking items that are missed broken down daily by employee... The columns look like: A2 (date) B2 (Name) C2 (Initials) D2 (# of items) Same as above for: F2 G2 H2 I2 then the running tally in K2 (name) L2 (Initials) M2 (Running total) I've tried two different formulas with no result but the horrid ####'s. =SUMPRODUCT(--($C$2:$C$31="TLG"),--($H$2:$H$31="TLG"),--($D$2:$D$3),--($I$2:$I$31)) and =SUMPRODUCT(--(C$2:C$31:H$2:H$31="TLG"),--(D$2:D$31:I$2:I$31)) Help?? Tia |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding "OR" to a Sumproduct Formula | Excel Worksheet Functions | |||
Sumproduct | Excel Worksheet Functions | |||
sumproduct causing memory errors? | Excel Worksheet Functions | |||
Sumproduct function not working | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions |