+ Reply to Thread
Results 1 to 2 of 2

Putting a " - " to different control number. Please help.

Hybrid View

  1. #1
    Registered User
    Join Date
    06-27-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    1

    Putting a " - " to different control number. Please help.

    I want to know and how to put a - on all of my control numbers.

    This is the scenario. I have lots of control numbers on my spreadsheet which looks like this ACFBS0201011315104, ACHSK0201011315105 and so on. All of the control numbers is starting with AC.

    Is it possible to put a - after the letter AC? Which will look like this AC-FBS0201011315104.

    Please help me. Thank you very much.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Putting a " - " to different control number. Please help.

    One way...

    Assume your data is in the range A2:A10.

    Enter this formula in B2 and copy down as needed:

    =REPLACE(A2,1,2,"AC-")

    Inspect the results and make sure it is what you wanted.

    Select the formulas in B2:B10.
    Right click>Copy
    Right click>Paste Special>Values

    You can delete the original data in column A if so desired (or, delete the entire column A).
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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