identifying pairs in long list

adjustment

New Member
Joined
Apr 21, 2016
Messages
25
Hi gang,

I have a new problem that I can't seem to wrap my head around. I have a list of thousands of IDs for specific products. Some match up to six characters and then have a suffix:

Example

1233
1234AB
1234AB-LL
1235

I need to identify when the pairs that share the first characters.

Yikes, am I making sense? There is only one row.

Can anyone help?

Thanks,
Adj
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Oh no - I feel so neglected. Did I ask this in the wrong way? Is it embarrassingly simple & I am missing it?
 
Upvote 0
with your 4 values in A1:A4, type the following in B1 and hit Shift + Ctrl + Enter instead of just Enter, to create an array formula. Drag this down:
=SUM(IF(LEFT($A$1:$A$4,4)=LEFT(A1,4),1,0))
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,448
Members
448,966
Latest member
DannyC96

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