View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default How to weave in Date Information please?

If you are using 2003 or earlier look at your later post. For 2007 you could
use:

=AVERAGEIFS('Raw Data'!$C$4:$C$5000,'Raw Data'!$H$4:$H$5000,="Barb B",'Raw
Data'!$J$4:$J$5000,"="&B1,'Raw Data'!$J$4:$J$5000,"<="&C1)

This is not an array formula but the dates are still entered in b1 and c1.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Danny Boy" wrote:

The Formula below works, however I'm having difficulty integrating "date"
parameters into them.

In Column A of the Raw Data spreadsheet I have "Discharge Dates". I want the
two formulas below to work on all data inpuut between July 1, 2009 and up
until Sept 30, 2009. Any data input before or after the date parameters
identified would not register in the calculations. Could someone assist me in
incorporating the appropriate "date" parameters into the formulas below.
Thank you! Dan

=IF(COUNTIF('Raw Data'!$H$4:$H$5000,"Barb B"),AVERAGE(IF('Raw
Data'!$H$4:$H$5000="Barb B",'Raw Data'!$C$4:$C$5000)),"")


=IF(COUNTIF('Raw Data'!$F$4:$F$5000,"OP"),AVERAGE(IF('Raw
Data'!$F$4:$F$5000="OP",'Raw Data'!$C$4:$C$5000)),"")