+ Reply to Thread
Results 1 to 5 of 5

Sort Text & Number

  1. #1
    Registered User
    Join Date
    04-23-2004
    Posts
    28

    Sort Text & Number

    Hello to everybody,

    Need piece of advice. I have to sort some data by column that contains text & numbers:
    week 1
    week 2
    week 3
    ...
    week 10
    week 11

    and so on.

    How it should be formatted?
    Thanks a lot in advance,

    Irina.

  2. #2
    Forum Contributor
    Join Date
    07-05-2006
    Location
    Canada
    MS-Off Ver
    2003, 2007
    Posts
    581
    You might consider padding the week with 0's, ie. week 001, week 013, week 321, etc. Then it should sort normally.

    Alternatively you could pad with spaces ie. week[space][space][space]1, week[space][space]13, week[space]321, etc.

    You could also add a helper column that pulls out the week number.

    Scott

  3. #3
    Registered User
    Join Date
    04-23-2004
    Posts
    28

    Custom format

    Quote Originally Posted by Maistrye
    You might consider padding the week with 0's, ie. week 001, week 013, week 321, etc. Then it should sort normally.

    Alternatively you could pad with spaces ie. week[space][space][space]1, week[space][space]13, week[space]321, etc.

    You could also add a helper column that pulls out the week number.

    Scott
    Thank you. I just wanted to use the way MS Excel suggests to use in the "Help". Something like "Format it as custom", but all my efforts had the same "wrong" result.

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    You could number your weeks, say 1, 2, 3, 4, etc., then custom format the cell to

    "Week "###
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  5. #5
    Registered User
    Join Date
    04-23-2004
    Posts
    28

    Custom format & Sort

    Quote Originally Posted by oldchippy
    You could number your weeks, say 1, 2, 3, 4, etc., then custom format the cell to

    "Week "###
    Works perfectly, thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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