
Contents |
Remove Duplicated Rows
Remove rows in a worksheet based on duplications in one column
Minimum Origin Version Required: 8.1 SR0
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| Reference Column | irng |
Input Range | | Specify the column which needs to be deleted duplicated rows. |
| Keep 1st Duplication | keep1st |
Input int | | Specify whether to keep 1st duplicate row. |
| Case Sensitive | sensitive |
Input int | | Specify whether to be case sensitive when decide whether the rows are duplicate. |
| undo |
Input int | | Specify whether to allow the "undo" ability. If you have enabled it, you can select Edit: Undo to erase the last operation to the worksheet.
Note:It is designed for the script usage, not availble from dialog | |
| Output Worksheet | ow |
Output Worksheet | | Specify the output worksheet.
See the syntax here. |
| Output Counts | counts |
Input int | | Specify whether to count and output the number of duplicate rows. |
This X-Function can remove duplicated rows in a worksheet. It can be accessed from menu, command window.
Suppose a user has data as following and want to remove the duplicated strings in column A
| A | B |
|---|---|
| ABC | 1 |
| abc | 2 |
| ABC | 3 |
| def | 4 |
| ABC | 5 |
| abc | 6 |
| ABC | 7 |
| A | B | Count |
|---|---|---|
| ABC | 1 | 4 |
| abc | 2 | 2 |
| def | 4 | 1 |