I am new to Google Sheet App Script and trying to to create a IF condition with it but receiving an error.
I want to populate This "Right" result in Cell AO3
Your help will be appreciated
function myFunction() { var sheet = SpreadsheetApp.getActive().getSheetByName('DATA') var ss = sheet.getRange() if(ss.getRange("i3").getValue()!='' && ss.getRange("h3").getValue()!='') { console.log("Right!"); } } 
getRange()(see the red squiggly line). It requires a row and column.