Hi all,
I won't get into the reasons why, because I know people are going to try to solve for a different problem, but I have a data set that has blank rows, and the next row needs to be cut and appended to another column in the previous non-blank row.
Below is an sample data set:
<tbody>
</tbody>
I basically need the contents from A4 to be appended to D2 and the content from B4 to go into E2
I would then like to delete rows 3 and 4 and then continue doing the same thing for the rest of the data set. Output below:
<tbody>
</tbody>
This sounds really complicated, but was hoping the experts here can help!
Thank you in advance!
I won't get into the reasons why, because I know people are going to try to solve for a different problem, but I have a data set that has blank rows, and the next row needs to be cut and appended to another column in the previous non-blank row.
Below is an sample data set:
A | B | C | D | E | |
1 | 12345 | 4 | No | Green Car | Yes |
2 | 12345 | 2 | Yes | Red | |
3 | |||||
4 | Truck | No | |||
5 | 23456 | 1 | Yes | Blue | |
6 | |||||
7 | Airplane | No | |||
8 | |||||
9 | 34567 | 2 | Yes | Yellow Bike | Yes |
10 | 34567 | 1 | No | Purple Taxi | No |
<tbody>
</tbody>
I basically need the contents from A4 to be appended to D2 and the content from B4 to go into E2
I would then like to delete rows 3 and 4 and then continue doing the same thing for the rest of the data set. Output below:
A | B | C | D | E | |
1 | 12345 | 4 | No | Green Car | Yes |
2 | 12345 | 2 | Yes | Red Truck | No |
3 | 23456 | 1 | Yes | Blue Airplane | No |
4 | 34567 | 2 | Yes | Yellow Bike | Yes |
5 | 34567 | 1 | No | Purple Taxi | No |
<tbody>
</tbody>
This sounds really complicated, but was hoping the experts here can help!
Thank you in advance!