#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sorting in Excel

I work with 12 digit loan numbers which are assigned to a specialist based on
the last 2 digits. I hope to find a way to sort on just the last two digits
so that loans are convieniently grouped by assigned specialist.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Sorting in Excel

Use a helper col, sort all by that helper
Eg, in E2, copied down: =RIGHT(A2,2)+0
Then sort all by col E
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Gregg" wrote:
I work with 12 digit loan numbers which are assigned to a specialist based on
the last 2 digits. I hope to find a way to sort on just the last two digits
so that loans are convieniently grouped by assigned specialist.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Sorting in Excel

hi,
you could use a helper column off to the right with with formula
assuming your loan number is in a1.
=right(A1,2)
this formual would pull the last 2 digits of the loan number into a seperate
column.
sort by helper column then loan number column (or other).

Regards
FSt1

"Gregg" wrote:

I work with 12 digit loan numbers which are assigned to a specialist based on
the last 2 digits. I hope to find a way to sort on just the last two digits
so that loans are convieniently grouped by assigned specialist.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Sorting in Excel

Hi,
One way is to use a helper column.
If your 12-digit data is in Column A, starting Row 2, place this formula
into Row 2 of an available column and copy down.
=RIGHT(A2,2)
This puts the last 2 digits into each cell of the helper column.
Then you can sort by this column.
Regards - Dave.
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sorting in Excel

Thanks you all. Worked like a charm!

"Gregg" wrote:

I work with 12 digit loan numbers which are assigned to a specialist based on
the last 2 digits. I hope to find a way to sort on just the last two digits
so that loans are convieniently grouped by assigned specialist.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting in Excel RDH Excel Worksheet Functions 5 November 19th 07 09:22 AM
Sorting in Excel cockatoo Excel Discussion (Misc queries) 1 October 24th 07 08:53 PM
Sorting VLookup vs Sorting SumProduct Lauren Excel Discussion (Misc queries) 1 August 21st 07 12:19 AM
Excel Sorting fallngod Excel Discussion (Misc queries) 1 May 19th 06 02:51 PM
sorting with excel rpatel New Users to Excel 1 August 29th 05 07:40 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"