+ Reply to Thread
Results 1 to 2 of 2

place a zero between a letter and number

  1. #1
    Registered User
    Join Date
    03-25-2012
    Location
    USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    place a zero between a letter and number

    I have random well positions, A1, C2, E5.

    I need to place a 0 between the letter and number, so it looks like this: A01, C02, E05. Is there a formula for it?

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: place a zero between a letter and number

    Does it ever go to double digits? is it always a single letter of the alphabet? Formula's only work outside the cells where the data is entered so you'll need to copy>paste special> values back into the original cells.

    Let's say your data is in A1
    =LEFT(A1,1)&0&MID(A1,2,5)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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