Hi and welcome to the forum.

Could we have a workbook with some examples and your desired results?

Regards