Question about sorting based on the last numerals of a code in a column

Hello,
I need some help either sorting or filtering a list. There is one column with a long numerical code, and I need to sort the list based on the last seven digits of this code. Is this possible? If so, how?
Any help or insight would be greatly appreciated!
Thank you,
Jennifer
Who is Participating?

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.

Commented:
Let's say in A1 you have your digits then in B1 apply this formula..

``````=right(a1,7)
``````

This will give you the 7 digits from the right side and then you can play around with this to do what you are looking for..

Saurabh...

Experts Exchange Solution brought to you by

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

Author Commented:
Thank you!

A few questions:
1. Will this formula need to be repeated for each row?
2. If there is already a B row will I need to create a new one in which to enter the formula?

Thanks again
Commented:

1. Yes it needs to be created for each row and you can simply drop down it will update the formula automatically when you drag it for the relevant cell.

2. Yes apply this formula in the empty cell or column where you can apply it..and you can refer to the right cell like in this case im referring it to a1..you can change basis of your needs..

Saurabh...
Commented:
the column with the =Right() formula can be a hidden column.
Older than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
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.