Forum Discussion
Count on condition from multiple sorting condition
- Anonymous7 years ago
hi Ashish_Mathur ,
thank you very much for your help.
it's close from what I'm looking for, but the problem is, with your code rows with date earlier than 2019/06/14 would also be counted.
I need rows to be counted only on the same day
Hi,
This calculated column formula works
=CALCULATE(COUNTROWS(Data),FILTER(Data,Data[date_column]=EARLIER(Data[date_column])&&Data[value_column]>=EARLIER(Data[value_column])))
Hope this helps.
hi Ashish_Mathur ,
thank you very much for your help.
it's close from what I'm looking for, but the problem is, with your code rows with date earlier than 2019/06/14 would also be counted.
I need rows to be counted only on the same day
- Ashish_Mathur7 years agoSuper User
Hi,
Your formula is not the same as mine. You are missing the EARLIER() before the &&
- Anonymous7 years agoNot applicable
sorry for that.
it works perfectly now!
thank you very much, really appriciate it!
regards,
- Ashish_Mathur7 years agoSuper User
You are welcome. If my reply helped, please mark it as Answer.