I am trying to do an automatic keyword search in Google Sheets.
In this sheet, column C contains descriptions of different cities. Cell E1 contains a list of keywords (sometimes a single word, sometimes multiple words or compound words). What I want to be able to do is search for the keywords in the city descriptions, and if they are present, mark an "X" next to the text in column D.
This is as far as I've gotten setting up the script.
function performMatch() {
let datTab = SpreadsheetApp.get(Active().getSheetByName("Sheet1")
letKeyWords = dataTab.getRange(1, 5).getValue().split(",")
let dataRange = dataTab.getRange(2, 3, 20, 1)