I have a document with column B2 showing a general number as ###-##-###. I would like to remove the ###-## portion of the number. Is there an formula that I can create to remove just the first two sections of the number?
I have a document with column B2 showing a general number as ###-##-###. I would like to remove the ###-## portion of the number. Is there an formula that I can create to remove just the first two sections of the number?
Remove? Not with a formula. But in an adjacent cell you can extract the last 3 characters with:
=RIGHT(A1, 3)
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Or use this formula to extract the last set of numbers regardless of the length of that last set:
=RIGHT(A1,LEN(A1)-FIND("-",A1,FIND("-",A1)+1))
When I say semicolon, u say comma!
..Or replace *- with nothing.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks