@4hoteliers
A few house-keeping issues:
I have merged your two threads per #12 of the
Forum Rules
Also, your thread title mentions that you are using Microsoft 365. I suggest that you update your forum profile (click your user name at the top right of the forum, then ‘Account details’) so helpers
always know what Excel version(s) & platform(s) you are using as
the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
I have removed the 'Mark as solution' tick from post #4 as it clearly is not a solution to the thread question. That option is not to mark a thread as 'Solved' or as 'I don't need any more help in the thread' but to mark an actual solution to help future readers. There is a link for more information about that in my signature block below if you need it.