+ Reply to Thread
Results 1 to 6 of 6

How to Sort data which includes alpha as well as Numerals

  1. #1
    Registered User
    Join Date
    02-22-2024
    Location
    Mission Tx
    MS-Off Ver
    2021
    Posts
    1

    Cool How to Sort data which includes alpha as well as Numerals

    Hello,
    I have used Excel since about 1990 or so and have set up spread sheets and manipulated them. I have Excel 2021 on my computer and want to sort a 828 line data spread which includes an Alpha character followed by a dash and a number. See example of my data set below.

    I want to sort the data which includes extra columns of information first by Alpha character in alphabetical order A,C, M, N, P, S, W and secondly arranged in numerical order (A-1, A-2, .....C-1,C-2..... through W-1, W-2, etc.

    I have tried using some of the tools in the tool bar but it hasn't worked. I think I need a formula or a function to do this .
    Thanks in advance for help in this sort task.

    Tom




    W-123
    S-3
    S-9
    M-209
    P-66
    M-98
    P-230
    M-171
    P-152
    W-257
    M-228
    M-182
    W-115
    M-221
    N-18
    M-168
    M-121
    W-62
    M-300
    M-131
    M-59
    P-159
    N-11
    N-15
    M-139
    W-200

  2. #2
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: How to Sort data which includes alpha as well as Numerals

    Solution.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by DJunqueira; 02-22-2024 at 07:09 PM.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: How to Sort data which includes alpha as well as Numerals

    You'd probably need to split the column using a formula (or Text to Columns) to create two helper columns. Then sort on the helper columns.

    Or use VBA.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: How to Sort data which includes alpha as well as Numerals

    Another way,

    Please Login or Register  to view this content.

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: How to Sort data which includes alpha as well as Numerals

    Or try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: How to Sort data which includes alpha as well as Numerals

    Power Query
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 11-15-2021, 05:57 PM
  2. convert english numerals to chinese numerals
    By tukae in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-21-2018, 05:02 AM
  3. [SOLVED] Sort these in ALPHA
    By makinmomb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-02-2016, 01:16 AM
  4. Want to split alpha numerals and then compare and provide difference using macro
    By aravindkm in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-24-2015, 09:35 PM
  5. [SOLVED] In alpha-numeric text data replace alpha
    By manharji in forum Excel General
    Replies: 3
    Last Post: 07-26-2010, 07:20 PM
  6. data sort from alpha numeric sheet
    By b16dlg in forum Excel General
    Replies: 0
    Last Post: 06-09-2010, 08:52 AM
  7. Sorting data using roman numerals....
    By Hokie Bear in forum Excel General
    Replies: 7
    Last Post: 08-19-2005, 06:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1