+ Reply to Thread
Results 1 to 7 of 7

Need to convert 3000 row data to column in a specific format

  1. #1
    Registered User
    Join Date
    02-01-2021
    Location
    Hyderabad, India
    MS-Off Ver
    2016
    Posts
    3

    Post Need to convert 3000 row data to column in a specific format

    The below sample data(Company name, address and revenue) is in row wise. I would like to have company on one column, address on second column and revenue on third column. Please let me know the process and procedure. There is 3000 rows of data to be converted to the mentioned format

    Cameron International Corporation
    Houston, Texas,
    United States
    $7,210.39M


    Roper Technologies, Inc.
    Sarasota, Florida,
    United States
    $5,366.80M
    .
    .
    .
    Last edited by Lokeshkumarmylapilli; 02-01-2021 at 09:21 AM. Reason: no file attached

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Need to convert 3000 row data to column in a specific format

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Need to convert 3000 row data to column in a specific format

    I have assumed (in the absence of a sample sheet) that each group is in a single cell.

    Use this (assuming data start in A2) copied across and down:

    =FILTERXML("<A><B>"&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE($A2,CHAR(10),"</B><B>",1),CHAR(10),"</B><B>",2),CHAR(10)," ")&"</B></A>","//B["&COLUMNS($B2:B2)&"]")

    See sheet.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-01-2021
    Location
    Hyderabad, India
    MS-Off Ver
    2016
    Posts
    3

    Re: Need to convert 3000 row data to column in a specific format

    Hi Glenn,
    Thank you for your quick response.
    I tired attaching the sheet. There's some error popping .
    However, my data is in not a single cell. Each line indicates a row here
    For say,
    Cameron International Corporation is in first row
    Houston, Texas, is in second row
    United States is in third row
    $7,210.39M is in fourth row


    Regards,
    Lokesh

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Need to convert 3000 row data to column in a specific format

    OK. How is this, then?

    =IFERROR(INDEX($A$1:$A$8,4*(ROWS(C$1:C1)-1)+COLUMNS($C1:C1)),"")

    In C1, copied across and down. if this is still ncorrect, you will HAVE to re-read the yellow banner and try again to attach a sample file.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-01-2021
    Location
    Hyderabad, India
    MS-Off Ver
    2016
    Posts
    3

    Re: Need to convert 3000 row data to column in a specific format

    Hi,
    Worked well. Thank you Glenn

    Appreciate your efforts!!


    Lokesh

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Need to convert 3000 row data to column in a specific format

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

+ 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. 3000 column of data, which will transform into rows
    By gcycglen in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-11-2020, 08:30 PM
  2. [SOLVED] Convert date into a specific format
    By Panfergrrl18 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2013, 03:01 AM
  3. Excel : Convert data in column to limited row (time and date format)
    By hooi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2011, 07:21 PM
  4. Convert from a specific date format
    By codepin in forum Excel General
    Replies: 4
    Last Post: 01-08-2009, 11:16 AM
  5. Replies: 6
    Last Post: 09-23-2008, 03:51 PM
  6. Replies: 4
    Last Post: 10-30-2006, 03:01 PM
  7. convert to specific format
    By true_atlantis in forum Excel General
    Replies: 1
    Last Post: 03-30-2006, 09:50 AM

Tags for this Thread

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