Thank you a lot for the time and patience helping me figure out.
For 1, yes there’s no problem with the current version, and the easier one you posted is exactly the one I’m looking for!
For 2 and 3, sorry I didn’t explain it clearly but yes you understood it right. Those two functions really help a lot and did the things I want them to do.
Again, thank you so much for the help!