code to explanationTue, 17 Jan 2023

function removerDuplicatas() { var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0]; var lastRow = sheet.getLastRow(); var range = sheet.getRange(1, 1, lastRow, 11); range.removeDuplicates(); }

The function removerDuplicatas() returns the sum of a and b.

Want to kickstart your project?Use the new AI Studio to create your code