Skip to main content
2 of 2
added 3 characters in body
Alex
  • 22.8k
  • 12
  • 83
  • 104

I was getting the same. The problem is that there is no row 0...

You should use i+1:

var cell = sheet.getRange(12,i+1);