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 let me know if you have difficulty understanding the question.
Thank you
packie
If the range ends in the column I, that could be
=COUNTIF(INDEX(A6:I6,1,COLUMN(I6)-3):INDEX(A6:I6,1,COLUMN(I6)-1),">0")
- packieBrass ContributorHi Sergei,
Nearly there, I have added Row6 and the forumla should now have moved on one cell with Row3,4&5 now the focus. That means Row2,3&4 are now not applicable.- packieBrass ContributorIs 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.