dreicer_Jarr,

On the chance that you're talking about the formula I provided (which I'm assuming because what I provided is long and would probably take about 10 min to adjust, lol), then you're welcome

However, I feel that it should be stated that DLL's formula will work better than mine because it has fewer function calls and mine calculates like an array formula anyway ^_^