Results 1 to 3 of 3

Thread: Remove hyphen and separate / copy numbers
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Oct 2019
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Remove hyphen and separate / copy numbers

    Hi all..
    So my problem is as follows and not sure if it can be done...

    In Column B and starting in B2. I have descending data in format of 1-2-3

    I need a macro to remove the hyphen, then copy 1 to C2, 2 to D2 and 3 to E2

    This needs to be repeated down entire B column and on different sheets the data extends to different lengths but max 26 rows.
    Hope thats understandable and Any help would be greatly appreciated..

  2. #2
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    29,177
    Post Thanks / Like
    Mentioned
    483 Post(s)
    Tagged
    49 Thread(s)

    Default Re: Remove hyphen and separate / copy numbers

    Hi & welcome to MrExcel.
    You can use Text to columns on the Data tab for that.
    Select col B > Text to columns > Delimited > Next > Check "Other" & enter - into the box beside it > Finish.
    Last edited by Fluff; Oct 16th, 2019 at 10:54 AM.
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  3. #3
    New Member
    Join Date
    Oct 2019
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Remove hyphen and separate / copy numbers

    Thank you, I will try it now..

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •