How do I sort a column using the last number in the cell?

  • Thread starter Thread starter Susan
  • Start date Start date
S

Susan

I need to sort a spreadsheet by using the last digit in a column that has
department numbers.

EX: 300009
300006
300004

Thank you!
 
hi
use a helper column.
in a column to the right of the data, enter this formula.....
=right(A2,1)
copy down.
use the helper column as the primary sort key.

regards
FSt1
 
Hi,

use a helper column to extract the last number

=RIGHT(A1,1)

Select both columns and sort on the helper column which you can hide.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
Back
Top