I donĀ“t know how to code or write scripts.
I have a recording script/macro that order/sort a range according to 2 conditions and is working great for my needs.
I would like however to add a functionality but don't know how to do it, I would like the script would add a blank row between the 1 of the conditions (column 34).
The first condition of the below script is to order/sort according to 2 words in column 34 (or AH), is it possible between that "frontier" to automatically add a blank row?
This is the code I have:
/** @OnlyCurrentDoc */
function Navios() {
var spreadsheet = SpreadsheetApp.getActive();
spreadsheet.getRange('u3:Ak').activate()
.sort([{column: 34, ascending: true}, {column: 22, ascending: true}]);
};
This is a example sheet (pls ignore the conditional format). I want a blank row between words "A decorrer" and "Concluido" in column AH (or 34)
Can someone help?
Thanks.