Data:
Column G with course names, Column S with a subset of those courses. I would like to highlight every course in G that matches the partial words in S.
I kind of have it solved already by using 2 rules (since the outlier has a different, simpler naming scheme), but this should be possible (and imho is more elegant) with 1.
I'm currently using 2 conditional formatting rules:
=COUNTIF($S$2:$S$200,G2)>0 <- highlights every course in G that matches any course in S exactly
and
=SEARCH("CourseX1-", G2)>0 <- highlights any course in G that starts with 'CourseX1-'
Unfortunately, the search does not work on a range (so "=SEARCH($S$2:$S$200, G2)>0" doesn't work).
The simplest solution would be a rule that would highlight every word in G that starts with any of the words in S. I would think this wasn't that hard, but I can't figure it out. Can anyone help out?
Column G with course names, Column S with a subset of those courses. I would like to highlight every course in G that matches the partial words in S.
I kind of have it solved already by using 2 rules (since the outlier has a different, simpler naming scheme), but this should be possible (and imho is more elegant) with 1.
I'm currently using 2 conditional formatting rules:
=COUNTIF($S$2:$S$200,G2)>0 <- highlights every course in G that matches any course in S exactly
and
=SEARCH("CourseX1-", G2)>0 <- highlights any course in G that starts with 'CourseX1-'
Unfortunately, the search does not work on a range (so "=SEARCH($S$2:$S$200, G2)>0" doesn't work).
The simplest solution would be a rule that would highlight every word in G that starts with any of the words in S. I would think this wasn't that hard, but I can't figure it out. Can anyone help out?