Hi Ksharp, Thanks for your response , This code handle the case right, but if there is change in data like below it will not work, date Product jan a feb a mar a apr b may b june b jul b aug b sep b ovt b nov b dec b then it should give only output like below. from to date_start date_end change a b jan mar permanent with your code we will not achive this.
... View more