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
variableRequired
Sheet Name
sheetName
stringOptionalLeave empty for the first sheet
Range
range
stringOptionalLeave empty for everything on the sheet
Match On
columns
arrayOptionalColumn 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