ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I have a problem with conditional formulas based on a time period (https://www.excelbanter.com/excel-worksheet-functions/124126-re-i-have-problem-conditional-formulas-based-time-period.html)

DaveOfArkansas

I have a problem with conditional formulas based on a time period
 
I found this formulae and it works okay except it doesn't go back any farther
than 01/01/06. I need it to include some dates clear back to 2001. Can you
help?

=SUMPRODUCT(--(B2:B200=TODAY()-364),--(B2:B200<=TODAY()),G2:G200)

Max

I have a problem with conditional formulas based on a time per
 
Try it as:
=SUMPRODUCT(--(B2:B200= --"01-Jan-2006"),--(B2:B200<=TODAY()),G2:G200)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"DaveOfArkansas" wrote:
I found this formulae and it works okay except it doesn't go back any farther
than 01/01/06. I need it to include some dates clear back to 2001. Can you
help?

=SUMPRODUCT(--(B2:B200=TODAY()-364),--(B2:B200<=TODAY()),G2:G200)


Max

I have a problem with conditional formulas based on a time per
 
Oops, the earlier should read:
=SUMPRODUCT(--(B2:B200= --"01-Jan-2001"),--(B2:B200<=TODAY()),G2:G200)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


DaveOfArkansas

I have a problem with conditional formulas based on a time per
 
That worked great. Thank you and may you have a blessed new year.

"Max" wrote:

Oops, the earlier should read:
=SUMPRODUCT(--(B2:B200= --"01-Jan-2001"),--(B2:B200<=TODAY()),G2:G200)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


Max

I have a problem with conditional formulas based on a time per
 
Welcome, good to hear that !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"DaveOfArkansas" wrote in message
...
That worked great. Thank you and may you have a blessed new year.





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

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