I need to creat the colums "codigo", "color", "talle", "lista","precio" in the right using the values of the some ones of the left. What I want to do is that when the value of "codigo" of the inferior row is the same as the superior row and the value of "precio" of the inferior row is the some as the superior row, all the inferior row must be empty, however, if "precio" changes, then the inferior row must show its value of, and only, "codigo", "talle" and "precio" . If the value of "codigo" of the inferior row compared with the superior row is different, then the inferior row must have the value of "codigo" and "precio", and then repete the procedure all over again till the end of the rows. columns I refer in the text