Javascript – I Want to remove duplicate data in google sheet including all it occurrences
This is the simple code which remove all the duplicate values and working fine. function removeDuplicate2ndPhase() { var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Hourly Data'); var lastRow = sheet.getLastRow(); var range = sheet.getRange('B3:M' + lastRow); range.removeDuplicates([3]); } all i want to remove duplicate…