Hello,
My goal is to build a macro that will allow me to put in an input such as :
| File_id | File_parent_id |
| 1 | |
| 2 | 1 |
| 3 | 2 |
| 4 | 3 |
| 7 | |
| 9 | |
| 10 | |
| 465 | |
| 6789 | 465 |
| 568 | 6789 |
And get as a final result :
| File_id | File_parent_id |
| 1 | |
| 2 | 1 |
| 3 | 1 |
| 4 | 1 |
| 7 | |
| 9 | |
| 10 | |
| 465 | |
| 6789 | 465 |
| 568 | 465 |
The idea is to be able to identify the original parent file for each file_id.
Seeing that I never used macros especially the iterative ones, I have some trouble finding the right logic to get to my result.
Highly appreciate any indications and explanations