Are your dates of type KF ?
IF not then you must have converted them into KF to calculate the difference with the help of formula variable with replacement path.Then it is mandatory to keep the dates in rows otherwise it does not work properly.
And the formula should be something like this for calculating the amount based on difference of days:
(Difference>5)AND(Difference<=10)*Amount
Hope this helps.
Regards,
AL