Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Sort / Filter in excel

I have a row of data that has strings of numbers / characters. Is there a way
to sort of the charaters whether they are at the beginning or end?

Example:
P224
24P
26A
28376A
A20958

I would like to sort by the Charater - when it either at the begining of the
string or end.

Thanks,
Kelly
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 126
Default Sort / Filter in excel

You'll need a 'helper' column.
Let's assume your data is in Column A starting in cell A1.
In cell B1 put the following formula and then copy it down.
=IF(CODE(LEFT(A1,1))CODE(RIGHT(A1,1)),LEFT(A1,1), RIGHT(A1,1))
Sort on Column B.

--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"goonie" wrote:

I have a row of data that has strings of numbers / characters. Is there a way
to sort of the charaters whether they are at the beginning or end?

Example:
P224
24P
26A
28376A
A20958

I would like to sort by the Charater - when it either at the begining of the
string or end.

Thanks,
Kelly

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Sort / Filter in excel

Worked Great - Thank You

"Gary Brown" wrote:

You'll need a 'helper' column.
Let's assume your data is in Column A starting in cell A1.
In cell B1 put the following formula and then copy it down.
=IF(CODE(LEFT(A1,1))CODE(RIGHT(A1,1)),LEFT(A1,1), RIGHT(A1,1))
Sort on Column B.

--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"goonie" wrote:

I have a row of data that has strings of numbers / characters. Is there a way
to sort of the charaters whether they are at the beginning or end?

Example:
P224
24P
26A
28376A
A20958

I would like to sort by the Charater - when it either at the begining of the
string or end.

Thanks,
Kelly

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
Excel Pivot Table - Sort Report Filter Values Jeff Reese Excel Discussion (Misc queries) 3 September 13th 09 12:30 AM
Excel 07 Sort & Filter A to Z Tia Excel Discussion (Misc queries) 2 January 24th 09 03:58 AM
Excel changes formula after data sort/filter, please help. Jesrf Excel Discussion (Misc queries) 1 January 8th 09 07:57 AM
Excel 2007 can not filter / sort in sheet with 657,000 rows Charlie Ruddy Excel Discussion (Misc queries) 1 December 30th 07 01:17 AM
Excel 2007 data corruption using sort within a filter. J_Harrington Excel Discussion (Misc queries) 4 November 14th 07 07:43 PM


All times are GMT +1. The time now is 06:13 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"