Request = separate pairs with repeating digits.

piter

Active Member
Joined
Jul 22, 2011
Messages
314
Office Version
  1. 2016
Platform
  1. Windows
Request = separate pairs with repeating digits
Ex = 01 21 = yes
01 32 = no
The repeat can have 2 or 3 repeated digits
The list has more than 4 thousand formations
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Book1
AB
101 21yes
201 32no
Sheet1
Cell Formulas
RangeFormula
B1=IF(SUMPRODUCT(--(LEN($A1)-LEN(SUBSTITUTE($A1,ROW($A$1:$A$10)-1,""))>1))>0,"yes","no")


WBD
 
Upvote 0
Hello, wideboy, please get on the spreadsheet, that is activate the formula I'm not aware of excel, I'm a truck driver
 
Upvote 0

Book1
ABC
10102yes
20103yes
30104yes
40105yes
50106yes
60107yes
70108yes
80109yes
90120yes
100130yes
110140yes
120150yes
130160yes
140170yes
150180yes
160179no
170169no
180159no
190149no
200139no
210129no
220119yes
Planilha1
Cell Formulas
RangeFormula
C1=IF(SUMPRODUCT(--(LEN(TEXT($A1,"00")&TEXT($B1,"00"))-LEN(SUBSTITUTE(TEXT($A1,"00")&TEXT($B1,"00"),ROW($A$1:$A$10)-1,""))>1))>0,"yes","no")


WBD
 
Upvote 0
hello WIDEBOY, thank you!conglatulations
 
Upvote 0

Forum statistics

Threads
1,213,515
Messages
6,114,080
Members
448,548
Latest member
harryls

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