Finding names in column that appear only once

Haydo

Board Regular
Joined
Sep 5, 2011
Messages
95
In a column
i have multiple names, most individual names appear many times.

I want to find the names that have only one entry (appear only once)

Is there a vba that could search a column, and underline all the names that appear only once?

Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
why not use filter - advanced- unique records?

The column is one of many in a worksheet.

I have excel 2010

When i try all the options on Filter-advanced-unique records.....it just changes the data around and doesn't seem to work.

Are there any other possible solutions?
 
Upvote 0
Assuming the data looks like the one below,

select the list of names (A2:A9),
Goto Conditional formatting
Enter this formula

Code:
=COUNTIF($A$2:$A$9,A2)=1

and choose the required format style
Excel Workbook
A
1Name
2Name1
3Name2
4Name2
5Name3
6Name3
7Name4
8Name5
9Name5
Sheet1
Excel 2003
 
Upvote 0
Assuming the data looks like the one below,

select the list of names (A2:A9),
Goto Conditional formatting
Enter this formula

Code:
=COUNTIF($A$2:$A$9,A2)=1
and choose the required format style


Excel Workbook
A
1Name
2Name1
3Name2
4Name2
5Name3
6Name3
7Name4
8Name5
9Name5
Sheet1
Excel 2003

Im using excel 2010

I can see no option in Conditional Formating to enter a formula.
They seem to be automated options.



Thanks

PS - there is a text to enter a formula - but nothing happens....
 
Last edited:
Upvote 0
it's ok when you use excel2010

select the column
conditional formatting-> new rule-> use formular to set cells-> and input sanrv1f's formula
the problem will be resolved.
 
Upvote 0
highlight the column

Excel 2010

1 Conditional Formatting
2 New Rule
3 Format only unique ......
4 Change drop down box from dup. to unique
5 press Format
6 Under Text go to underline.
7 OK
 
Upvote 0
highlight the column

Excel 2010

1 Conditional Formatting
2 New Rule
3 Format only unique ......
4 Change drop down box from dup. to unique
5 press Format
6 Under Text go to underline.
7 OK

Thankyou to all. Got it.

Is there anyway to automate that with code?
It looks like something i will be doing 4 or 5 times a day.
Thanks
 
Upvote 0

Forum statistics

Threads
1,213,527
Messages
6,114,142
Members
448,551
Latest member
Sienna de Souza

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top