Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Sum Product Formula Issue

On Mon, 21 Jun 2004 08:28:23 -0700, Phil Hageman
wrote:

Formula:
=(SUM(PRODUCT(X17,X19),PRODUCT(X20,X22),PRODUCT(X 23,X25)))*G26

Given:
X17 = 0, X19 = .33
X20 = blank (the result of a formula returning “”), X22 = .33
X23 = blank (the result of a formula returning “”), X25 = .34
G26 = .25

What is happening: 1.) The first PRODUCT multiplies x17 (0) times X19 (.33), which equals zero. 2.) In the second PRODUCT calculation, X20 becomes .25, which is multiplied by .33, which equals .0825, and 2.) In the third PRODUCT calculation, X23 becomes .25, which is multiplied by .34, which equals .0850. The three products are summed to .1675. Why does X20 and X23 become .25?

If I enter a zero value for X22 and X25, the formula returns zeros in the second and third portion of the formula.

What is the modification of this formula to return a zero, without making X22 and X25 zero - the formula accepts the blank returned by another formula as a zero?

Thanks,
Phil


PRODUCT is ignoring non-numeric entries.

From HELP:

If an argument is an array or reference, only numbers in the array or reference
are counted. Empty cells, logical values, text, or error values in the array or
reference are ignored.



--ron
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
Product Formula Alan Excel Worksheet Functions 1 December 29th 09 03:48 PM
Product formula help txsharla Excel Worksheet Functions 4 November 9th 09 08:44 PM
Product Code and Product Description setup Nastyashman Excel Worksheet Functions 4 July 6th 09 05:48 PM
I need a product key for my Trail product, 2007 Microsoft Office s sltchsyi Setting up and Configuration of Excel 0 May 4th 09 01:32 AM
Product formula help Elbowhite Excel Worksheet Functions 2 August 23rd 05 11:55 PM


All times are GMT +1. The time now is 12:55 AM.

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"