Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Sorting information within a cell.

I have 3 colums of information. One of the colums contains SSN's. I need to
sort by the last 2 digits of the SSN and I can't seem to fiqure out how to do
this. Any help would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Sorting information within a cell.

Assume SSN is in column D. Put this formula in a helper column:

=RIGHT(D2,2)*1

and copy down. Then include this helper column in your sort area and
sort by the helper column.

Multiplying by 1 converts the extracted digits to real numbers, so
that your sort makes sense.

Hope this helps.

Pete


On Mar 25, 7:07*pm, Bridget wrote:
I have 3 colums of information. One of the colums contains SSN's. I need to
sort by the last 2 digits of the SSN and I can't seem to fiqure out how to do
this. Any help would be greatly appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Sorting information within a cell.

On Mar 25, 2:07*pm, Bridget wrote:
I have 3 colums of information. One of the colums contains SSN's. I need to
sort by the last 2 digits of the SSN and I can't seem to fiqure out how to do
this. Any help would be greatly appreciated.



Try this:
In a new column, put this formula to show only the last two digits of
SSN: =RIGHT(cell number,2)
~Where it says "Cell" simple left click once in the SSN cell that
contains the number beside this formula.
~Where it shows the number "2", make sure and put a comma beside it
and then the number two.

Hope this helps. This should work on the numbers even if they have
the dash inbetween the three sections of the SSN.
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 a column of information Todd Allen Excel Discussion (Misc queries) 2 March 5th 08 08:46 PM
Sorting Subtotaled information chris Excel Discussion (Misc queries) 3 October 4th 07 10:32 PM
formula help, sorting information foamcows Excel Worksheet Functions 1 January 2nd 06 11:30 PM
sorting information on a template. Wendy Excel Discussion (Misc queries) 1 August 13th 05 12:31 AM
sorting two columns' information Mark Hitchcock Excel Discussion (Misc queries) 0 July 11th 05 09:01 PM


All times are GMT +1. The time now is 10:14 PM.

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

About Us

"It's about Microsoft Excel"