View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default Average Less a Month

I reread. Instead of sum you wanted average. Try this ARRAY formula entered
using ctrl+shift+enter
=AVERAGE(IF(MONTH(A7:A1000)1,MONTH(A7:A1000)<MONT H(TODAY()-1),D7:D1000))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Jani" wrote in message
...
I have 12 months worth of previous year's data in Excel (January-December)
but only want to graph certain months data. Not sure how to explain this.
If
the current month is October, than I want to pull data from
January-August;
if current month is December, than I want to pull data from
January-October.
Does anyone know how I can do this with a formula? I've exhausted my
limited
knowledge and not had any success.

Thank you!
Jani