Split Contents of a Cell into multiple cells

I have a large spreadsheet where all of the data imported into one column but I need it separated into multiple columns for sorting purposes. The other formula's I've found online are not working in my spreadsheet.
Here is an example of my data:
I need the designer name (all information before the word Level) in the first column
Level 3 (or whatever level it states) in the 2nd column
The # in Red in the 3rd column
and some but not all of the data fields have the 4th bit of info and if it's there, I would like it to appear in the 4th column. There are only 2 things that 4th item says throughout the entire document and it's "SOLE" or "TMRW".
Any help is GREATLY appreciated.
Thanks

Building on Jerry's base, here is a set of formulas that will extract each piece to the correct column.
Each is inserted into row 2 of its column, then filled down through the table. The red triangles in the bottom row occur because of the absence of data in tht row of Data, the table on the left. Two ways of avoiding them are described after the formulas.
A2: This is Jerry's formula, modified to use the data in a separate table (named "Data").
A2: =LEFT (Data::A, FIND(" Level ", Data::A)-1)
B2: This extracts Level, a space, and a single digit from the string in Data::A. The problem is simplified by the number following the word "Level" is never greater than 9.
B2: =MID(Data::A,LEN(A)+2,7)
C2: While there may be other ways to extract the next part, I took the approach attributed to Michaelangelo when asked how he would carve an elephant: “I would take a large piece of stone and take away everything that was not the elephant.”  The carving tool here is SUBSTITUTE.
C2: =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(Data::A," SOLE","")," TMRW",""),A&" "&B&" ","")
D2: The easiest part of all. If the string ends with either of the four letter sets SOLE or TMRW, extract it. If not, insert a null string to maintain the blank appearance of the cell.
D2: =IF(OR(RIGHT(Data::A,4)="SOLE",RIGHT(Data::A,4)="TMRW"),RIGHT(Data::A,4),"")
Each of the four formulas is filled down the rest of its column.
The Error triangles: These are caused by the lack of a string for the first three formulas to act on. The fourth does not show an error as the initial part of that formula just wants to know if the last four characters in the cell match either of the four character strings specified. Since thare aren't enough characters to match either, the comparisons both return False, and IF returns a null string ( "" ).
You can get rod of the error triangles by eliminating any rows beyond the number of filled rows in the referenced table, Data.
Or you can trap the errors by enclosing the current formula in each of the cells in an IFERROR function:
IFERROR(current-formula,"")
Regards,
Barry

Similar Messages

  • How do I divide a list in one cell into multiple rows?

    I have copied lists of data from a website - some lists pasted as I want them (in individual rows), but others pasted the list in one row.  Is there an easy way to split a list in a single cell into multiple cells so ultimately I can sort all the rows?  I've tried "split the selected cells into rows" in the inspector, but it's not working... seems like it's creating another column instead (?).  Any help would be amazing.

    K,
    I find that Pages has the friendliest Find and Replace dialog, so when I need to swap around the delimiters I go straight to Pages and do the fixes there. Replace whatever is there between columns in the original content with Tab characters and replace whatever is there now for delimiting the rows with the Return character. Since it's sometimes difficult to tell what has been used, just copy it from the content and Paste into the Find field. Choose the Tab or Return character from the Replace drop down menu.
    When you have it all fixed up, then paste into Numbers.
    Jerry

  • How do I split a Large CSV file into Multiple CSV's Using Powershell

    I am a novice at powershell but this looks to be the best tool to do this task. have a csv file that looks like this:
    Date,Policy,Application
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    Is it possible to split this CSV into multiple CSV's based on "Application".
    Lets say the output might look like:
    None.csv
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    AppBiz.csv
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    PeopleBiz.csv
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    Any help would be greatly appreciated

    I think this might be what you want:
    Import-Csv applications.csv |
    Group Application |
    foreach {
    $_.Group | Export-Csv "$($_.Name).csv" -NoTypeInformation
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
    Very nice! 4x faster..
    I doubt the OP will get what you just did there..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • How to Split java.util.Set object into multiple objects?

    Hi All,
    I'm having a collection of items in a Set. Assume that i'm having 10,000 items in Set A.
    Now i like to split the Set into multiple Set or Array such as each set or array consist of 100 records. i.e whenever
    i get more items i want to split them into mutiple set or array.
    Is there is any Java Api doesn't this function? or any other way to achieve this?
    Thanks,
    J.Kathir

    Iterate through them, placing them into different new collections.
    It may be easier to add the Set to a List, and then call sublist() a few times on the resulting List.

  • Split flat file column data into multiple columns using ssis

    Hi All, I need one help in SSIS.
    I have a source file with column1, I want to split the column1 data into
    multiple columns when there is a semicolon(';') and there is no specific
    length between each semicolon,let say..
    Column1:
    John;Sam;Greg;David
    And at destination we have 4 columns let say D1,D2,D3,D4
    I want to map
    John -> D1
    Sam->D2
    Greg->D3
    David->D4
    Please I need it ASAP
    Thanks in Advance,
    RH
    sql

    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper
    Imports Microsoft.SqlServer.Dts.Runtime.Wrapper
    Imports System.IO
    Public Class ScriptMain
    Inherits UserComponent
    Private textReader As StreamReader
    Private exportedAddressFile As String
    Public Overrides Sub AcquireConnections(ByVal Transaction As Object)
    Dim connMgr As IDTSConnectionManager90 = _
    Me.Connections.Connection
    exportedAddressFile = _
    CType(connMgr.AcquireConnection(Nothing), String)
    End Sub
    Public Overrides Sub PreExecute()
    MyBase.PreExecute()
    textReader = New StreamReader(exportedAddressFile)
    End Sub
    Public Overrides Sub CreateNewOutputRows()
    Dim nextLine As String
    Dim columns As String()
    Dim cols As String()
    Dim delimiters As Char()
    delimiters = ",".ToCharArray
    nextLine = textReader.ReadLine
    Do While nextLine IsNot Nothing
    columns = nextLine.Split(delimiters)
    With Output0Buffer
    cols = columns(1).Split(";".ToCharArray)
    .AddRow()
    .ID = Convert.ToInt32(columns(0))
    If cols.GetUpperBound(0) >= 0 Then
    .Col1 = cols(0)
    End If
    If cols.GetUpperBound(0) >= 1 Then
    .Col2 = cols(1)
    End If
    If cols.GetUpperBound(0) >= 2 Then
    .Col3 = cols(2)
    End If
    If cols.GetUpperBound(0) >= 3 Then
    .Col4 = cols(3)
    End If
    End With
    nextLine = textReader.ReadLine
    Loop
    End Sub
    Public Overrides Sub PostExecute()
    MyBase.PostExecute()
    textReader.Close()
    End Sub
    End Class
    Put this code in ur script component. Before that add 5 columns to the script component output and name them as ID, col1, co2..,col4. ID is of data type int. Create a flat file destination and name it as connection and point it to the flat file as the source.
    Im not sure whats the delimiter in ur flat file between the 2 columns. I have use a comma change it accordingly.
    This is the output I get:
    ID Col1
    Col2 Col3
    Col4
    1 john
    Greg David
    Sam
    2 tom
    tony NULL
    NULL
    3 harry
    NULL NULL
    NULL

  • Splitting comma seperated column data into multiple rows

    Hi Gurus,
    Please help me for solving below scenario. I have multiple value in single column with comma seperated values and my requirement is load that data into multiple rows.
    Below is the example:
    Source Data:
    Product         Size                                 Stock
    ABC              X,XL,XXL,M,L,S                 1,2,3,4,5,6
    Target Data:
    Product         Size                                 Stock
    ABC              X                                     1
    ABC              XL                                   2
    ABC              XXL                                 3
    ABC              M                                    4
    ABC              L                                      5
    ABC             S                                        6
    Which transformation we need to use for getting this output?
    Thanks in advance !

    Hello,
    Do you need to do this tranformation through OWB mapping only? And can you please tell what type of source you are using? Is it a flat file or a table?
    Thanks

  • Need Script to split multi-paged ID file into multiple single paged ID files

    I have created a 366 page document (and have 2 more to create). None of the text threads from page to page, and there are no master page items. Each page is destined to be used as a single block that will be copied and pasted into a master document by a database driven plugin (and for color editing reasons it needs to be separate .indd files). For expediency, I created these as a single document because I could import the text with ID style tags to pre-format the text (with all text blocks threaded). I then broke all the text threads using API's Auto Unstich plugin. We then manually tweaked the text of each page.
    Gluon once sold a plugin called DocSplitter, but it has not been updated since CS1 and does not work with CS4.
    Before you ask why I don't have the database plugin create multiple single page docs — the plugin doesn't currently save to individual ID docs (yet - feature to be released in 3 months).
    I know that scripting could possibly do what I need, but I have little to no experience with AppleScript (7 years ago) and none with Javascript. Would love to find a pre-packaged solution and am willing to pay someone for it.
    To guess there are two ways a script could work:
    1) script breaks the doc into single pages (not sure how that would work really) but the files would be named based on page number — i.e filename-01.indd, filename-02.indd, etc.
    2) script selects all objects on a page, groups the objects, copies the objects, creates a new page, pastes the objects and then saves the file in the same manner as number 1 above - loop and repeat for al the pages.
    Any help would be greatly appreciated.
    many thanks
    Roger

    Hi Roger,
    This topic was discussed in this thread: http://forums.adobe.com/message/1113562#1113562
    Check out this script:
    http://creative.mediabox.fr/index.php?app=core&module=attach&section=attach&attach_id=6440
    Kasyan

  • Need to split multi-page ID file into multiple-single paged ID files

    I have created a 366 page document (and have 2 more to create). None of the text threads from page to page, and there are no master page items. Each page is destined to be used as a single block that will be copied and pasted into a master document by a database driven plugin (and for color editing reasons it needs to be separate .indd files). For expediency, I created these as a single document because I could import the text with ID style tags to pre-format the text (with all text blocks threaded). I then broke all the text threads using API's Auto Unstich plugin. We then manually tweaked the text of each page.
    Gluon once sold a plugin called DocSplitter, but it has not been updated since CS1 and does not work with CS4.
    Before you ask why I don't have the database plugin create multiple single page docs — the plugin doesn't currently save to individual ID docs (yet - feature to be released in 3 months).
    I know that scripting could possibly do what I need, but I have little to no experience with AppleScript (7 years ago) and none with Javascript. Would love to find a pre-packaged solution and am willing to pay someone for it.
    many thanks
    Roger

    The link I was given was a dead link. I noted it in my post, so I am hoping the person that posted it will repost a
    new link. If I get it I will repost it here as well.
    I should add that the Badia Software EportTools demo is excellent. I will be buying it. It allows you to export individual PDF, EPS, PS, JPG, Text, INX and INDD files from any multipaged Indd file. It also allows for comprehensive file renaiming similar to Adobe Bridge, it even has a few twists that bridge might not have. The demo is fully operational for 30 days with no limitations except for a slightly annoying reminder. You can also export in text mode with Indd text tags attached.
    Roger

  • Split one sales order line into multiple item line on invoice

    Hi,
    When create proforma invoice from sales order (TCode, VF01), we can have multiple batches for on sales order item line. On invoice, we have requirement to make each batch become a single invoice line. Any help on how to do the split?
    Thanks.
    --Wenning

    Are you talking about a report to show all the line items of the order. MAy be I didnt understand you correctly.
    The key to both the tables is VBELN.
    However for any Invoice the line item in in VBRP tbable and the corresponding Header in VBRK.
    You could write to query to combine the lines in VBRP to one line based on your requirement.
    Shreekant

  • Split and reformat single record into multiple records

    Hi ,
    I need to split 1 record in to  2 records with 1 new field(event)
    I have one internal table in this format
    No country stdate          enddate
    1    us        12/01/2006  10/07/2007
    i need to reformat this record like ;
    NO country  event    pldate           acdate 
    1     us          ga      12/01/2006   12/01/2006
    1     us          es      10/07/2007   10/07/2007
    Can any one resolve this issue?

    Check the example.
    report zrich_0001 .
    data: begin of itab occurs 0,
          no type i,
          country(3) type c,
          stdate  type sy-datum,
          enddate type sy-datum,
          end of itab.
    data: begin of itab2 occurs 0,
          no type i,
          country(3) type c,
          event(2) type c,
          stdate  type sy-datum,
          enddate type sy-datum,
          end of itab2.
    itab-no = 1.
    itab-country = 'US'.
    itab-stdate = '20061201'.
    itab-enddate = '20071007'.
    append itab.
    loop at itab.
      clear itab2.
      move-corresponding itab to itab2.
      itab2-event = 'GA'.
      itab2-enddate = itab-stdate.
      append itab2.
      clear itab2.
      move-corresponding itab to itab2.
      itab2-event = 'ES'.
      itab2-stdate = itab-enddate.
      append itab2.
    endloop.
    loop at itab2.
      write:/ itab2-no, itab2-country, itab2-event,
              itab2-stdate, itab2-enddate.
    endloop.
    Regards,
    Rich Heilman

  • I want to place the value of a cell into another cell of diffrent field

    i want to place the entity of "Name" column "TAYMOOR NASIR" in "Fathers_Name" column of "KHIZAR KHAN",  how can i do it. waiting......

    May be:
    ;with cte as (select T.*, Prev.Name as [New Father's Name] from Ancestory T
    CROSS APPLY (select top (1) * from Ancestory T1 where T1.RollNumber = T.RollNumber - 1 order by [Roll Number]) Prev
    WHERE [Farthers_Name] IS NULL)
    --select * from cte -- uncomment this to check
    UPDATE cte SET [Fathers_Name] = [New Father's Name]
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • How can i pull the value of one cell into the cell of another table?

    I want to pull the value (the result of a =SUM(x) formula as the starting value of a column in another table.  How can I do that?

    Yvan KOENIG (VALLAURIS, France) vendredi 10 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Why is iTunes splitting my albums songs up into multiple albums

    i have ticked the box for varies artists and in the sorting tab i have even done cd1 and cd2 but they are still showing up as albums.

    Hi, trucker2006.  
    Thank you for visiting Apple Support Communities. 
    I understand that music you are importing is not grouped together in iTunes.  Here are some steps that will help you with this.   
    Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/ts1468
    Cheers,
    Jason H.

  • Splitting a concatenated string to multiple cells in a row in BIP Reports

    Hello Experts,
    Let me how to split a concatenated string into multiple cells in BIP reports rtf.
    Ex:
    string: acg;ghdf;tesrlkjj;hvfffda
    has to placed in multiple cells like
    string1: acg
    string2: ghdf
    string3: tesrlkjj
    string4: hvfffda
    Appreciate your quick reply.
    Please drop in the pseudo code.
    Thanks & Regards
    Syed

    The report is based on a standard sql query such as
    select item1, item2, item3, item4, item5, item6, item7
    from mytable
    order by item1Wanted to put that in as I am not using an interactive report.
    Thanks
    Wally

  • When selecting one cell, multiple cells highlight

    When I am working with Excel 2010, I try to select a single cell however multiple cells get highlighted. It will highlight usually the next 5-6 cells in the same row. It occurs randomly on random cells, but happens about 25% of the time. If I click the
    cell and it does its highlighting thing, I usually have to click away in another cell and then re-click the first one to get it to go away. Also, if I just try to ignore the highlighted cells and try to work as normal, when I try to tab to the next cell in
    the row, it will only let me tab between the cells in the column that are highlighted. It is not a mouse problem, I am not accidentally selecting multiple cells, and it happens on documents I created as well as documents others have created. It will also happens
    on a new, blank document or others completely stripped of any kind of potentially hidden formatting. I have not tried to re-install Office yet, but that will be next step if no one has a solution. Thanks

    I ran into this problem today working in Excel 2010 at 90% zoom.
    First I tried F8 and Shift+F8 but neither of them worked.
    Next I changed the zoom levels up and down and this worked while I was at a different zoom level than the document was saved in but went back to the same problem when I tried working at 90% zoom again.
    Finally I came across the fix mentioned below from July 2, 2012 that suggested switching from Normal View to Page and then to Print view and back to Normal and this worked!!! Thanks to all for your input below, you saved my Monday morning!
    LIST OF POSSIBLE FIXES:
    1. Try using the F8 and/or Shift+F8 [extend selection] to toggle back and forth.
    2. Change zoom level of your document up or down [this was only a temporary fix for me].
    3. Change page layout between Normal, Page Layout, and Page Break Preview (the 3 boxes at the bottom right hand corner of excel spreadsheet) then back to Normal.

Maybe you are looking for

  • Working wlst script on weblogic 10.3 for monitoring jvm,jdbc,serverstate,et

    H team, please provide me working wlst script on weblogic 10.3 on for monitoring jvm,jdbc,server state, threads, etc. UNIX OS: solaris X86 email id: [email protected] thanks surya

  • What can I do to start back up in Mac Leopard OSX?

    What can I do to start back up in Mac Leopard OSX? My Original Purpose: Partition Mac HD to original state after installing Windows XP via BootCamp Because I wasn't using XP. To do this I know I have to Boot from Leopard install disc to access Disc U

  • Missing Files in albums

    Hi all,   I have just downloaded PSE 10 trial version and find that most of my photos in my albums are marked as missing photos with the little yellow ?  Could someone please tell me why this is so and how can I fix the problem.  I can reconnect each

  • Can we Deploy .fmx files on weblogic server 10.1/10.3?

    Hi, currently we are using oracle Application server to run forms. Now we are palnning to migrate to weblogic. Can some one give me advice or documentation links where to start ? is WLS enough or do i need to get Weblogic portal ? Thanks Rao Edited b

  • Notes not saved - sometimes?

    My wife has been using the 'Notes' application on her iPad daily. Occasionally, she will make a new note and not be able to find it when she goes back to look for it. Most notes seem to be saved automatically and synched to Mail. Is there something s