MS Excel – Finding Repeated Values

 

Scenario

Sometimes it is required to verify a particular column for repeated values in MS Excel sheet. It would be similar to the use of distinct clause in SQL statement.

 

Solution

We can use CountIF function to determine repeated values as shown below:

 

The syntax is: =CountIF (Range, Value to search for) > 1

where Range >> Specified as $A$2:$A$20. It means all cells from Row: 2 to 20 and Column: A.

Value to search for >> Specified as A2. It means value in the cell – A2 should be looked for in above range.

 

Press Enter. Then drag the value of cell B2 to all other cells below it. System will automatically update the formula and value of the cell. All cells with value = TRUE signifies that corresponding column A values has repetitions in the list.

 

Appreciate your feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: