ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I sort a list of numbers by the last 4 digits? (https://www.excelbanter.com/excel-discussion-misc-queries/231185-how-can-i-sort-list-numbers-last-4-digits.html)

Kristin S[_2_]

How can I sort a list of numbers by the last 4 digits?
 
I am using Excel 2003. Can I sort a list of numbers by the last four digits?
There are apprximately 6 digits in each number.

Elkar

How can I sort a list of numbers by the last 4 digits?
 
The easiest way would be to create a helper column and perform your sort
using that.

Let's assume your original data is in column A and your new helper column is
column B. In column B enter the formula:

=RIGHT(A1,4)

Copy down as needed. Then, when you sort, use Column B.

HTH
Elkar


"Kristin S" wrote:

I am using Excel 2003. Can I sort a list of numbers by the last four digits?
There are apprximately 6 digits in each number.



All times are GMT +1. The time now is 06:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com