+ Reply to Thread
Results 1 to 5 of 5

Split data into adjacent columns

  1. #1
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Split data into adjacent columns

    Hi,
    I am looking for two formulas (col. B+C) in order to split every second value from Col. A into two adjacent columns.
    Empty cells, in col. A, should be ignored.
    The requested result is shown in green and red.
    Please - no VBA
    Thanks, Elm
    Last edited by ElmerS; 11-21-2009 at 08:38 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Split data into adjacent columns

    The no VBA is back...

    B2:
    =IF($A2="";"";IF(MOD(COUNT($A$2:$A2);2)=(2-COLUMNS($B2:B2));$A2;""))

    which can be applied across entire matrix (ie Column C included)

  3. #3
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: Split data into adjacent columns

    Thanks, DonkeyOte.

    You may consider the return of the "no VBA" man also in the future...

    By using VBA and/or helper columns I am capable to force Excel to resolve almost everything except preparing a cup of coffee.

    Elm

  4. #4
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: Split data into adjacent columns

    DonkeyOte, & "to whom it may concern",
    Even if it sounds a little freaky I'll appreciate an answer if it can be accomplished the way described here:

    I want to build a chart relying on columns B+C.
    I know I can declare tow name ranges - one for each column - and that I can declare those name-ranges as dynamic - However , I wonder if there is a way to eliminate even the use of the two "helper-Columns" B+C by defining the two names on two Array formulas which will take place of columns B+C by simulations them without the need to present them inn the sheet.
    Thanks, Elm

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Split data into adjacent columns

    new question, new thread please.

+ 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