Hi Irimaboond,

I forgot to say welcome to the forum ... so welcome to the forum.

Please check my post above. It appears that I did not intercept my error soon enough. The previous formula and upload had an error in it. The edited one above is corrected.
My apologies.