Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default sumproduct combine with average formula


hello to all excel expert
i want to all "D" column and get the average

criteria is in column A must be ="X"
B =10/01/05 and <=10/31/05
C <0

A B C D


X 10/01/05 0 1
X 10/01/05 0.012 6
X 10/01/05 0.012 2
o 10/01/05 0.012 1
X 11/01/05 0.012 1


--
xtrmhyper
------------------------------------------------------------------------
xtrmhyper's Profile: http://www.excelforum.com/member.php...o&userid=23851
View this thread: http://www.excelforum.com/showthread...hreadid=479013

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default sumproduct combine with average formula

Try this formula

=AVERAGE(IF((A1:A5="X")*(B1:B5=--"2005-10-01")*(B1:B5<=--"2005-10-31")*(C1:
C5<0),D1:D5))

or even

=AVERAGE(IF((A1:A5="X")*(MONTH(B1:B5)=10)*(C1:C5< 0),D1:D5))

which are array formulae, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"xtrmhyper" wrote
in message ...

hello to all excel expert
i want to all "D" column and get the average

criteria is in column A must be ="X"
B =10/01/05 and <=10/31/05
C <0

A B C D


X 10/01/05 0 1
X 10/01/05 0.012 6
X 10/01/05 0.012 2
o 10/01/05 0.012 1
X 11/01/05 0.012 1


--
xtrmhyper
------------------------------------------------------------------------
xtrmhyper's Profile:

http://www.excelforum.com/member.php...o&userid=23851
View this thread: http://www.excelforum.com/showthread...hreadid=479013



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
combine countif and sumproduct? coastergeez Excel Worksheet Functions 2 April 9th 08 09:05 PM
How to combine SUMPRODUCT with COUNTIF? mckzach Excel Worksheet Functions 7 March 21st 08 06:57 PM
Need to bring back Average using either Sumproduct or CSE formula Jim May Excel Discussion (Misc queries) 3 November 7th 05 09:45 PM
How do I combine two functions AVERAGE and IF in Excel ? onlineman Excel Worksheet Functions 2 August 9th 05 08:45 AM
SUMPRODUCT - How to combine Robert Excel Worksheet Functions 4 February 1st 05 01:33 PM


All times are GMT +1. The time now is 06:51 PM.

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"