sum value for the last 12 month

  • Thread starter Thread starter ramzi
  • Start date Start date
R

ramzi

hi,

how to sum for the last 12 month value
A1 - 100 : month (mmmyy)
b1 - 100 : my value

thanks
 
Presuming col A contains real dates,
you could use something like this to define the desired period clearly

In C1:
=SUMPRODUCT((A1:A100>= --"01 Mar 2007")*(A1:A100< --"1 Apr 2008"),B1:B100)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,000 Files:358 Subscribers:55
xdemechanik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top