Search

Remove Duplicates

Last Updated: Dec 1, 2020

Articles

Use this function to delete all the rows that are duplicated in a specified range and return the number of rows remaining in the range.

Syntax

Remove Duplicates (source_range, header_included)

Parameters

Input Parameter Name Description
source_range Two cell values (first cell and last cell) separated by ‘:’ to remove duplicate rows
header_included true if the header is included, false if the header is not included

Returns

Return value Description
Rows Returns the number of remaining rows in the range

Sample

Remove Duplicates (C3:F8, true) => 2

  • Removes duplicate rows from the cell range ‘C3’ to ‘F8’ and returns ‘2’, the number of remaining rows in the range.

To view all the Excel functions, click here.

Did you find what you were looking for?