Hello Siva and Ankur

thanks

both of your formulas working well.

thanks again

thilag