Hi, OP here. The original file was incorrect (my bad!), so I fixed it.
I've attempted solving this problem myself, but I did't get too far with it. Here is what I have now.
Here the red table lists the new positions of the entries in the green table. So that to get a new green table the old one should rearrange itself in the way listed in the red one. I've mistakenly used the LARGE function to get there (blue table), but the logic was flawed.
Bookmarks