Formating as number

cansevin
cansevin used Ask the Experts™
on
I have vlookup that isn't working properly and i believe it is because the cell I am trying to lookup isn't properly formated as a number.

I am trying to look up a cell in E1, it is a zip code. It is a formula that says =Right(D2,5) which pulls the last 5 characters from the cell next to it. How can I tell excel to recognize this zip code as a number?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Try =Value(Right(D2,5))

Author

Commented:
You the man! Thanks!!!!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial