I have a set number of rows between 1 and 8. If the cell value in column C changes to zero then I would like to move this row to the last row which is 8 or maybe below the last row with a value >0 and move the others up. I do not want to re-sort the other rows. I need to keep them in the same order. I only want to take that one row with zero value and move it down. Example 1 below. There could be cases where the zero value in column C is in between two rows with values, Example 2 below. Thanks in advance for any help.
Example 1
Row 1 100
Row 2 200
Row 3 0
Row 4 300
Row 5 400
Row 6 0
Row 7 0
Row 8 0
Becomes
Row 1 100
Row 2 200
Row 3 300
Row 4 400
Row 5 0
Row 6 0
Row 7 0
Row 8 0
Example 2
Row 1 100
Row 2 200
Row 3 0
Row 4 300
Row 5 0
Row 6 400
Row 7 0
Row 8 0
Becomes
Row 1 100
Row 2 200
Row 3 300
Row 4 400
Row 5 0
Row 6 0
Row 7 0
Row 8 0
Example 1
Row 1 100
Row 2 200
Row 3 0
Row 4 300
Row 5 400
Row 6 0
Row 7 0
Row 8 0
Becomes
Row 1 100
Row 2 200
Row 3 300
Row 4 400
Row 5 0
Row 6 0
Row 7 0
Row 8 0
Example 2
Row 1 100
Row 2 200
Row 3 0
Row 4 300
Row 5 0
Row 6 400
Row 7 0
Row 8 0
Becomes
Row 1 100
Row 2 200
Row 3 300
Row 4 400
Row 5 0
Row 6 0
Row 7 0
Row 8 0