I have 8 rows like this delimited by comma:
ID Code Cost 1 X 20 2 20 3 50 4 50 5 Y 10 6 10 7 70 8 70 The criteria is:
If a value in the code column exists, print the row and the row after otherwise do nothing.
How can you do this in excel for any number of rows?
Note the order always will be the same so you can assume if a code is found that row and the one after will always be printed. In the above example the output I would get is:
ID Code Cost 1 X 20 2 20 5 Y 10 6 10 
