Data gets posted from an external source to my spreadsheet. The data range is across three columns - A, B, C. I can access the newly modified range using the onEdit script.
function onEdit(e){
var activeSheet = e.source.getActiveSheet();
if(activeSheet.getName() !== "Raw") return;
var range = e.range;
However, I want to modify range such that it only contains the range values from column B. Is there an easy way to filter out the other values or not select them in the first place?