I have data in n number of rows and 2 columns.
I want to sort data in rows so that the matching values of 2 columns are aligned in the same row.
The Original data set and Required outcome below:
Original Data set
<tbody>
</tbody>
Required outcome
<tbody>
</tbody>
I want to sort data in rows so that the matching values of 2 columns are aligned in the same row.
The Original data set and Required outcome below:
Original Data set
Row | Column A | Column B |
1 | Apple2Red | Apple1Red |
2 | Apple1Red | Orange5Red |
3 | Apple1 Red | Orange1Red |
4 | Apple1Yellow | Apple1Yellow |
5 | Orange1Black | Apple1Red |
6 | Orange1White | Apple1Red |
7 | Orange5Red | Orange1White |
<tbody>
</tbody>
Required outcome
Column A | Column B |
Apple1 Red | Apple1Red |
Apple1Red | Apple1Red |
Apple1Red | |
Apple1Yellow | Apple1Yellow |
Apple2Red | |
Orange1Black | |
Orange1White | Orange1White |
Orange1Red | |
Orange5Red | Orange5Red |
<tbody>
</tbody>