Hi @FreelanceReinh I ran the code you suggested and it appears to accomplish exactly what I need. Additionally, it is quite versatile, as I can easily adjust the matching order by specifying the priority in the CASE expression - indicating which option should be first (1), second (2), or third (3). Thank you so much for you time and effort on this.
... View more