I want to update column B to 1 for the row where the value of column A is 2. In SQL terms, a simple
UPDATE SpreadSheet
SET B = 1
WHERE A = 2
Can this be done in a one or two calls to Google Docs without having to loop over rows/columns?
I wasn’t able to use
BorAand couldn’t find a way to do the update without looping. This example uses the column header (the value of the first row). Replaceidandvalwith your own columns.