+ Reply to Thread
Results 1 to 2 of 2

Text to rows and not columns when you have multiple variables

  1. #1
    Registered User
    Join Date
    10-05-2016
    Location
    Delhi,India
    MS-Off Ver
    2013
    Posts
    1

    Text to rows and not columns when you have multiple variables

    I have a dataset as mentioned below

    CELL ID VALUE 1 VALUE 2
    54900, 41049 -111.55 -81.9 30
    13238, 14960 -89.4 -74.32
    56990, 41327 -106.99 -98.27
    56285, 6436 -68.87 -74.41
    17297,49055 -106.63 -95.84

    I want to transform this data like this.
    CELL ID VALUE 1 VALUE 2
    54900 -111.55 -81.9 30
    41049 -111.55 -81.9 30
    13238 -89.4 -74.32
    14960 -89.4 -74.32

    ... and so on

    I can do with text to rows with that 1 column ...by using transpose to text to columns but how to get corresponding values.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365, rarely 2007
    Posts
    12,717

    Re: Text to rows and not columns when you have multiple variables

    Hello sharma06shubham and welcome to the forum.

    Try this in columns F:I

    In F2 fill down until you get blanks.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then array enter this in G2 fill down and across. If you arenít familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.




    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    CELL ID
    VALUE 1
    VALUE 2
    CELL ID
    VALUE 1
    VALUE 2
    2
    54900, 41049
    -111.55
    -81.9
    30
    54900
    -111.55
    -81.9
    30
    3
    13238, 14960
    -89.4
    -74.32
    41049
    -111.55
    -81.9
    30
    4
    56990, 41327
    -106.99
    -98.27
    13238
    -89.4
    -74.32
    5
    56285, 6436
    -68.87
    -74.41
    14960
    -89.4
    -74.32
    6
    17297, 49055
    -106.63
    -95.84
    56990
    -106.99
    -98.27
    7
    41327
    -106.99
    -98.27
    8
    56285
    -68.87
    -74.41
    9
    6436
    -68.87
    -74.41
    10
    17297
    -106.63
    -95.84
    11
    49055
    -106.63
    -95.84
    Last edited by FlameRetired; 10-05-2016 at 01:25 AM.
    Dave

+ 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] Conditional SUMIF based on multiple columns and multiple row variables
    By jaymaan74 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-15-2016, 11:05 AM
  2. Search Multiple Columns and Rows - Show results in Multiple columns and rows
    By heykeighley in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 08-12-2015, 10:16 AM
  3. continuous variables across columns and rows
    By freak11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2014, 07:49 PM
  4. Pasting text from multiple rows along 5 columns into new column
    By Skyla157 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-28-2013, 07:16 PM
  5. multiple columns of Text to rows?
    By dare2join in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-18-2012, 03:15 AM
  6. IF function: Using text in logical_test with multiple variables and replacing with text
    By SarahRachelJones in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-25-2012, 02:17 PM
  7. Import Text File Ddata Into Excel Spreadsheet - Multiple Columns & Rows
    By DOgburn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2012, 04:45 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