ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   caculate the total for specific date (https://www.excelbanter.com/excel-discussion-misc-queries/261444-caculate-total-specific-date.html)

Lowan Chan

caculate the total for specific date
 
I would like to caculate the total in column A for those date more than 21
days until today in Column B, can anyone help?

A B
200 1/3/2010
100 2/3/2010
200 2/3/2010
50 10/3/2010
80 25/3/2010
200 1/4/2010
60 3/4/2010

thanks a lot!
--
Lowan

ozgrid.com

caculate the total for specific date
 
Try;

=SUMIF($B$1:$B$10,"<=" & TODAY()-21,$A$1:$A$10)



--
Regards
Dave Hawley
www.ozgrid.com
"Lowan Chan" wrote in message
...
I would like to caculate the total in column A for those date more than 21
days until today in Column B, can anyone help?

A B
200 1/3/2010
100 2/3/2010
200 2/3/2010
50 10/3/2010
80 25/3/2010
200 1/4/2010
60 3/4/2010

thanks a lot!
--
Lowan




All times are GMT +1. The time now is 04:02 PM.

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