0

This is my LibreOffice Calc sheet, now I want to sort the ID in order of the RandomNum column. Now I want my sheet to fill the last Fullname column with the name of the person with the id from the first Fullname column. I hope someone understands what I want to do...

I want to refer the Fullname to its ID to keep this to together even if I resort.

Before sorting by RandomNum

| ID | Fullname | RandomNum | ID | Fullname (Fullname filled by first ID)
-------------------------------------------
| 1  | Jon Doe  |  0.0003   | 1  | Jon ...
-------------------------------------------
| 2  | Jane Doe |  0.0001   | 2  | Jane ...
-------------------------------------------
| 3  | Lee Bee  |  0.0002   | 3  | Lee ...
-------------------------------------------

After sorting by RandomNum

| ID | Fullname | RandomNum | ID | Fullname (Fullname filled by first ID)
-------------------------------------------
| 1  | Jon Doe  |  0.0001   | 2  | Jane ...
-------------------------------------------
| 2  | Jane Doe |  0.0002   | 3  | Lee ...
-------------------------------------------
| 3  | Lee Bee  |  0.0003   | 1  | Joe ...
-------------------------------------------
4

0 回答 0