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


=SUMPRODUCT(($A$14:$A$30002={"A","B","C"})*($B$14: B$30002={"01","02"})*($C$14:$C$30002=$C$2)*$D$14:$ D$30002)


Why does this not work. It should actually return a valid total.

Thank you,

Steven


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

Hi,

You are multiplying two arrays together with different numbers of elements.
A quick workaround would be to add a third element to {"01","02","XX"}

The third element would be a dummy element.

If this helps please click the Yes button.
--
Thanks,
Shane Devenshire


"Steven" wrote:


=SUMPRODUCT(($A$14:$A$30002={"A","B","C"})*($B$14: B$30002={"01","02"})*($C$14:$C$30002=$C$2)*$D$14:$ D$30002)


Why does this not work. It should actually return a valid total.

Thank you,

Steven


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 389
Default SUMPRODUCT

Shane,

That does not return the correct amount.

It returns the "A" ; "01" ; $C$2 value.

Steven


"ShaneDevenshire" wrote:

Hi,

You are multiplying two arrays together with different numbers of elements.
A quick workaround would be to add a third element to {"01","02","XX"}

The third element would be a dummy element.

If this helps please click the Yes button.
--
Thanks,
Shane Devenshire


"Steven" wrote:


=SUMPRODUCT(($A$14:$A$30002={"A","B","C"})*($B$14: B$30002={"01","02"})*($C$14:$C$30002=$C$2)*$D$14:$ D$30002)


Why does this not work. It should actually return a valid total.

Thank you,

Steven


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
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Sumproduct with OR John Excel Discussion (Misc queries) 7 August 23rd 07 06:47 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct help JR Excel Worksheet Functions 0 February 27th 06 02:57 PM
=SUMPRODUCT Jim Excel Worksheet Functions 9 January 17th 06 04:52 PM


All times are GMT +1. The time now is 05:56 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"