+ Reply to Thread
Results 1 to 5 of 5

Data spilt in one cell to rows

  1. #1
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    142

    Data spilt in one cell to rows

    Hi all,

    Attached is a file which has data in table format. The cells in column E (E2 & E3) contain 3 lines of data (i.e. 3 different supplier names), which are required to be spilt in to 3 separate rows each for both the cells & also the information in that particular row should appear as is while the spilt is done.

    Any help is greatly appreciated.

    Happy New year in advance to all.! Stay safe & enjoy your holidays

    Thanks,
    Mahesh
    Attached Files Attached Files

  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 2406
    Posts
    44,662

    Re: Data spilt in one cell to rows

    In A10, copied across to D10 and down:
    =IFERROR(INDEX(Table1[Sr'#],1+INT((ROWS(A$10:A10)-1)/3)),"")

    in E10, copied down:
    =IFERROR(TRIM(MID(SUBSTITUTE(CHAR(10)&INDEX(Table1[[Supplier ]],1+INT((ROWS(E$10:E10)-1)/3)),CHAR(10),REPT(" ",125)),125*(1+MOD((ROWS(E$10:E10)-1),3)),125)),"")
    Attached Files Attached Files
    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

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,387

    Re: Data spilt in one cell to rows

    Are you still using Excel 2010?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    142

    Re: Data spilt in one cell to rows

    Thanks Glenn. It works perfect as required.

  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 2406
    Posts
    44,662

    Re: Data spilt in one cell to rows

    You're welcome!

+ 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. Spilt data into columns
    By laksa in forum Excel General
    Replies: 3
    Last Post: 07-08-2019, 10:24 AM
  2. how to format data to spilt into next cell
    By kedrick in forum Excel General
    Replies: 1
    Last Post: 01-31-2015, 09:07 AM
  3. Replies: 2
    Last Post: 05-15-2014, 12:37 PM
  4. How to spilt a marco enabled text into differnet cell?
    By jcsean in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-12-2014, 01:17 PM
  5. [SOLVED] Spilt of DATA
    By Nikunj15 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-10-2013, 05:15 AM
  6. How to spilt information within a cell
    By Excel2012 in forum Excel General
    Replies: 1
    Last Post: 06-22-2011, 03:39 PM
  7. Graph data source spilt by column insert
    By ElfieUK4 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2010, 07:47 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