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,735
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,735
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,561
Messages
5,359,611
Members
400,540
Latest member
JimUSMC

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top