Complete the formula to read the value from cell A1.
= [1]("A1")
The INDIRECT function returns the value of the cell reference given as a string, so INDIRECT("A1") reads the value in cell A1.
Complete the formula to write the value 100 into cell B2 using Apps Script syntax.
sheet.getRange("B2").[1](100);
setValue(100) writes the value 100 into the specified cell B2.
Fix the error in this formula to read the value from cell C3.
=INDIRECT([1])The INDIRECT function requires a text string as input, so the cell address must be in quotes: INDIRECT("C3").
Fill both blanks to create a formula that writes the sum of cells A1 and A2 into cell B1 using Apps Script.
sheet.getRange("B1").[1](sheet.getRange("A1").[2]() + sheet.getRange("A2").getValue());
Use getValue() to read each cell's value and setValue() to write the sum into B1.
Fill all three blanks to create a dictionary (object) in Apps Script that maps cell addresses to their values for A1, B1, and C1.
const values = {"A1": sheet.getRange("A1").[1](), "B1": sheet.getRange("B1").[2](), "C1": sheet.getRange("C1").[3]()};Use getValue() to read the value of each single cell and store them in the object.