Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default SumProduct Formula

The following formula works fine when all "B" cells have a
value 0. When a "B" cell is zero, the formula returns
#Value!. Is it possible to modify this formula so that it
ignores the zero value and sums the other "B" products?

=(SUM(PRODUCT(BI35,BI37),PRODUCT(BI38,BI40),PRODUC T
(BI41,BI43)))*AR44

Thanks,
Phil

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default SumProduct Formula

I couldn't reproduce your results unless either:

- The column BI values had #VALUE! errors or

- AR44 had text (which could be a space character)


In article ,
"Phil Hageman" wrote:

The following formula works fine when all "B" cells have a
value 0. When a "B" cell is zero, the formula returns
#Value!. Is it possible to modify this formula so that it
ignores the zero value and sums the other "B" products?

=(SUM(PRODUCT(BI35,BI37),PRODUCT(BI38,BI40),PRODUC T
(BI41,BI43)))*AR44

Thanks,
Phil

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default SumProduct Formula

Hi Phil,
I cannot reproduce this problem. The formula works with zeros for me.

I have never used PRODUCT before but did some experiments. With 1,2,3,4 in
B1:B4, the formula PRODUCT(B1:B4) correctly returns 24 (the same as
B1*B2*B3*B4). But when B3 is deleted PRODUCT gives 8 while the * operator
gives 0. When text is entered in B3, PRODUCT ignores it while the operator
formula give #VALUE!
The description of PRODUCT in Help seems wide of the mark!
Bernard

"Phil Hageman" wrote in message
...
The following formula works fine when all "B" cells have a
value 0. When a "B" cell is zero, the formula returns
#Value!. Is it possible to modify this formula so that it
ignores the zero value and sums the other "B" products?

=(SUM(PRODUCT(BI35,BI37),PRODUCT(BI38,BI40),PRODUC T
(BI41,BI43)))*AR44

Thanks,
Phil



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default SumProduct Formula

Are you sure it is 0 and not "O" then?

Bernard V Liengme wrote:

Hi Phil,
I cannot reproduce this problem. The formula works with zeros for me.

I have never used PRODUCT before but did some experiments. With 1,2,3,4 in
B1:B4, the formula PRODUCT(B1:B4) correctly returns 24 (the same as
B1*B2*B3*B4). But when B3 is deleted PRODUCT gives 8 while the * operator
gives 0. When text is entered in B3, PRODUCT ignores it while the operator
formula give #VALUE!
The description of PRODUCT in Help seems wide of the mark!
Bernard

"Phil Hageman" wrote in message
...

The following formula works fine when all "B" cells have a
value 0. When a "B" cell is zero, the formula returns
#Value!. Is it possible to modify this formula so that it
ignores the zero value and sums the other "B" products?

=(SUM(PRODUCT(BI35,BI37),PRODUCT(BI38,BI40),PROD UCT
(BI41,BI43)))*AR44

Thanks,
Phil





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
Nesting a sumproduct formula within a sumif formula. jerrymcm Excel Discussion (Misc queries) 2 October 3rd 07 03:35 PM
CSE formula Over Sumproduct() JimMay Excel Discussion (Misc queries) 1 June 20th 06 02:46 PM
SUMPRODUCT FORMULA Dinesh Excel Worksheet Functions 11 May 19th 06 06:44 PM
SUMPRODUCT formula help Serge Excel Discussion (Misc queries) 7 April 10th 06 11:37 PM
SUMPRODUCT formula shmurphing Excel Worksheet Functions 4 December 21st 04 10:43 PM


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