Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
need to add an additional expression to
calculate by month and by quarter in addition to the status Assuming say, col B contains real dates for the additional criteria By Month/Yr, eg: Oct08 =AVERAGE(IF(('MRR Log'!O8:O1769="Open")*(TEXT('MRR Log'!B8:B1769,"mmmyy")="Oct08"),'MRR Log'!Q8:Q1769)) By Quarter, eg for 4th Q viz: Oct08, Nov08 & Dec08 =AVERAGE(IF(('MRR Log'!O8:O1769="Open")*(TEXT('MRR Log'!B8:B1769,"mmmyy")={"Oct08","Nov08","Dec08"}), 'MRR Log'!Q8:Q1769)) Above expressions to be array-entered, ie press CTRL+SHIFT+ENTER to confirm the formula -- Max Singapore http://savefile.com/projects/236895 Downloads:18,500 Files:361 Subscribers:58 xdemechanik --- "lwilliams" wrote: I am using the following statement to calculate an average value for a specific status of a data set. I need to add an additional expression to calculate by month and by quarter in addition to the status. Even thought I am using Excell 2007, the calculation has to work on Excel 2003. {=AVERAGE(IF('MRR Log'!O8:O1769="Open",'MRR Log'!Q8:Q1769))} |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
date range in an if then statement | Excel Discussion (Misc queries) | |||
Adding in a Date Range | Excel Worksheet Functions | |||
adding range of numbers to if statement with three criteria | Excel Worksheet Functions | |||
How do I get an IF statement to pull a date range?? | Excel Worksheet Functions | |||
if statement with date range | Excel Worksheet Functions |