column B & column C are variables
column E & column F are constants (2.5 & -2.5 respectively)
Output column is column H.
Please bear with my language...please
I am using H2<f2,-100,0)) and="" able="" to="" get="" correct="" answer.
=IF(B2>E2,100,IF(C2 is less than F2,-100,0))
<f2,-100,0))...