Hi ,
I doubt if too many members would have understood your requirement. I haven't.
I suggest you describe your problem in greater detail , clearly specifying :
1. What is your input data like , and which cells in the worksheet will have the input data
2. What is the output you are looking for , and which cells in the worksheet should have the formula to generate this output
3. What is the logic by which the output will be derived using the input ; if possible , upload a workbook which has enough data in it , and manually work out at least a few examples of how the output can be derived from the input.
Problems which are described in detail , which have a sample workbook attached , and where examples have been given of what the Excel formulae should replicate , get answers much faster.
Narayan