+ Reply to Thread
Results 1 to 2 of 2

Need to reformat mix of text and numbers

  1. #1
    Registered User
    Join Date
    01-26-2013
    Location
    London
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    1

    Need to reformat mix of text and numbers

    Hi - I am not an experienced Excel user so please excuse my lack of understanding of it! I have a shop which sells clothing and we have coded our stock with the following code A-1-1, A-1-2 etc going up to A-99-99 and beyond using letters of the alphabet. I cannot sort my list as where there is a single digit in the code, it needs a zero ie instead of A-1-1, I should have originally entered it as A-01-01. Is there a quick way of changing the whole list (which now runs to 3500 entries)? I don't understand formatting but I'm guessing there must be a quick way of doing this that doesn't involve manually changing each entry. thanks in advance for any help!

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Need to reformat mix of text and numbers

    With Col_A containing your stock codes:
    Please Login or Register  to view this content.
    This regular formula begins the conversion to a standard format
    Please Login or Register  to view this content.
    Copy that formula down as far as you need.

    In the above examples, these are the results:
    Please Login or Register  to view this content.
    If you need the "hard-coded"
    • Select the formula range...(B1:B3)
    • Right-Click on it
    ...Select: Copy
    • Right-Click on the first cell of the stock code range (A1)
    ...Select: Paste_Options.Values

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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