snowman8271

New Member
Joined
Mar 20, 2018
Messages
3
Hi guys,

so here is what I'm trying to do. I have a column of 10 digit position numbers. I have it formatted to text because some numbers start with 0.

What I need to happen is to determine if individuals are "double slotted" against the same position number. I was attempting to use VLookup to check the entire column for duplicates and display the duplicate name(s) in another column.


So... check column E for duplicate position numbers. If duplicate is found, display name(s) associated with duplicate (column G) in a new column.

IF(LOOKUP(E2,E:E,G:G), G2, 0) something along these lines? But G2 needs to be Gwhatever is the name associated with the duplicate position number.

Thanks for the help!!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
namenumberduplicate
alf23
bill25bill
colin27colin
dave29a simple countif identifies the duplicates
ed31and puts in the names
fred27fred
georhe35
harry37
ian39
james25james
keith43
formula in C2
=IF(COUNTIF($B$2:$B$12,B2)>1,A2,"")

<colgroup><col width="64" span="10" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Hey oldbrewer,

I'm gonna modify your chart so it shows what I'm looking for. I need it to show the other duplicate results minus the one its actually associated with.

Thanks!


name
number
duplicate
alf
23
bill
25
dave, james
colin
27
fred
dave
25
bill, jamesa simple countif identifies the duplicates
ed
31
and puts in the names
fred
27
colin
georhe
35
harry
37
ian
39
james
25
bill, dave
keith
43
formula in C2
=IF(COUNTIF($B$2:$B$12,B2)>1,A2,"")

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,843
Members
449,051
Latest member
excelquestion515

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