セルの値が「スマートフォン」の場合に関数を実行したい。これを書くいくつかの方法を試しましたが、失敗し続け、正しい入力方法がわかりません。
function ifTest(event){
if(SpreadsheetApp.getActiveSheet().getRange("B11").getValue() = "Smartphone"){ // mobile phone check
emailMobileRequired(); // Launches the script
}
}