vbandlamudi,
How many times are you going to post this problem?
What you are doing is bad forum etiquette!
In addition, your problem is incomprehensible.
Maybe with some additional and more varied sample data presented in 'standard form' it might be possible to understand your problem.
But please delete your duplcate entries.