Hi Abhijeet ,
By now I think you should know that the best way to get your problem resolved is to :
1. Give a clear description of the problem ; this involves describing the problem in terms of Excel entities , such as cells , rows , columns , tabs. Which cells contain the input data , which cells should contain the output , and how the output is to be derived using the specified inputs.
2. If possible work out a few examples which will clearly illustrate the logic of deriving the outputs from the inputs ; do not use obvious examples , but use examples which consider all variations in inputs.
3. Give your constraints , such as can / cannot use helper cells / rows / columns / tabs , can / cannot use VBA ...
The above does not need a lot of English ; what is needed is sufficient and clear communication.
DO NOT describe what you have tried which did not work ; since it did not work , it is not likely to be very helpful to whoever is interested to help.
If you can do this , all your questions should get you answers in quick time.
Narayan