This code is working fine . Let me implement this in the real sheet that i am working on. Will update the results.

Thanks for the help.
Rajesh