+ Reply to Thread
Results 1 to 3 of 3

2 parts - Part 1 - Add an X to both the left and the right on a column of 250 numbers

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Florida
    MS-Off Ver
    Home -Excel 2007, Work 2016
    Posts
    254

    2 parts - Part 1 - Add an X to both the left and the right on a column of 250 numbers

    Have a list of about 250 numbers (with 3 decimals there are 4 set of numbers within the number I am working with).
    Step 1 - I want to put an x as the beginning digit and an x as the ending digit
    Step 2 - Have about 250 "replace this", "with this" that I want to run against the 250 rows that would be reading something like this x00.0.000.00x after step 1 is run.
    I have named the top cell of numbers as "Top", and the last cell of numbers as "bottom"
    Thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: 2 parts - Part 1 - Add an X to both the left and the right on a column of 250 numbers

    if you just want a simple formula to copy down, try this, assuming your data starts in A1 - adjust as needed...

    ="x"&A1&"x"

    copied down
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Florida
    MS-Off Ver
    Home -Excel 2007, Work 2016
    Posts
    254

    Re: 2 parts - Part 1 - Add an X to both the left and the right on a column of 250 numbers

    I know how to do in manually. I am here because I need a macro to do exactly what you show - and another macro to do step 2

+ 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