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

Hello,

One of the ranges I use in my sumproduct formula includes cells with formula
like

=IF(A1=0, "", A1)

The sumproduct returns a #VALUE! error whenever the cell A1 is 0, otherwise
it works fine.

How to deal with the problem by modifying the sumproduct ?
(The formula IF(A1=0, "", A1) is fixed and cannot be modified)

Any suggestions would be appreciated. I use Excel XP. Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SumProduct problem

For better answers, post your sumproduct formula
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,000, Files:358, Subscribers:55
xdemechanik
---
"robot" wrote in message
...
Hello,

One of the ranges I use in my sumproduct formula includes cells with
formula like

=IF(A1=0, "", A1)

The sumproduct returns a #VALUE! error whenever the cell A1 is 0,
otherwise it works fine.

How to deal with the problem by modifying the sumproduct ?
(The formula IF(A1=0, "", A1) is fixed and cannot be modified)

Any suggestions would be appreciated. I use Excel XP. Thanks.




  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 36
Default SumProduct problem

Could it be that the possible result in that particular cell could be blank?

The way you have this formula set it will only fill in the cell if A1 is 0,
otherwise there will be nothing.

"robot" wrote:

Hello,

One of the ranges I use in my sumproduct formula includes cells with formula
like

=IF(A1=0, "", A1)

The sumproduct returns a #VALUE! error whenever the cell A1 is 0, otherwise
it works fine.

How to deal with the problem by modifying the sumproduct ?
(The formula IF(A1=0, "", A1) is fixed and cannot be modified)

Any suggestions would be appreciated. I use Excel XP. Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 287
Default SumProduct problem

Presumably the range with those formulas is the "sum range". Assuming you
have a formula like

=SUMPRODUCT((A1:A10="x")*(B1:B10="y")*C1:C10)

try changing syntax to

=SUMPRODUCT((A1:A10="x")*(B1:B10="y"),C1:C10)

Note , instead of *





"JasonP CCTM LV" wrote:

Could it be that the possible result in that particular cell could be blank?

The way you have this formula set it will only fill in the cell if A1 is 0,
otherwise there will be nothing.

"robot" wrote:

Hello,

One of the ranges I use in my sumproduct formula includes cells with formula
like

=IF(A1=0, "", A1)

The sumproduct returns a #VALUE! error whenever the cell A1 is 0, otherwise
it works fine.

How to deal with the problem by modifying the sumproduct ?
(The formula IF(A1=0, "", A1) is fixed and cannot be modified)

Any suggestions would be appreciated. I use Excel XP. Thanks.



  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 6
Default SumProduct problem

That is exactly what I missed. I should have posted my formula.

Thanks so much! You guys are great!


"daddylonglegs" ...
Presumably the range with those formulas is the "sum range". Assuming you
have a formula like

x =SUMPRODUCT((A1:A10="x")*(B1:B10="y")*C1:C10)

try changing syntax to

=SUMPRODUCT((A1:A10="x")*(B1:B10="y"),C1:C10)

Note , instead of *





"JasonP CCTM LV" wrote:

Could it be that the possible result in that particular cell could be
blank?

The way you have this formula set it will only fill in the cell if A1 is
0,
otherwise there will be nothing.

"robot" wrote:

Hello,

One of the ranges I use in my sumproduct formula includes cells with
formula
like

=IF(A1=0, "", A1)

The sumproduct returns a #VALUE! error whenever the cell A1 is 0,
otherwise
it works fine.

How to deal with the problem by modifying the sumproduct ?
(The formula IF(A1=0, "", A1) is fixed and cannot be modified)

Any suggestions would be appreciated. I use Excel XP. Thanks.





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
Problem using SUMPRODUCT JoAnn New Users to Excel 1 April 22nd 08 08:57 PM
SUMPRODUCT problem juliejg1 Excel Worksheet Functions 4 January 30th 08 08:43 PM
SUMPRODUCT problem Joe M. Excel Discussion (Misc queries) 6 January 30th 08 04:44 PM
sumproduct problem Stefan Excel Worksheet Functions 2 January 5th 06 10:59 AM
SUMPRODUCT problem Jane Excel Worksheet Functions 3 November 8th 04 11:58 PM


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