Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default SUMPRODUCT calc question


I have a SUMPRODUCT calculation set up to to a weighted avg of 3 months
of data, for a quarter summary.
[[=IF(W24="","",SUMPRODUCT(W24:Y24,J24:L24)/SUM(J24:L24))]]

My question is this: If one of my months has no data (empty cell),
does this mess up the avg? Does the sumproduct count that cell as a 0,
bringing down the avg? I know that AverageA takes that into account and
has a workaround, but I don't know if this function does. Help!

Thanks,

Perry


--
PerryClisbee
------------------------------------------------------------------------
PerryClisbee's Profile: http://www.excelforum.com/member.php...o&userid=37120
View this thread: http://www.excelforum.com/showthread...hreadid=568536

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

I put some numbers into a worksheet and computed the weighted average by
hand (in my head - easy numbers). My answer agreed with
[[=IF(W24="","",SUMPRODUCT(W24:Y24,J24:L24)/SUM(J24:L24))]]


Then I deleted one month, did the math again and once more got the same
answers as with [[=IF(W24="","",SUMPRODUCT(W24:Y24,J24:L24)/SUM(J24:L24))]]


So your answer would seem to be: No, empty cells do not cause a problem.

I believe you are confused about the use of AVERAGEA. The simple AVERAGE
function ignores blanks and text while AVERAGEA counts text as 0

best wishes


--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"PerryClisbee"
wrote in message
news:PerryClisbee.2c1e87_1154730611.2364@excelforu m-nospam.com...

I have a SUMPRODUCT calculation set up to to a weighted avg of 3 months
of data, for a quarter summary.
[[=IF(W24="","",SUMPRODUCT(W24:Y24,J24:L24)/SUM(J24:L24))]]

My question is this: If one of my months has no data (empty cell),
does this mess up the avg? Does the sumproduct count that cell as a 0,
bringing down the avg? I know that AverageA takes that into account and
has a workaround, but I don't know if this function does. Help!

Thanks,

Perry


--
PerryClisbee
------------------------------------------------------------------------
PerryClisbee's Profile:
http://www.excelforum.com/member.php...o&userid=37120
View this thread: http://www.excelforum.com/showthread...hreadid=568536



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 Question [email protected] Excel Discussion (Misc queries) 5 May 16th 06 03:43 PM
Sumproduct Question [email protected] Excel Discussion (Misc queries) 9 March 10th 06 04:26 PM
Question about sumproduct Jason Excel Discussion (Misc queries) 1 April 21st 05 05:44 PM
Question about sumproduct bj Excel Discussion (Misc queries) 0 April 21st 05 05:40 PM
sumproduct question taxmom Excel Worksheet Functions 3 April 18th 05 07:01 PM


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