Alright folks!! I have searched and searched for this and I have found no solution to my problem anywhere on the interwebs!
So I have a list of data, simply just rows of numbers say,
2
3
7
4
4
0
1
2
0
3
42
1
I am trying to find a way for excel to start from the bottom of the data and count upwards until the number 0 is reached. So for example, for the data set I provided at the above I would need some sort of equation to give a value of 3 because there are 3 values until the last 0 is reached countin gfom the bottom up. And if 0 is in the most bottom spot in the data column then it would return a value of 0.
I thought some variation of the count or countif equations would do the trick but I have no idea how to get it to count backwards. An equation that I could have resting in its own cell and always be checking so as soon as I update the column then it would update iteself too inorder to incorporate the new value.
Thanks you all!
So I have a list of data, simply just rows of numbers say,
2
3
7
4
4
0
1
2
0
3
42
1
I am trying to find a way for excel to start from the bottom of the data and count upwards until the number 0 is reached. So for example, for the data set I provided at the above I would need some sort of equation to give a value of 3 because there are 3 values until the last 0 is reached countin gfom the bottom up. And if 0 is in the most bottom spot in the data column then it would return a value of 0.
I thought some variation of the count or countif equations would do the trick but I have no idea how to get it to count backwards. An equation that I could have resting in its own cell and always be checking so as soon as I update the column then it would update iteself too inorder to incorporate the new value.
Thanks you all!