Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMPRODUCT arguments
Working with SUMPRODUCT for the first time. Can someone explain the use of
the dashes following the command? I've seen from none to (I think) 4... I started with: SUMPRODUCT(--(range=x),--(range=y)) I am currently trying to use 3 arguments, but the answer I expected was +#, but I am getting a -#. SUMPRODUCT(---([RANGE S]="REPORT"),---([RANGE 1 DUE]=[FIRST OF THE MONTH],---([RANGE 1 DUE]<=[END OF THE MONTH])) The actual answer is 2, but I get -2. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMPRODUCT arguments
You are getting -2 because you are using three minus signs for each
argument. You need only two. The third one is changing your answer to negative. Regards, Fred. "Chris T-M" wrote in message ... Working with SUMPRODUCT for the first time. Can someone explain the use of the dashes following the command? I've seen from none to (I think) 4... I started with: SUMPRODUCT(--(range=x),--(range=y)) I am currently trying to use 3 arguments, but the answer I expected was +#, but I am getting a -#. SUMPRODUCT(---([RANGE S]="REPORT"),---([RANGE 1 DUE]=[FIRST OF THE MONTH],---([RANGE 1 DUE]<=[END OF THE MONTH])) The actual answer is 2, but I get -2. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMPRODUCT arguments
See this:
http://xldynamic.com/source/xld.SUMPRODUCT.html -- Biff Microsoft Excel MVP "Chris T-M" wrote in message ... Working with SUMPRODUCT for the first time. Can someone explain the use of the dashes following the command? I've seen from none to (I think) 4... I started with: SUMPRODUCT(--(range=x),--(range=y)) I am currently trying to use 3 arguments, but the answer I expected was +#, but I am getting a -#. SUMPRODUCT(---([RANGE S]="REPORT"),---([RANGE 1 DUE]=[FIRST OF THE MONTH],---([RANGE 1 DUE]<=[END OF THE MONTH])) The actual answer is 2, but I get -2. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMPRODUCT arguments
"Fred Smith" wrote in message ... You are getting -2 because you are using three minus signs for each argument. You need only two. The third one is changing your answer to negative. ....and because there are an odd number of conditional tests, if there were an even number, it would have worked, as would one, 5 or any other odd number of dashes (not that I think it should ever be any other number than 2) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Too few arguments | Excel Worksheet Functions | |||
IF-more than 7 arguments | Excel Discussion (Misc queries) | |||
And, if, arguments.... | Excel Worksheet Functions | |||
sumproduct to count two arguments | Excel Worksheet Functions | |||
Can sumproduct do two {x,y,z} arguments? | Excel Worksheet Functions |