Thanks Navic working fineHi @aparvez007
See if this helps you to go in a particular direction to solve problems. I didn't finish until the end. I have no more time.
There are two helper columns there. See attached file.
Thanks Nebu this also workingHi:
May be this macro?
Thanks