I\'m trying to find the best script in terms of runtime to complete a task. I\'ve got a decently large spreadsheet where I need to check values in certain known columns, and
You may want to use the Google Apps Script textFinder class.
This example function will search a string and show the row of the first occurrence in an alert dialog:
function searchString(){
var sheet = SpreadsheetApp.getActiveSheet()
var search_string = "dog"
var textFinder = sheet.createTextFinder(search_string)
var search_row = textFinder.findNext().getRow()
var ui = SpreadsheetApp.getUi();
ui.alert("search row: " + search_row)
}