$ 0 0 Hi Anshu, by playing around finally it has worked below is the formula to make it work I would like to thank each one of you for your valuable inputs.