ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to sort XX/XX (the last 2 digits is the year in ascending orde (https://www.excelbanter.com/excel-discussion-misc-queries/162669-how-sort-xx-xx-last-2-digits-year-ascending-orde.html)

Fred

How to sort XX/XX (the last 2 digits is the year in ascending orde
 
For example 345/78, 123/68, 678/90...
pls tell me how to sort the order according to the year?
Thanks!

Kevin B

How to sort XX/XX (the last 2 digits is the year in ascending orde
 
Insert a blank column to the right of the column you want to sort on and
enter the formula below and copy it for the full length of the column. The
example assumes the first sort value is in H2 and the formula is in column I.

=VALUE(RIGHT(H2,2))

Then sort the column with the formula.
--
Kevin Backmann


"Fred" wrote:

For example 345/78, 123/68, 678/90...
pls tell me how to sort the order according to the year?
Thanks!



All times are GMT +1. The time now is 11:51 PM.

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