Thanks for the extra feedback P. havent had much time over the last few days to play around with it. I plugged your formula in my original file and it didnt seem to work. I'll test a few things and let you know if it works. I like the fact that I can add more parameters to F30