Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Average while using SumProduct

Hello,
I was looking for some help on one of the formula I had used for
generating some report.
Using SUMPRODUCT from various parameters I was getting average of data
entered in the cells TAT!$E$3:$E$1000. But few of my cells would be
either blan or "zero", in which case those cells should not be
considered.
The avarage for these cells (TAT!$E$3:$E$1000) are done based on an
input name in cell B10. and that name is compared in TAT!$B$3:$B$1000
My question is, though B10 data appears in TAT!$B$3:$B$1000, if the
corresponding cells (E3 to E1000) is either blank or zero then those
cells to be ignored.
Assistance would be of great help!!!

This is the formula I have used:-

SUMPRODUCT((TAT!$B$3:$E$1000=Consolidated!$B10)*(T AT!$E$3:$E$1000)*
(TEXT(TAT!$C$3:$C$1000,"mmm")=Consolidated!$B$2)*( YEAR(TAT!$C$3:$C
$1000)=2009))/SUMPRODUCT((TAT!$B$3:$E$1000=Consolidated!$B10)*(T EXT
(TAT!$C$3:$C$1000,"mmm")=Consolidated!$B$2)*(YEAR( TAT!$C$3:$C$1000)
=2009))
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 to average AJPendragon Excel Worksheet Functions 2 December 11th 07 07:17 PM
AVERAGE & SUMPRODUCT Dave F[_2_] Excel Discussion (Misc queries) 6 July 31st 07 11:53 PM
sumproduct and average functions Turi Excel Worksheet Functions 4 October 23rd 06 04:16 PM
Sumproduct Average heater Excel Discussion (Misc queries) 2 June 2nd 06 10:32 PM
sumproduct & average junoon Excel Worksheet Functions 5 May 25th 06 07:12 AM


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"