PC Review


Reply
Thread Tools Rate Thread

How do i sort values like: #103 / 4 / 23, need to sort by 2nd #

 
 
=?Utf-8?B?TWlrZUluUG9ydGxhbmQ=?=
Guest
Posts: n/a
 
      22nd Sep 2006
i have hundreds of cells containing: (Example:#103 / 4 / 23) or (#105 / 3 /
17 ) ... how can I convert these cells to sort by the second number value;
the 3 or 4 in the example ... Much Thanks !!
 
Reply With Quote
 
 
 
 
=?Utf-8?B?fkw=?=
Guest
Posts: n/a
 
      22nd Sep 2006
If you don't need it all in one column and all of the numbers are the same
format, you could go to data then text to columns and have the delimitor be
/, then sort by the 2nd new column.

"MikeInPortland" wrote:

> i have hundreds of cells containing: (Example:#103 / 4 / 23) or (#105 / 3 /
> 17 ) ... how can I convert these cells to sort by the second number value;
> the 3 or 4 in the example ... Much Thanks !!

 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      22nd Sep 2006
Hi Mike

You could create a helper column with the formula
=--(SUBSTITUTE(MID(A8,8,3),"/",""))
Use the helper column to sort by.

This will work provided the number between the two slashes does not
exceed 999

--
Regards

Roger Govier


"MikeInPortland" <(E-Mail Removed)> wrote in
message news:4CF25F6E-78C0-4140-9F71-(E-Mail Removed)...
>i have hundreds of cells containing: (Example:#103 / 4 / 23) or (#105 /
>3 /
> 17 ) ... how can I convert these cells to sort by the second number
> value;
> the 3 or 4 in the example ... Much Thanks !!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Build a String Sort Key, sort a 2 dimen array Mar20 Neal Zimm Microsoft Excel Programming 0 20th Mar 2010 05:38 PM
Program demonstrating polymorphic sort, sorting using IComparer,customized sort raylopez99 Microsoft C# .NET 0 15th Jul 2008 04:07 PM
Pls. reply Sort Data and copy to next coulmn when sort order chang =?Utf-8?B?c2hpdGFsIHNoYWg=?= Microsoft Excel Programming 0 19th Aug 2005 10:29 AM
Selecting a report's sort order & sort fields at runtime Alp Microsoft Access Reports 5 2nd Jan 2005 06:54 AM
DataView sort fails to sort on fields with comma in field names Mone Hsieh Microsoft ADO .NET 1 14th May 2004 09:29 PM


Features
 

Advertising
 

Newsgroups
 


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