ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sum value for the last 12 month (https://www.excelbanter.com/excel-discussion-misc-queries/198955-sum-value-last-12-month.html)

ramzi

sum value for the last 12 month
 
hi,

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

thanks

Max

sum value for the last 12 month
 
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
---
"ramzi" wrote:
how to sum for the last 12 month value
A1 - 100 : month (mmmyy)
b1 - 100 : my value

thanks



All times are GMT +1. The time now is 11:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com