![]() |
sumproduct including previous years
=sumproduct(d18:d1000,--(year(b18:b1000)=year(now())))
I need a formula to add all the values in d18:d1000. All the previous years including current year. |
sumproduct including previous years
Unless you have future dates in Column D along with non-zero values in
Column B, wouldn't you just want this? =SUM(D18:D1000) If you do actually have future dates that you have to filter out, try this... =SUMPRODUCT(D18:D1000,--(Year(B18:B1000)<=YEAR(NOW()))) -- Rick (MVP - Excel) "tleehh" wrote in message ... =sumproduct(d18:d1000,--(year(b18:b1000)=year(now()))) I need a formula to add all the values in d18:d1000. All the previous years including current year. |
All times are GMT +1. The time now is 05:45 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com