Identify unique values

dininaus

New Member
Joined
Jul 27, 2016
Messages
22
Hi Excel gurus,

Could someone please help me.

I have a report with users group assignment in the system. Users are assigned to read-only and full access groups. Email address is the unique field in the report. I wanted to apply a formula under User ID's so we we can identify and filter if the user id is unique/duplicate. Then I would like to filter the unique user id's and apply read-only or Full Access group filters to get the total unique read-only and full access users in the system.

[TABLE="width: 749"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Emailaddress[/TD]
[TD]Group Name[/TD]
[TD]Login enabled[/TD]
[TD]Read Only group[/TD]
[TD]Full Access Group[/TD]
[TD]User ID's[/TD]
[/TR]
[TR]
[TD]abc@xyz.com[/TD]
[TD]GPA-Full[/TD]
[TD]Yes[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]abc@xyz.com[/TD]
[TD]GPB-Full[/TD]
[TD]Yes[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]abc@xyz.com[/TD]
[TD]GPR-RO[/TD]
[TD]Yes[/TD]
[TD]YES[/TD]
[TD]NO[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]xyz@abc.com[/TD]
[TD]GPC-Full[/TD]
[TD]Yes[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]xyz@abc.com[/TD]
[TD]GPD-Full[/TD]
[TD]Yes[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]xyz@abc.com[/TD]
[TD]GPE-Full[/TD]
[TD]Yes[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]xyz@abc.com[/TD]
[TD]GPR2-RO[/TD]
[TD]Yes[/TD]
[TD]YES[/TD]
[TD]NO[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]


Total unique read-only users =
Total unique Full-access users =

Thanks in advance.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Re: Please help to identify unique values

CF will show the duplicates
 
Upvote 0
Re: Please help to identify unique values

I put you 2 options, the first option writes the first cell as unique. The second option writes the last cell as unique. Choose the best option for you.


<table border="1" cellspacing="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:127.37px;" /><col style="width:117.86px;" /><col style="width:148.28px;" /><col style="width:151.13px;" /><col style="width:183.45px;" /><col style="width:128.32px;" /><col style="width:125.47px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td><td >D</td><td >E</td><td >F</td><td >G</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Emailaddress</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Group Name</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Login enabled</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Read Only group</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Full Access Group</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">User ID's</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">User ID's</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="background-color:#fafafa; color:#0000ff; text-decoration:underline; ">abc@xyz.com</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">GPA-Full</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Yes</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">NO</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">YES</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Unique</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">abc@xyz.com</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">GPB-Full</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Yes</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">NO</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">YES</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">abc@xyz.com</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">GPR-RO</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Yes</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">YES</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">NO</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Unique</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="background-color:#fafafa; color:#0000ff; text-decoration:underline; ">xyz@abc.com</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">GPC-Full</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Yes</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">NO</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">YES</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Unique</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">xyz@abc.com</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">GPD-Full</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Yes</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">NO</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">YES</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">xyz@abc.com</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">GPE-Full</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Yes</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">NO</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">YES</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">xyz@abc.com</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">GPR2-RO</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Yes</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">YES</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">NO</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Duplicate</td><td style="background-color:#fafafa; color:#333333; font-family:Verdana; font-size:9pt; ">Unique</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b></b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >F2</td><td >=IF(COUNTIF($A$2:A2,A2)=1,"Unique","Duplicate")</td></tr><tr><td >G2</td><td >=IF(COUNTIF(A2:$A$8,A2)=1,"Unique","Duplicate")</td></tr></table></td></tr></table>
 
Upvote 0
Re: Please help to identify unique values

Im glad to help you, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,941
Members
452,539
Latest member
delvey

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