#1   Report Post  
Junior Member
 
Posts: 4
Default sumproduct

Hi I am having a problem with a table I have created

I am using multiple criteria I need to add up totals per person per item if you get what I am saying, The formula comes up with no errors, but it is not finding ding anything

=SUMPRODUCT(--(Data!Driver=Variances!A$3)*(Data!Fleet=Variances! B$2),Data!Variance)

Any thoughts?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 829
Default sumproduct

"montypython" wrote:
I am using multiple criteria I need to add up totals per person
per item if you get what I am saying, The formula comes up with
no errors, but it is not finding ding anything
=SUMPRODUCT(--(Data!Driver=Variances!A$3)*(Data!Fleet=Variances! B$2),Data!Variance)


The double-negative (--) is superfluous since you are multiplying (*)
conditions. However, that does not cause any problems.

The formula will return zero if either of the following conditions applies:


1. The corresponding values in Data!Variance are text "numbers" or empty.

What does the following formula return (it should return zero):

=SUMPRODUCT(--(ISNUMBER(Data!Variance)=FALSE))

You might try --Data!Variance. But that is just a work-around. It would be
better if the values in Data!Variance were numeric, if that is your intent.


2. There are no instances where both of the conditions are true.

Again, the problem might be mix of text "numbers" and numeric values.

What does the following formula return (it should return zero):

=(ISNUMBER(Variances!A$3)=FALSE)+(ISNUMBER(Varianc es!B$2)=FALSE)
+SUMPRODUCT(--(ISNUMBER(Data!Driver)=FALSE))
+SUMPRODUCT(--(ISNUMBER(Data!Fleet)=FALSE))

You might try writing --Data!Driver, --Data!Fleet, --Variances!A$3
and --Variances!B$2. But again, those are work-arounds, not real fixes.

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
Sumproduct instead of SumifS in VBA (application.sumproduct) Majken Bilslev-Jensen Excel Programming 7 December 30th 10 05:56 PM
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct mod row denise Excel Worksheet Functions 9 February 27th 07 08:58 PM


All times are GMT +1. The time now is 02:00 PM.

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

About Us

"It's about Microsoft Excel"