View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kathi
 
Posts: n/a
Default AVERAGEIF AND SUMIF AND COUNTIF

Thank you so much for the response. I think this is the type of formula I
was looking for but if you could just clarify in my mind, please. I
understand =AVERAGE(IF but am not clear on why finding the MONTH then
rounding down (INT than adding +2) and dividing by /3) and this
part really confuses me =4, I understand that finding the difference
between relates to the average number of days open but am not clear how ???
If were more clear then I could definitely adapte this for y use. So for my
use I understand =AVERAGE(C2:C20-B2:B20) BUT ONLY IF B2:B20=10/01/2003 AND
ALSO IF B2:B20<=12/31/2003
so if there is a way to define the 1st or 2nd etc. quarter other than this I
could really use that.
THANKS AGAIN FOR YOUR TIME

"Bob Phillips" wrote:
Kathi,
I am not sure what to do when the start date is in one quarter and the end
date is in another, but assuming you count from the start date quarter, try
this
=AVERAGE(IF(INT((MONTH(B2:B20)+2)/3)=4,C2:C20-B2:B20))