Skip to main content

Remove Duplicate Rows

Excel·v1.11.1
ExcelEditingWrites files

Delete repeated rows, keeping the first or the last of each. A number typed as text matches the same number

Inputs

NameTypeRequiredDefaultDescription
Excel Instance
excelInstance
variableRequiredNot set
Sheet Name
sheetName
stringOptionalNot setLeave empty for the first sheet
Range
range
stringOptionalNot setLeave empty for everything on the sheet
Match On
columns
arrayOptionalNot setColumn headings to compare. Leave empty to compare the whole row
Heading Row
headerRow
numberOptional1
Keep
keep
enumOptionalfirst
firstlast
Output Variable
outputVariable
variableOptionalRemovedCount

Output

$outputVariableNumber

How many rows were removed

Compatibility

WindowsLinuxAttendedUnattended

Related activities