Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I sort alpha neumeric fields that have an alpha suffix?

How do I sort numbers with alpha suffix, e.g. 114, 114A, 114B, etc?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default How do I sort alpha neumeric fields that have an alpha suffix?

Have you tried sorting? I get 114 first then 114 with the a,b,c, etc in
order. What do you need?
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Bob Sparks" <Bob wrote in message
...
How do I sort numbers with alpha suffix, e.g. 114, 114A, 114B, etc?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default How do I sort alpha neumeric fields that have an alpha suffix?

I would use two helper columns. Assuming your numbers are in Column A
(starting in Row 2), and assuming you use Column P and Column Q as your
helper columns, put these formulas in the indicated cells and copy down to
the end of your data in Column a and then sort all your data referencing
Columns P and Q as the sorting columns...

P2: =LOOKUP(9.9E+307,--LEFT(A2,ROW($1:$99)))

Q2: =MID(A1,TRIM(RIGHT(SUBSTITUTE(RIGHT(P2),"/",REPT(" ",99)),99))+1,99)

Note: Notice that the formula in Column Q refers to values in Column P.

--
Rick (MVP - Excel)


"Bob Sparks" <Bob wrote in message
...
How do I sort numbers with alpha suffix, e.g. 114, 114A, 114B, etc?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default How do I sort alpha neumeric fields that have an alpha suffix?

Hi,

That depends on how you want them sorted. Please give us more data and tell
us how your result is sorting and how you want it to sort.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Bob Sparks" wrote:

How do I sort numbers with alpha suffix, e.g. 114, 114A, 114B, etc?

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
Updating workbook with an alpha sort sheet and a numeric sort shee cjlatta Excel Discussion (Misc queries) 2 January 28th 09 12:00 AM
CAN YOU ALPHA SORT IN A SINGLE CELL? Precious Pearl Excel Discussion (Misc queries) 4 November 8th 07 09:17 PM
Alpha Numeric Sort Cptn_Jon Excel Discussion (Misc queries) 1 December 1st 06 04:14 PM
convert xls to csv with quotes for alpha fields majobojrod Excel Discussion (Misc queries) 2 January 23rd 06 03:58 PM
The colums changed from alpha to numeric how do you make it alpha worldmade Excel Discussion (Misc queries) 2 May 26th 05 03:44 PM


All times are GMT +1. The time now is 10:18 AM.

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"