Skip to content

Filter Functions ​

SheetX provides filter functions that help you identify, extract, and organize data based on specific conditions.

Functions Overview ​

FunctionDescription
SX_DUPLICATESIdentifies duplicate values within a range.

SX_DUPLICATES ​

The SX_DUPLICATES function identifies duplicate values within a range, making it easier to detect repeated records and maintain clean, consistent datasets.

Syntax ​

=SX_DUPLICATES(range, [columns], [mode], [case_sensitive], [remove_spaces], [trim_spaces], [normalize_spaces], [if_no_duplicate_found])

Arguments ​

ArgumentDescription
rangeThe values to search for duplicates.
columnsThe column(s) of the range to check for duplicates.
If omitted, the entire columns of the range are used for the duplicate search.

Column(s) are specified in a string separted by commas.
modeHow duplicates result should be presented.

duplicates - Shows the duplicates result.
count - The number of duplicates.
group - Partitions duplicates into groups by assigning a unique number.

Default: duplicates
case_sensitiveWhether the comparision should be case-sensitive.

Default: True
remove_spacesWhether to remove all spaces from the values.

Default: False
trim_spacesWhether to remove leading and trailing spaces.

Default: True
normalize_spacesWhether to replace consecutive whitespace with a single space.

Default: True
if_no_duplicate_foundThe value to return when no duplicates are found. If omitted, the function throws an error when no duplicate is found.

Default: Throws an error.

Use Cases ​

  • Identify repeated values in datasets before analysis.
  • Detect duplicate product records in stock lists.
  • Find repeated email addresses in mailing lists.
  • Detect repeated transaction identifiers or reference numbers.