I have a spreadsheet with 6 columns, A:F. A - order number, B - origin, C - destination, E - movement origin, F - movement destination. It shows what routing the order will take to reach the destination.
For each order there is an origin and destination, and a movement for the flight. The first movement will have to begin at the origin, so col B. The next movement(located on the next row), will have to begin at the destination of the first movement. Examples
1 movement
<tbody>
</tbody>
2 movements
<tbody>
</tbody>
3 movements
<tbody>
</tbody>
There is no set number of rows for each of the orders which is why it will need to recognize how many rows it uses. I need a macro to see if the movements match up. If they dont, then list the ID number on Sheet 2.
For each order there is an origin and destination, and a movement for the flight. The first movement will have to begin at the origin, so col B. The next movement(located on the next row), will have to begin at the destination of the first movement. Examples
1 movement
ID7 | CVG | LAX | TT63 | CVG | LAX | movement 1 |
<tbody>
</tbody>
2 movements
ID12 | LAX | JFK | TT34 | LAX | CVG | movement 1 |
CVG | JFK | movement 2 |
<tbody>
</tbody>
3 movements
ID8 | CLT | LAX | TT36 | CLT | GSO | movement 1 |
GSO | CVG | movement 2 | ||||
CVG | LAX | movement 3 |
<tbody>
</tbody>
There is no set number of rows for each of the orders which is why it will need to recognize how many rows it uses. I need a macro to see if the movements match up. If they dont, then list the ID number on Sheet 2.