Forum Discussion
Ahmad920
Aug 06, 2020Copper Contributor
Date function
Hello, could you please help with the question in the file attached thanks
HansVogelaar
Aug 06, 2020MVP
=COUNTIFS(D14:D963,"<"&TODAY()-100,E14:E963,"")
Ahmad920
Aug 06, 2020Copper Contributor
Thanks HansVogelaar
but when I use your formula I get 397 while there is only 7 dates in 2020
- SergeiBaklanAug 06, 2020Diamond Contributor
There are more blanks which are considered as open
- Ahmad920Aug 06, 2020Copper Contributor
Thanks SergeiBaklan you are right
- Ahmad920Aug 06, 2020Copper Contributor
Thanks SergeiBaklan
actually 2 conditions have to be met together:
1- case open
2- date: in the last 100 days
so the answer should be 6 , but I cant get this result
- HansVogelaarAug 06, 2020MVP
Oh wait, your request was incorrect. You don't want cases that have been open for more than 100 days, but instead cases that have been open for less than 100 days!
That is
=COUNTIFS(D14:D963,">"&TODAY()-100,E14:E963,"")