Google sheets unique id. getRange(2, indexId + 1, newId.

Google sheets unique id. I tried to have id start at B1 and follow the line 1.