ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I sort a column in Excel by the last digit in each field (https://www.excelbanter.com/excel-discussion-misc-queries/140111-how-do-i-sort-column-excel-last-digit-each-field.html)

jmdyt

How do I sort a column in Excel by the last digit in each field
 
I'm trying to sort a large column of 6 digit characters by the last character
in each field.

Dave Peterson

How do I sort a column in Excel by the last digit in each field
 
Add a column to the right of that column.

Use a formula like:
=right(a1,1)
to get that last digit.

Then sort your range by this column.

When you're done, delete this column.

jmdyt wrote:

I'm trying to sort a large column of 6 digit characters by the last character
in each field.


--

Dave Peterson


All times are GMT +1. The time now is 01:26 AM.

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