Hi Phuocam,

The code is awesome. Worked really perfect. Thanks a lot.
Small query, instead of the coding is there a way by formula.