Position (..) according to if() condition

@Samuel1, here is a simple use case of the same that should help you understand on how the same can be used:

And this post too …