Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default Problem with a Sumproduct formula

Hi, I'm having a problem with a sumproduct formula thats not returning data
consistently.

I have a datasheet that has all the formulas in that is working fine. I then
have a summary sheet for the managers which allows them to choose what they
want to look at and the sheet populates using sumproduct formulas that
reference off the datasheet. The summary sheet looks like this:

Product (which is a drop down)

Region Measure Q1 Q2 Q3 Q4 etc
WCE Conversion rate 0% 0% 0% 0%
WCE Indirect 37% 40% 39% 15%

etc
The sumproduct formula is:
=(SUMPRODUCT((DSReg=$A5)*(DSProd=$B$2)*(DSKPI=$B5) ,DSQ109Amt))
DSREG is the region, DSProd is the product in the drop down, DSKPI is the
Measure eh Conversion rate.
I've double checked all the range's agree and the names are right, and the
reference cells tie up. Has anyone any idea why the formula is working
correctly for Indirect but not for Conversion rate?

I've done some experimenting and I'm fairly sure that its the range DSKPI
thats causing the problem- Ive tried deleting it and redoing the range but
that didn't fix it.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default Problem with a Sumproduct formula

Hi Michelle

Zero multiplied by anything, and anything multiplied by zero, will always be
zero!
In your sample, all your conversion rates are zero. You will have to cater
for situations where you work with a zero conversion rate, and when it is
zero, leave that part out of the formula. You can do this with an IF
statement.

=IF($B5=0,(SUMPRODUCT((DSReg=$A5)*(DSProd=$B$2)*), DSQ109Amt)),((SUMPRODUCT((DSReg=$A5)*(DSProd=$B$2) *(DSKPI=$B5),DSQ109Amt))).
Obvioulsy not tested, but something along those lines

--
HTH

Kassie

Replace xxx with hotmail


"Michelle" wrote:

Hi, I'm having a problem with a sumproduct formula thats not returning data
consistently.

I have a datasheet that has all the formulas in that is working fine. I then
have a summary sheet for the managers which allows them to choose what they
want to look at and the sheet populates using sumproduct formulas that
reference off the datasheet. The summary sheet looks like this:

Product (which is a drop down)

Region Measure Q1 Q2 Q3 Q4 etc
WCE Conversion rate 0% 0% 0% 0%
WCE Indirect 37% 40% 39% 15%

etc
The sumproduct formula is:
=(SUMPRODUCT((DSReg=$A5)*(DSProd=$B$2)*(DSKPI=$B5) ,DSQ109Amt))
DSREG is the region, DSProd is the product in the drop down, DSKPI is the
Measure eh Conversion rate.
I've double checked all the range's agree and the names are right, and the
reference cells tie up. Has anyone any idea why the formula is working
correctly for Indirect but not for Conversion rate?

I've done some experimenting and I'm fairly sure that its the range DSKPI
thats causing the problem- Ive tried deleting it and redoing the range but
that didn't fix it.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default Problem with a Sumproduct formula

Hi Kassie,

Sorry I should have made it clearer.... In the datasheet the conversion
rates are not zero they are numbers such as 40% 25% etc. But the summary
sheet which is referencing the datasheet isn't seeing them, its populating
with zero instead.

"Kassie" wrote:

Hi Michelle

Zero multiplied by anything, and anything multiplied by zero, will always be
zero!
In your sample, all your conversion rates are zero. You will have to cater
for situations where you work with a zero conversion rate, and when it is
zero, leave that part out of the formula. You can do this with an IF
statement.

=IF($B5=0,(SUMPRODUCT((DSReg=$A5)*(DSProd=$B$2)*), DSQ109Amt)),((SUMPRODUCT((DSReg=$A5)*(DSProd=$B$2) *(DSKPI=$B5),DSQ109Amt))).
Obvioulsy not tested, but something along those lines

--
HTH

Kassie

Replace xxx with hotmail


"Michelle" wrote:

Hi, I'm having a problem with a sumproduct formula thats not returning data
consistently.

I have a datasheet that has all the formulas in that is working fine. I then
have a summary sheet for the managers which allows them to choose what they
want to look at and the sheet populates using sumproduct formulas that
reference off the datasheet. The summary sheet looks like this:

Product (which is a drop down)

Region Measure Q1 Q2 Q3 Q4 etc
WCE Conversion rate 0% 0% 0% 0%
WCE Indirect 37% 40% 39% 15%

etc
The sumproduct formula is:
=(SUMPRODUCT((DSReg=$A5)*(DSProd=$B$2)*(DSKPI=$B5) ,DSQ109Amt))
DSREG is the region, DSProd is the product in the drop down, DSKPI is the
Measure eh Conversion rate.
I've double checked all the range's agree and the names are right, and the
reference cells tie up. Has anyone any idea why the formula is working
correctly for Indirect but not for Conversion rate?

I've done some experimenting and I'm fairly sure that its the range DSKPI
thats causing the problem- Ive tried deleting it and redoing the range but
that didn't fix it.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default Problem with a Sumproduct formula

Bump....

"Michelle" wrote:

Hi, I'm having a problem with a sumproduct formula thats not returning data
consistently.

I have a datasheet that has all the formulas in that is working fine. I then
have a summary sheet for the managers which allows them to choose what they
want to look at and the sheet populates using sumproduct formulas that
reference off the datasheet. The summary sheet looks like this:

Product (which is a drop down)

Region Measure Q1 Q2 Q3 Q4 etc
WCE Conversion rate 0% 0% 0% 0%
WCE Indirect 37% 40% 39% 15%

etc
The sumproduct formula is:
=(SUMPRODUCT((DSReg=$A5)*(DSProd=$B$2)*(DSKPI=$B5) ,DSQ109Amt))
DSREG is the region, DSProd is the product in the drop down, DSKPI is the
Measure eh Conversion rate.
I've double checked all the range's agree and the names are right, and the
reference cells tie up. Has anyone any idea why the formula is working
correctly for Indirect but not for Conversion rate?

I've done some experimenting and I'm fairly sure that its the range DSKPI
thats causing the problem- Ive tried deleting it and redoing the range but
that didn't fix it.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Problem with a Sumproduct formula


Hi,
is it possible that some of your data is text looking like a number?


HOW TO GET FURTHER HELP WITH A WORKBOOK
For further help with it why not join our forums (shown in
the link below) it's completely free, if you do join you will have the
opportunity to add attachmnets to your posts so you can add workbooks to
better illustrate your problems and get help directly with them. Also if
you do join please post in this thread (link found below) so that people
who have been following or helping with this query can continue to do
so. :)


Michelle;333469 Wrote:
Bump....

"Michelle" wrote:

Hi, I'm having a problem with a sumproduct formula thats not

returning data
consistently.

I have a datasheet that has all the formulas in that is working fine.

I then
have a summary sheet for the managers which allows them to choose

what they
want to look at and the sheet populates using sumproduct formulas

that
reference off the datasheet. The summary sheet looks like this:

Product (which is a drop down)

Region Measure Q1 Q2 Q3 Q4 etc
WCE Conversion rate 0% 0% 0% 0%
WCE Indirect 37% 40% 39% 15%

etc
The sumproduct formula is:
=(SUMPRODUCT((DSReg=$A5)*(DSProd=$B$2)*(DSKPI=$B5) ,DSQ109Amt))
DSREG is the region, DSProd is the product in the drop down, DSKPI is

the
Measure eh Conversion rate.
I've double checked all the range's agree and the names are right,

and the
reference cells tie up. Has anyone any idea why the formula is

working
correctly for Indirect but not for Conversion rate?

I've done some experimenting and I'm fairly sure that its the range

DSKPI
thats causing the problem- Ive tried deleting it and redoing the

range but
that didn't fix it.



--
Pecoflyer

Cheers -
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=92203

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
SumProduct Formula Problem Nickie[_2_] Excel Discussion (Misc queries) 4 October 8th 08 12:39 PM
Sumproduct formula problem chedd via OfficeKB.com Excel Worksheet Functions 2 November 27th 07 04:39 PM
Problem with SUMPRODUCT formula Tasha Excel Worksheet Functions 3 August 23rd 07 08:20 PM
Problem with SUMPRODUCT formula. Andrew Mackenzie Excel Discussion (Misc queries) 3 February 7th 07 02:24 PM
Problem with a SUMPRODUCT Formula carl Excel Worksheet Functions 8 March 20th 06 09:05 PM


All times are GMT +1. The time now is 12:25 PM.

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"