Identify unique values

dininaus

New Member
Joined
Jul 27, 2016
Messages
11
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.

EmailaddressGroup NameLogin enabledRead Only groupFull Access GroupUser ID's
abc@xyz.comGPA-FullYesNOYES
abc@xyz.comGPB-FullYesNOYES
abc@xyz.comGPR-ROYesYESNO
xyz@abc.comGPC-FullYesNOYES
xyz@abc.comGPD-FullYesNOYES
xyz@abc.comGPE-FullYesNOYES
xyz@abc.comGPR2-ROYesYESNO

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>


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

Thanks in advance.
 

mole999

Moderator
Joined
Oct 23, 2004
Messages
9,899
Re: Please help to identify unique values

CF will show the duplicates
 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
8,769
Office Version
2007
Platform
Windows
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>
 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
8,769
Office Version
2007
Platform
Windows
Re: Please help to identify unique values

Im glad to help you, thanks for the feedback.
 

Forum statistics

Threads
1,081,753
Messages
5,361,093
Members
400,613
Latest member
Markdc123

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top