+ Reply to Thread
Results 1 to 7 of 7

6 Pairs of numbers in a cell to be automatically individually copied to other cells

  1. #1
    Registered User
    Join Date
    01-15-2013
    Location
    Over, There
    MS-Off Ver
    Excel 2007
    Posts
    7

    6 Pairs of numbers in a cell to be automatically individually copied to other cells

    I have a cell that contain 6 pairs of numbers which are separated by a spaces. (numbers are formatted as General)

    Is there a way each pair of numbers can be automatically placed into their own cell?

    Eg: Cell A1 has 01 11 19 24 34 45.

    Then:
    cell B1 gets 01,
    cell C1 gets 11,
    cell D1 gets 19,
    cell E1 gets 24,
    cell F1 gets 34 and
    cell G1 gets 45.

    Is there a formula that can be used? I would prefer a formula for the solution than using VB.

    Any Ideas?

    Using Excel 2007
    Last edited by Col Crunch; 09-21-2013 at 06:57 PM. Reason: I am a dummy, wrong cells entered!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: 6 Pairs of numbers in a cell to be automatically individually copied to other cells

    a2 filled down
    =MID($A$1,FIND("^",SUBSTITUTE($A$1&" "," ","^",ROWS($A$1:A1)))-2,2)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    01-15-2013
    Location
    Over, There
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: 6 Pairs of numbers in a cell to be automatically individually copied to other cells

    Thanks for the response martin...

    I tried your solution, it doesnt seem to work

    my data in rows.

    The data that is in cell A1 needs to be automatically spread into cells A1 through A7.

    Or am I copying it wrong?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: 6 Pairs of numbers in a cell to be automatically individually copied to other cells

    see attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-15-2013
    Location
    Over, There
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: 6 Pairs of numbers in a cell to be automatically individually copied to other cells

    How would I get it to work horizontally though? I cant do that vertically by nature of how my spreadsheet is set up.

    Or do i just copy the formula to the right?

    I just realized that I posted the wrong cells in my post, I edited the post to reflect what I am trying to accomplish....

    sorry for the confusion and thanks for your help!
    Last edited by Col Crunch; 09-21-2013 at 06:59 PM.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: 6 Pairs of numbers in a cell to be automatically individually copied to other cells

    b1=MID($A$1,FIND("^",SUBSTITUTE($A$1&" "," ","^",COLUMNS($A$1:A1)))-2,2) filled across

  7. #7
    Registered User
    Join Date
    01-15-2013
    Location
    Over, There
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: 6 Pairs of numbers in a cell to be automatically individually copied to other cells

    AWESOME!

    Thanks a TON Martin!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How can I use VB script to automatically increment a number from the copied cells
    By shocks24 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-29-2012, 02:40 PM
  2. paste copied cell by inserting row automatically
    By parajf in forum Excel General
    Replies: 1
    Last Post: 01-31-2011, 05:23 PM
  3. Replies: 3
    Last Post: 04-22-2010, 10:24 AM
  4. copying template / adding data automatically / searching individually
    By dooban in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-06-2009, 11:52 AM
  5. Replies: 4
    Last Post: 01-03-2005, 03:06 PM

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