I share this blog with my thoughts and creations from my daily programming, knowledge, and technology updates.
function myFunction() { for(var i = 0; i < 10; i++){ Logger.log(i); } }
この機能がやること iが0から10(未満)になるまで繰り返す iをログに出す
A列の空白セルに直前の値を入れたくて書いたコードです スプレッドシートに以下のようなBeforeの表があるとき (A列に空白セルがある) Before 1 A B 2 エリア 都市 3 東京 新宿 4 渋谷 5 池袋 6 神奈川 横浜 7 川崎 8 相模原 9 千葉 千葉 10 ...