Excell 2013 - Vlookup of phones number issue

I am trying to perform a v-lookup on a phone number.
The table I am using to define the criteria is formatted as (XXX) XXX-XXXX
The table I am using to pull the data from is formatted as XXXXXXXXXX

I changed the format to a phone number in the same format to no avail.

Any suggestions on how I can normalize this data so the vlookup will perform as needed?

I have attached the file for review

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


pls try

=VLOOKUP(--SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(D2,"(",""),")","")," ",""),"-",""),Sheet1!N:Z,13,0)

Rey Obrero (Capricorn1)Commented:

=IFERROR(VLOOKUP(--SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(D3,"(",""),")","")," ",""),"-",""),Sheet1!N:Z,13,0),"")
Professor JMicrosoft Excel ExpertCommented:
put this in M2

checks the day phone if it fails then checks the eve phone and then if not found then returns Not found

=IFERROR(IFERROR(VLOOKUP(--SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE([@[Day Phone]],"(",""),")",""),"-","")," ",""),Sheet1!N3:Z14143,13,FALSE),VLOOKUP(--SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE([@[Eve Phone]],"(",""),")",""),"-","")," ",""),Sheet1!O3:Z14143,12,FALSE)),"NOT FOUND")

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DGWhittakerAuthor Commented:
Thanks Jim!
Professor JMicrosoft Excel ExpertCommented:
you are welcome. i am glad i was able to help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.