How do I take a character off of a number - when the "clean" or "left/right" function doesn't work?

I have a spreadsheet where the numbers for an ID were entered in with the ' in front of the IDs. I have tried the "clean" function and the "left/right" function but the number still stays the same.

Ex: '409
The cell shows up only as 409 but if I try to do a vlookup with that ID, it comes back N/A

jag4Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Rob HensonFinance AnalystCommented:
A couple of options:

1) in your lookup convert the lookup value to text, wher lookup value is in a1:

=vlookup(text(a1,"0"),lookuprange,offset,type)

2) use the value function to convert the input numbers to value, where a1 contains the erroneous input:

=VALUE(A1)

Thanks
Rob H
0

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
Rob HensonFinance AnalystCommented:
Or, if you have error checking enabled the rroneous input cells are probably showing an error message. Use the dropdwon on the error message to convert text to number. You can highlight the whole block and use the error message on one cell to convert all highlighted.

RH
0
RamblingsCommented:
Select the column with the problem, and from the data ribbon, select text to column.
It will take you through a dialog - just take the default to everything and the column formats will be set back to general.
0
jag4Author Commented:
Thanks - not sure why my brain froze and why I couldn't think of this solution but it helped tremendously!
0
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 Excel

From novice to tech pro — start learning today.