This seem like the solution to which I have been looking for. Wouldyou guide me how to do this. I try pasting the formula into a cell butnothing work.Thanks in advance.