Alkey: I know, and I am sorry for that. But, I am at work and didn't have the time to thoroughly explain the problem I am trying to solve.

Cantosh: Calculations are still off by few dollars. Also when the dates correspond to the range limits or to the upper one only, the formula returns an error.

Feel like we

Thank you all for your help.

S