Forum Discussion
Peter1550
Jun 07, 2019Copper Contributor
Advanced formula to show number movement
Hi, I am looking for a formula to represent the difference between digit movement, the lowest difference would be 0 and the highest 5 the result would be taken from 2 columns eg. A B 7 16 =...
- Jun 07, 2019You may try this formula:
=MIN(ABS(RIGHT(A2)-RIGHT(B2)),
RIGHT(A2)+10-RIGHT(B2),
RIGHT(B2)+10-RIGHT(A2),
5)
Peter1550
Jun 07, 2019Copper Contributor
Hi Twifoo,
Thanks for your replay this formula works! but how to modify it so it automatically applies to all desired cells for example and columns?
Thanks
Twifoo
Jun 07, 2019Silver Contributor
I’m replying via mobile phone so I will examine your sample file tomorrow. Anyway, if your data and formula start in A3 and G3, I believe the formula works when entered in G3, provided that row references are modified from 2 to 3.
I am not yet sure of that until I test the formula on your sample file tomorrow.
I am not yet sure of that until I test the formula on your sample file tomorrow.