#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUMPRODUCT help

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default SUMPRODUCT help

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding "OR" to a Sumproduct Formula Duke Carey Excel Worksheet Functions 0 March 21st 06 06:41 PM
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 01:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"