I want to get a string value -to compare it later on with an if condition- from only one column in spreadsheet using Google apps script. I searched the internet and I found
much easier way to loop through the rows and get a column value.. hope that helps
var values = SpreadsheetApp.getActiveSheet().getDataRange().getValues(); values.forEach( function(row) { row[4] // column index as 4 });