function run() {
const book = SpreadsheetApp.getActive();
const range1 = book.getRange('Лист1!B4');
const range2 = book.getRange('Лист1!B6');
const joinRichTextValue = new JoinRichTextValue();
joinRichTextValue.separator = { text: '\n' };
joinRichTextValue.push(range1.getRichTextValue());
joinRichTextValue.push(range2.getRichTextValue());
const range = book.getRange('Лист1!B16');
range.setRichTextValue(joinRichTextValue.build());
}
JoinRichTextValue
описан в проекте Таблицы https://docs.google.com/spreadsheets/d/11tjtnmr_F-...