Forum Discussion
packie
Mar 31, 2020Brass Contributor
Count cells with positive values - advanced
Hi, I need a formula that will find the last three cells minus one cell in a range containing positive values only. The formula needs to be dynamic as more cells are added to the range. Do le...
packie
Brass Contributor
Is there anyone who can help me with this?
The formula provided needs to be dynamic to be of any use because new data is added parodically to the row of data.
The formula provided needs to be dynamic to be of any use because new data is added parodically to the row of data.
Patrick2788
May 13, 2024Silver Contributor
- SergeiBaklanMay 13, 2024MVP
Nice idea. Modified a bit if the last number is negative and we shall not to exclude it
=LET( v, TOROW($E6:$ZZ6,3), COUNT( LOG( TAKE( DROP(v,, @((TAKE(v,,-1)<0)-1)),, -3) ) ) )