Determining the last row in a single column

前端 未结 19 1522
野性不改
野性不改 2020-11-22 10:46

I have a sheet with data in cols A through H.

I need to determine the last row in column A that contains data (it\'s all conti

19条回答
  •  迷失自我
    2020-11-22 11:22

    Update from Mogsdad solution,

    var Avals = ss.getRange("A1:A").getValues();
    var Alast = Avals.filter(function(r){return r[0].length>0});

提交回复
热议问题