Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a list of phone numbers in excel, some of which are obviously duds because they contain repeating digits like this '5555555'. Is there any easy way of identifying these?

Its Excel 2010.

share|improve this question
    
you could try a VBA solution, such as described here: uk.queryclick.com/seo-news/searching-string-list-matches-excel –  Andi Mohr Oct 10 '13 at 15:02
    
or you can use a CSE formula as described here: stackoverflow.com/questions/8313919/… –  Andi Mohr Oct 10 '13 at 15:03
    
You would need to define your own list of "dud numbers": 555,111,999 etc –  Andi Mohr Oct 10 '13 at 15:04

1 Answer 1

This formula will return TRUE if value in A1 repeats any digit 7 times in a row, FALSE otherwise

=COUNT(SEARCH(REPT({1,2,3,4,5,6,7,8,9},7),A1))>0

adjust as required, e.g. replace 7 by required number

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.