Just remove the INT function =IF(C2=$O2,0,IF(C2=$N2,9,((C2-$O2)*$P2)))
It returns the integer part and as all your differences are lower than 1 you always get 0 which is the integer part of any number between 1 and 0
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
|