Need to find all 9-digit numbers

  • Thread starter alfred.cloutier
  • Start date
A

alfred.cloutier

In a single column, I need to be able to find all nine-digit numbers.
All the numbers are different, but they all have nine digits. It seems
like I could do this in Word, but I can't figure out how to do it in
Excel.

Thanks!
 
R

Ron Rosenfeld

In a single column, I need to be able to find all nine-digit numbers.
All the numbers are different, but they all have nine digits. It seems
like I could do this in Word, but I can't figure out how to do it in
Excel.

Thanks!

Typing FIND into the help bar and select Find text or numbers.

You can use wildcard characters so you would type ????????? (9 ?'s) into the
Find What box; and also select <match entire cell contents> under Options.

--ron
 
A

alfred.cloutier

Typing FIND into the help bar and select Find text or numbers.

You can use wildcard characters so you would type ????????? (9 ?'s) into the
Find What box; and also select <match entire cell contents> under Options.

--ron


Ron, thanks! I figured that was the only way to do it. I wanted to
know if I could search specifically for nine *digits* because nine
letters also gets found.

Thanks again!
 
R

Ron Rosenfeld

Ron, thanks! I figured that was the only way to do it. I wanted to
know if I could search specifically for nine *digits* because nine
letters also gets found.

Thanks again!

If you need to confine to digits, you'll have to use VBA
--ron
 
G

Gord Dibben

Non-VBA solution

=AND(ISNUMBER(A1),LEN(A1)=9) entered in B1 and double-clicked to copy down.

Will return true or false.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top