Reputation: 1
I have daily temperature data of a place. I need to calculate the temperature indices. need help in calculating the number of days with at least 6 consecutive days when the temperature is >90th percentile. help me with composing the formula in excel. thanks in advance!
Upvotes: -1
Views: 52
Reputation: 391
Certainly too late for an answer however this works in Excel for the web and Office 365.
=SUM(N(SCAN(0,A1:Z1,LAMBDA(ini,arr,IF(arr>90,ini+1,0)))=6))
Upvotes: 0