Hi, this might be complicated to do in single-cell calc pending real-life variations of the G/R terms being returned, coupled with lengths of source strings etc...
The below is designed to be pretty flexible, i.e. to account for more varied permutations than your 3 samples indicate.
Modify references to $1:$10 to be $1:$n where n is the max number of items in delimited string ... I've assumed no more than 10 semi-colon delimited items {your samples do not exceed 5}
edit: modified the FIND to include space prefix & semi-colon suffix to avoid false positive matches.
Bookmarks