Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumproduct problem
HI,
I have sumif formulas which work fine, but when combine them as sumproduct, result is #NUM!, why? =SUMIF(Data!B:B,A8,Data!D:D) - answer =SUMIF(Data!C:C,LEFT(B8,3),Data!D:D) - answer =SUMPRODUCT(--(Data!B:B=A8),--(Data!C:C=LEFT(B8,3)),(Data!D:D)) - #NUM! Rgds |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumproduct problem
Maybe You should use:
=SUMPRODUCT(SUMIF(Data!B:B,A8,Data!D:D),SUMIF(Data !C:C,LEFT(B8,3),Data!D:D)) - #NUM! -- Herve Hanuise http://www.affordsol.be "Seeker" wrote: HI, I have sumif formulas which work fine, but when combine them as sumproduct, result is #NUM!, why? =SUMIF(Data!B:B,A8,Data!D:D) - answer =SUMIF(Data!C:C,LEFT(B8,3),Data!D:D) - answer =SUMPRODUCT(--(Data!B:B=A8),--(Data!C:C=LEFT(B8,3)),(Data!D:D)) - #NUM! Rgds |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumproduct problem
Hi Affordsol,
It doesn't work, would it be issue related to date because col B and A8 are dates. Rgds "affordsol" wrote: Maybe You should use: =SUMPRODUCT(SUMIF(Data!B:B,A8,Data!D:D),SUMIF(Data !C:C,LEFT(B8,3),Data!D:D)) - #NUM! -- Herve Hanuise http://www.affordsol.be "Seeker" wrote: HI, I have sumif formulas which work fine, but when combine them as sumproduct, result is #NUM!, why? =SUMIF(Data!B:B,A8,Data!D:D) - answer =SUMIF(Data!C:C,LEFT(B8,3),Data!D:D) - answer =SUMPRODUCT(--(Data!B:B=A8),--(Data!C:C=LEFT(B8,3)),(Data!D:D)) - #NUM! Rgds |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumproduct problem
Dear Affordsol,
I should smash my head as I had a #Value in col D, thats why the =SUMPRODUCT(--(Data!B:B=A8),--(Data!C:C=LEFT(B8,3)),(Data!D:D)) didn't work, after I errase the #value, now all back to normal. Anyway thanks again for your help. Rgds "affordsol" wrote: Maybe You should use: =SUMPRODUCT(SUMIF(Data!B:B,A8,Data!D:D),SUMIF(Data !C:C,LEFT(B8,3),Data!D:D)) - #NUM! -- Herve Hanuise http://www.affordsol.be "Seeker" wrote: HI, I have sumif formulas which work fine, but when combine them as sumproduct, result is #NUM!, why? =SUMIF(Data!B:B,A8,Data!D:D) - answer =SUMIF(Data!C:C,LEFT(B8,3),Data!D:D) - answer =SUMPRODUCT(--(Data!B:B=A8),--(Data!C:C=LEFT(B8,3)),(Data!D:D)) - #NUM! Rgds |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumproduct problem
=SUMPRODUCT((Data!B:B=A8)*(Data!C:C=LEFT(B8,3))*(D ata!D:D))
On Oct 22, 9:02*am, Seeker wrote: HI, I have sumif formulas which work fine, but when combine them as sumproduct, result is #NUM!, why? =SUMIF(Data!B:B,A8,Data!D:D) - answer =SUMIF(Data!C:C,LEFT(B8,3),Data!D:D) - answer =SUMPRODUCT(--(Data!B:B=A8),--(Data!C:C=LEFT(B8,3)),(Data!D:D)) - #NUM! Rgds |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumproduct problem
Maybe you could add a test for ISNUMBER() to capture those errors.
"Seeker" wrote: Dear Affordsol, I should smash my head as I had a #Value in col D, thats why the =SUMPRODUCT(--(Data!B:B=A8),--(Data!C:C=LEFT(B8,3)),(Data!D:D)) didn't work, after I errase the #value, now all back to normal. Anyway thanks again for your help. Rgds "affordsol" wrote: Maybe You should use: =SUMPRODUCT(SUMIF(Data!B:B,A8,Data!D:D),SUMIF(Data !C:C,LEFT(B8,3),Data!D:D)) - #NUM! -- Herve Hanuise http://www.affordsol.be "Seeker" wrote: HI, I have sumif formulas which work fine, but when combine them as sumproduct, result is #NUM!, why? =SUMIF(Data!B:B,A8,Data!D:D) - answer =SUMIF(Data!C:C,LEFT(B8,3),Data!D:D) - answer =SUMPRODUCT(--(Data!B:B=A8),--(Data!C:C=LEFT(B8,3)),(Data!D:D)) - #NUM! Rgds |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Problem with Sumproduct | Excel Discussion (Misc queries) | |||
SumProduct problem | Excel Worksheet Functions | |||
Big SUMPRODUCT problem | Excel Programming | |||
SUMPRODUCT Problem | Excel Programming | |||
Sumproduct problem | Excel Programming |