Creating a unique value list

Overview

The [highlight txt=’create unique value list’] instruction allows a user to remove duplicates from a selected range of cells. For example, if all the cells within a selected range have identical values, the instruction consolidate the range into one cell. The instruction can be configured to be case sensitive, that is, cell values which may be identical in every respect except for the fact that the cases of one or more characters within those cells are different will not be consolidated together. The ‘unique list’ or ‘consolidated list’ must then be copied to another location, for instance, another Excel worksheet.

[message type=”warning”]For the purposes of this article we are going to use two simple and fictitious Excel files. They have already been uploaded into a data step. You will want to replace these files with those of your own.[/message]

Before we get started

Please further create a ‘Manipulate a file’ or ‘Multiple file manipulations’ action step so that you can add and use instructions.

The source file that we are going to use looks like this:

The target file that we are going to use is a standard fresh Excel workbook which contains 3 empty worksheets.

Steps

1. Create a ‘Create unique value list’ instruction.

2. Link the file named “Source” as the source file and the file named “Target” as the target file.

3. Select Sheet1 from both files.

4. For the Source, use an Advanced Cell Range from cell A1 to the last cell in ColumnA as far as D.

5. For the Target, use cell A1.

6. Save and run the step.

7. After the step finishes running, download and open the target file. It will resemble the image below:

Recent Posts

Leave a Comment