Please help me create a script for Apps Script in Google Sheets, which inserts a certain value (for example a dot) into empty cells in a certain column (for example A1:A100)
Please help me create a script for Apps Script in Google Sheets, which inserts a certain value (for example a dot) into empty cells in a certain column (for example A1:A100)
function fillEmptyCells() { var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); var range = sheet.getRange("A1:A100"); var values = range.getValues();
for (var i = 0; i < values.length; i++) { if (values[i][0] == "") { values[i][0] = "."; } }
range.setValues(values); }
function fillEmptyCells() {
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
var range = sheet.getRange("A1:A100");
var values = range.getValues();
for (var i = 0; i < values.length; i++) {
if (values[i][0] == "") {
values[i][0] = ".";
}
}
range.setValues(values);
}
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up