Parsing data and unmerging cells

Does anyone know how to parse data in Numbers? This is the "text to columns" feature in excel, that allows you to select a vertical range of cells, and have it parse the data into different columns based on a decision rule (e.g. fixed width, or particular separators?)
Similarly, I am also trying to "unmerge" cells. The buttons under "Merge and split" in the Table Inspector does not do what I need, since it actally creates new columns in the spreadsheet, rather than split the cell into existing columns. Any advice would be appreciated.

Thanks to all for the responses, but they do not resolve the underlying questions.
1) Regardless of whether there are an even or odd number of columns, Numbers still seems to add columns, rather than split the cell into existing columns, when I use the merge / split function in the Table Inspector. The only "work-around" I've come up with (if you can call it that) is to go to the nearest column that does not have any merged cells, add a column to the right or left, and then copy and paste the non-merged cells, and retype the merged cells from the old column into the unmerged cells of the new column. Very clunky.
2) Regarding parsing, if I have to get involved in text functions, then it only helps me do fixed width text-to-columns, and it is also quite clunky. If I want to parse using tabs, spaces, commas, etc. do I really need to save the contents of the cells into a separate text file, and then re-import??? There has to be a better way, no?

Similar Messages

  • Parsing date and time info

    Hello,
    Could you please help me find the date and time out of this output :-
    1094130971507 ?
    The following code resulted in this output,
    Date now = new Date();
    DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.SHORT,
    DateFormat.MEDIUM, Locale.US);
    String timeFrame = fmt.format(now) + " " + frame; // frame = some data
    try {
    File histFile = new File("logfile" + (new Date()).getTime() + ".txt");
    FileOutputStream histStream = new FileOutputStream(histFile);
    printWriter = new PrintWriter(histStream, true);
    catch(Exception e) {
    System.out.println(e);
    printWriter.println("OUT " + timeFrame);
    I tried to tokenize the logfile and read the date and time value by using the StreamTokenizer and I have the data as 1094130971507 in the double st.nval. I have to extract the time information alone from this double.
    Does some have a smart idea ?.
    Thanks in advance,
    Domnic

    Could you please help me find the date and time out
    of this output :-
    1094130971507 ?
    printWriter.println("OUT " + timeFrame);You are claiming that the first was the result of the second?
    Not with the Sun VM it doesn't.
    The following code...
    DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.SHORT,
    DateFormat.MEDIUM, Locale.US);
    String timeFrame = fmt.format(now) ...
    Is going to produce the following output....
    1/27/05 1:28:25 PM

  • How to group data and assign cell names using Excel templates

    Hi all,
    reading the article "Real Excel Templates 1.5" on the Tim Dexter's Blog, I found that I need hierarchical data for Excel templates. So only in this way I can group my data.
    My hierarchy is composed by 3 levels:
    lev 1 DESTINATION: is the higher level that groups SERVICES and COUNTRY
    lev 2 SERVICES: is the level that groups the countries
    lev 3 COUNTRY: is the lowest level with the COUNTRY, CALLS and CALLS_MINUTES details
    An example of my hierarchy is this:
    lev 1 INTERNATIONAL
    lev 2 INTERNATIONAL FIXED
    lev 3 Albania 90 438,15
    lev 3 Armenia 1 16,95
    lev 2 INTERNATIONAL MOBILE
    lev 3 Albania Mobile 161 603,35
    lev 3 Australia Mobile 6 34,38
    lev 1 NATIONAL
    lev 2 HELLAS LOCAL
    lev 3 Hellas Local 186,369 707940,6
    lev 2 HELLAS MOBILE
    lev 3 Hellas Mobile Cosmote 31,33 43856,97
    lev 3 Hellas Mobile Q-Telecom 2,398 4343,78
    lev 2 HELLAS NATIONAL
    lev 3 Hellas Long Distance 649 1499,55
    lev 1 INTERNET
    lev 2 INTERNET CALLS
    lev 3 Cosmoline @Free 79 2871,3
    So, my data template is the following (with exactly the hierarchy I want for my data):
    <dataTemplate name="emp" description="destinations" dataSourceRef="GINO_DB">
         <dataQuery>
              <sqlStatement name="Q1">
                   <![CDATA[SELECT 1 TOTAL_CALLS, 2 TOTAL_CALLS_MIN from dual ]]>
              </sqlStatement>
              <sqlStatement name="Q2">
                   <![CDATA[SELECT dest.ID_DESTINATION, dest.DESC_DEST from ale.AAA_DESTINATION dest order by dest.ID_DESTINATION ]]>
              </sqlStatement>
              <sqlStatement name="Q3">
                   <![CDATA[SELECT ser.ID_SERVICE,
    ser.ID_DEST,
    ser.DESC_SERVICE,
    count.ID_COUNTRY,
    count.ID_SERV,
    count.COUNTRY,
    count.CALLS,
    count.CALLS_MIN
    from ale.AAA_SERVICE ser, ale.AAA_COUNTRY count
    where ser.ID_SERVICE= count.ID_SERV
    and ID_DEST = :ID_DESTINATION
    order by ser.ID_SERVICE ]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G_TOT" source="Q1">
                   <element name="TOTAL_CALLS" value="G_COUNTRY.CALLS" function="SUM()"/>
                   <element name="TOTAL_CALLS_MIN" value="G_COUNTRY.CALLS_MIN" function="SUM()"/>
                   <group name="G_DEST" source="Q2">
                        <element name="DESC_DEST" value="DESC_DEST"/>
                        <element name="DEST_CALLS_SUBTOTAL" value="G_COUNTRY.CALLS" function="SUM()"/>
                        <element name="DEST_CALLS_MIN_SUBTOTAL" value="G_COUNTRY.CALLS_MIN" function="SUM()"/>
                        <group name="G_SERV" source="Q3">
                             <element name="DESC_SERVICE" value="DESC_SERVICE"/>
                             <element name="SERV_CALLS_SUBTOTAL" value="G_COUNTRY.CALLS" function="SUM()"/>
                             <element name="SERV_CALLS_MIN_SUBTOTAL" value="G_COUNTRY.CALLS_MIN" function="SUM()"/>
                             <group name="G_COUNTRY" source="Q3">
                                  <element name="COUNTRY" value="COUNTRY"/>
                                  <element name="CALLS" value="CALLS"/>
                                  <element name="CALLS_MIN" value="CALLS_MIN"/>
                             </group>
                        </group>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>
    Not considering the CALLS and CALLS_MIN details (I focused only on the COUNTRY which is as the same level), with this data template, making tests on my excel template, I noticed that I can group ONLY two nested levels using the format XDO_GROUP_?group_name?
    XDO_GROUP_?G_DEST?
    XDO_GROUP_?G_SERV?
    or
    XDO_GROUP_?G_DEST?
    XDO_GROUP_?G_COUNTRY?
    or
    XDO_GROUP_?G_SERV?
    XDO_GROUP_?G_COUNTRY
    If I try to group all the three level together in this order
    XDO_GROUP_?G_DEST?
    XDO_GROUP_?G_SERV?
    XDO_GROUP_?G_COUNTRY
    I don't have the output I would like to have.....
    Practically, in my excel I have 3 rows with the following labels
    DESTINATION (called XDO_?DESC_DEST? - =Sheet1!$A$3
    SERVICE (called XDO_?DESC_SERVICE? - =Sheet1!$A$4
    COUNTRY (called XDO_?COUNTRY? - =Sheet1!$A$5)
    where
    XDO_GROUP_?G_DEST? (=Sheet1!$A$3:$B$5)
    XDO_GROUP_?G_SERV? (=Sheet1!$A$4:$B$5)
    XDO_GROUP_?G_COUNTRY     (=Sheet1!$A$5:$B$5)
    I noticed that if I don't use the last one (XDO_GROUP_?G_COUNTRY), my output is correct even if I don't have more than one country for each service....As soon as I put XDO_GROUP_?G_COUNTRY....I loose all the 2nd level and the most of times the 3rd level too....
    So...I think that the problem is how I choose the excel cells when I assign the XDO_GROUP_?group_name?
    Anybody had made some tests, or can help me ???? I'm becoming crazy.....
    Any help will be appreciated
    Thanks in advance
    Alex

    But how can I use tags XDO_GROUP_?? to group data correctly using hierarchial xml, I don't want to use flat XML.
    Yep, I using Template Builder in Excel to run reports localy, and output is wrong
    It's seems that groups couldn't define the level of nesting, I think...
    How can I write it in XDO_METADATA sheet?
    Though I have hierarchial XML and groups should define nesting level correctly.
    I have no clue.....

  • Parsing Date and converting it toString()

    Hi,
    When I parse my date to a specific timezone, why does it not display that same timezone when I convert it to a string? Instead it seems to be using my system's current timezone, and I don't want that.
    This is how I'm doing it...
    SimpleDateFormat formatter = new SimpleDateFormat ("EEE MMM dd HH:mm:ss z yyyy");
    String myStrDate = "Fri Oct 23 08:49:52 PST 2002";
    System.out.println(myStrDate);
    // Parse the string back into a Date.
    ParsePosition pos = new ParsePosition(0);
    Date myDate = formatter.parse(myStrDate, pos);
    System.out.println(myStrDate.toString());output >Fri Oct 23 08:49:52 PST 2002
    output >Wed Oct 23 10:49:52 CST 2002
    I want the output to have the same timezone as what was parsed. Can someone please help me?
    Thanks,
    .kim

    Kim-
    Ok, here's a thought. I used the following code, which has some issues:
    SimpleDateFormat formatter =
        new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy");          
    String myStrDate = "Wed Oct 23 08:49:52 PST 2002";
    System.out.println(myStrDate);
    // Parse the string back into a date
    ParsePosition pos = new ParsePosition(0);
    Date myDate = formatter.parse(myStrDate, pos);
    // Using "PST" like this is deprecated
    formatter.setTimeZone(TimeZone.getTimeZone("PST"));
    String formattedDate = formatter.format(myDate);
    System.out.println(formattedDate);And I got the following output:
    $ java KimDate
    Wed Oct 23 08:49:52 PST 2002
    Wed Oct 23 09:49:52 PDT 2002
    Now, I know it changed to pacific daylight - but - I'm sure it's 'cause I used that "PST" as a TimeZone id - if you find the correct TimeZone ID I bet this would work out for you.
    Of course, it's a pain to have to set the TimeZone on the formatter like that, so maybe this won't help you.
    Good luck!
    Lee

  • How to edit XML parsed data and save on iPhone app

    Hi,
    How to edit and XML retrieved data that is displayed on an iPhone app and save again in the same XML file using iPhone SDK.
    In other words I want to change the XML file data or edit and save.
    Thnx in advance.
    Regards
    Amit

    Hello amit,
    No, not at all. Surely you will parse your XML file using the NSXMLParser class. OK! i think i get it now, do you wants to change/modify the value of any tag in the XML file? For that you will be required to parse your XML file using NSXMLParser class, and fill out some data structure (according to the the XML format) do some changes into your data structure, and then write your XML to the file (according to the edited data structure) using the method i told u earlier. This is what my preferred method is, and i am pretty much sure that it is not a bad way to do this at all.
    Hope this clarifies some of your queries.
    Best regards,
    Obaid

  • The Difference between "Cell Data" and "Dimension Data"?

    What is the difference between the tab "Cell Data" and "Dimension Data" in SSAS?

    Article quote: " SSAS provides the way to secure analysis services database/cube data from unauthorized access. Analysis services provides secure access by creating object called "roles". After creation of role, user's windows login credential can be used
    to enroll into particular role because analysis services identifies user from their windows login credentials . You can protect your data in roles at two levels:
    1) Dimension level
    2) Cell level
    If user has been assigned more than one role, analysis services loop through all assigned roles after login. Analysis services finds all permission level for the particular user and  union all the permission levels.
    If two roles has contradictory access for user then particular access will be allowed. Suppose role1 says Australia data access and role2 denies Australia data access then access to Australia data will be allowed. "
    LINK:
    http://www.msbiconcepts.com/2010/10/ssas-data-security-dimension-and-cell.html
    Kalman Toth Database & OLAP Architect
    IPAD SELECT Query Video Tutorial 3.5 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How do i keep only the name of a month in a cell in Numbers and not have it auto fill the date and time?

    how do i keep only the name of a month in a cell in Numbers and not have it auto fill the date and time?

    Hi JN and Barry,
    Barry wrote:
    The second case may not be included in the available D&T formats in Numbers 3
    For my region, the Date & Time data formats include month.
    The Date Pop-Up
    This may not be the case for all regions.
    Remember that the month is only the display, and the Full Date & Time is still there. If I change the format to reveal what is behind the curtain:
    Regards,
    Ian.

  • Every time I create a new row, I want a certain cell to display the date and time the row was created.  How do I do that?

    =NOW() updates the date and time continuously, I don't want to do that.  I just want the date and time in that cell to stay the same after that row is created.  Seems like this would be easy, but I can't figure it out.

    My preferred scheme is a variant of Barry's proposal 2
    create the new row
    select the cell in which you want to insert the date
    type the shortcut dedicated to one of the four "Insert date" services delivered with WordService from Devon Technologies (FREE)
    On a French keyboard, only one of the default shortcuts apply : cmd % which inserts the long date.
    But we may edit these shortcuts.
    Yvan KOENIG (VALLAURIS, France) mercredi 6 juillet 2011 15:12:16 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Why does Number's include the date and cell title when creating a formula!!

    When typing in a formula, if the 1st column has a date in it then, regardless of where on that row I begin the formula, the date and title of the column appears in the equation rather than the cell designations. What I get is this:
    ='# Shares Bought' 'Apr 4, 2009'*Share ∆ 'Apr 4, 2009'
    All I wanted was =D2*H2, but instead I got all of that. If I manually erase everything and change it to =D2*H2 it reverts back as it was as shown above.
    I tried the same thing without the date in the first column and this eliminated the problem. However, I need the date, so why does Number's insist on doing this?
    Thanks.

    And now, the envelope please. The winner is Jerry Green for his spot-on answer!
    Hey, Jerry!
    I really appreciate your response to this silly little problem. I've used a few spreads in my time, but I've never seen this before. Guess I should have checked the Prefs but didn't. Anyway, I'm good to go now.
    This still, I don't think, explains why the row without the date configured correctly. Does it??
    Again, thanks for your perfect answer.
    Phillip

  • How to parse system date to return Date and in yyyy-MM-dd format?

    DateFormat dateFormat = new SimpleDateFormat ("yyyy-MM-dd");
    java.util.Date date = new java.util.Date ();
    String dateStr = dateFormat.format (date);
    try{
    Date date2 = dateFormat.parse (dateStr);
    }catch(ParseException pe){
    pe.printStackTrace();
    Actually, After parsing the date from string, again it is converted into dfault format i.e. 21 Jan 00.00.00 etc...
    But I want this parsing date in yyyy-MM-dd format and again to return date.
    Can anybody tell me how to do this?

    DateFormat dateFormat = new SimpleDateFormat
    ("yyyy-MM-dd");
    java.util.Date date = new java.util.Date ();
    String dateStr = dateFormat.format (date);
    try{
    Date date2 = dateFormat.parse (dateStr);
    }catch(ParseException pe){
    pe.printStackTrace();
    Actually, After parsing the date from string, again
    it is converted into dfault format i.e. 21 Jan
    00.00.00 etc...
    But I want this parsing date in yyyy-MM-dd format and
    again to return date.
    Can anybody tell me how to do this?A Date object does not have a format, it represents a moment in time. You can use SimpleDateFormat to return a String representing that moment in time in many formats - this does not change the Date object to have that format (which it cannot since it does not contain a format).

  • Can i turn off my cell data and just use WiFi?

    I Will be traveling to Europe and would like to use wifi only for data messaging is it possible to turn off cell data and not use the iphone as a phone but just use wifi?

    williamfromgoleta wrote:
    I Will be traveling to Europe and would like to use wifi only for data messaging is it possible to turn off cell data and not use the iphone as a phone but just use wifi?
    Yes, you can turn off cellular data. You will not be able to use Visual Voicemail or get MMS messages, however.

  • Using attribute as a set of data and parsing this data

    Hi everyone,
    I present below a (little) challenge with the use of attributes in XQuery. Consider the following XML document:
    <showroom>
    <car id="1">
    <name>Clio</name>
    <family>Renault</family>
    </car>
    <car id="n">
    <name>Q5</name>
    <family>Audi</family>
    </car>
    </showroom>
    Each client of the showroom is identified by a unique Id (e.g., 1,2,3,....). Then, i want to add some data to my XML document which should represent, for each car, the set of all clients' Id that have rented this car.
    The desired XML document could look like this:
    <showroom>
    <car id="1">
    <name>Clio</name>
    <family>Renault</family>
    +*<history>*+
    +*<client id="2"/>*+
    +*<client id="23"/>*+
    +*</history>*+
    </car>
    <car id="n">
    <name>Q5</name>
    <family>Audi</family>
    +*<history>*+
    +*<client id="56"/>*+
    +*</history>*+
    </car>
    </showroom>
    However, by using elements in order to represent the rental historic, the document's size will increase significantly.
    As i use only the clients' id, are there any way to represent the history data using only attributes ?+.
    In the following document, the clients' id are represented, as a set, through the attribute +@history+:
    <showroom>
    <car id="1" history="2,23">
    <name>Clio</name>
    <family>Renault</family>
    </car>
    <car id="n" history="56">
    <name>Q5</name>
    <family>Audi</family>
    </car>
    </showroom>
    However, are there any way to check if a given car of id='x' has been rented by a client of Id='y' ?+.
    Does someone know how to represent the history data (sequence of clients' id), using only attributes, and how to look for a given client's id as explained above ?
    Please suggest. I appreciate your help.

    The two following documents represent examples of the showroom data and the clients' data respectively:
    First document:
    <showroom>
    <car id="1">
    <name>Clio</name>
    <family>Renault</family>
    </car>
    <car id="n">
    <name>Q5</name>
    <family>Audi</family>
    </car>
    </showroom>
    Second document:
    <clients>
    <client id="2">
    <name>...</name>
    <firstname>...</firstname>
    <driverLicence serialNumber="2156311"/>
    </client>
    </clients>
    The DTDs of these documents are defined as follows:
    The showroom DTD:
    <!ELEMENT showroom (car)*>
    <!ELEMENT car (name,family)>
    <!ELEMENT name (#PCDATA)>
    <!ELEMENT family (#PCDATA)>
    <!ELEMENT N3 (#PCDATA)>
    <!ATTLIST car id ID #REQUIRED>
    The clients DTD:
    <!ELEMENT clients (client)*>
    <!ELEMENT client (name,firstname,driverLicence)>
    <!ELEMENT name (#PCDATA)>
    <!ELEMENT firstname (#PCDATA)>
    <!ELEMENT driverLicence EMPTY>
    <!ATTLIST client id ID #REQUIRED>
    <!ATTLIST driverLicence serialNumber ID #REQUIRED>
    Whenever a car is rented, I must add some information either in the same showroom document (it will be better for me) or in another document which relies rented car id with the id of the client which rented this car.
    Thanks in advance for your help.

  • Planning attributes in 11.1.2.2 and start/end dates in a cell

    Hi. In Planning 11.1.2.2., can I make use of attribute dimensions as I would in a BSO Essbase cube?
    Also can I enter a start date and an end date entry in two different account members (e.g., start_date and end_date)?
    Thanks

    Hi,
    Yes, I believe you can use it.
    And you can change the Account member Data type as Date. Then use these Accounts in the Planning Web Form. Form will give you facility to select the Date...
    VB..

  • Can I buy a simm card in europe to get data and cell coverage

    Can the Samsung S4 receive a simm card that they sell at airports in foreign countries for a specified amount of data and calling

    Yes it can. You won't have same # but saves $

  • 5320 XM Cell Broadcast and Date and Profiles on sa...

    How do I get the Cellbroadcast, Date, and Profile Name to be displayed on different line on the manin screen. I am unable to see the cellbroadcast from my service provider.
    Thanks
    Overberg

    Have the same problem, as I already mentioned in my posts too. But unfortunatly no reply from Nokia either. Seems they really don't care about it. It would be at least apropriate, that they at least announce time of new firmware and note if they will fix this problem with it.
    But no replay from them   I contacted local nokia dealer in Slovenia, but they just say they can not help. And that we must wait for new firmware.
    Now I wonder, when it should came out ?! I am sick of this trouble with my phone. and as you said, I am also turning off my phone since I want my battery to last longer. so this bug must be fixed.
    Nokia team, anyone?!?!?  

Maybe you are looking for

  • How can I enter the data from the recordset into your insert query

    Hi i would like to know how I can enter the data from the recordset into your insert query without using a  hidden field. thanks ------------------------------------------------------------------------------------Below is the code--------------------

  • Thinkpad Yoga 14: How to know whether the model had separate trackpad buttons or not

    So Lenovo has released the 2015 version of the Thinkpad Yoga 14. In the online manual it says that some models do and others don't have separate trackpad buttons. How do you know whether the specific models offers do or don't? The images in Lenovo's

  • All at once my gmail will not load, any suggestions

    I was trying to open my gmail this morning and it kept giving me an error saying to many "redirects made" then it had a question mark to click on the safari and I troubleshooted from there. I emptied my Cache, I checked for software updates, I reboot

  • Oracle 9i Dataguard automatic failover

    Hi Gurus, I wanted to setup automatic failover from primary to physical standby database in oracle 9i . Could you please advice me what are necessary things required for this setup. Right now we are manually doing the activity. thanks in advance rega

  • OGG : DataPump not working:Bidirectional Replication-Oracle to oracle

    Hi Experts, Iam try to build a Bidirectional Replication Oracle 11gr2 DB to Oracle 11gr2 DB. Could do replication sucessfully from A TO B but not able to do it from B TO A. All the process are running and could not find any errors.Seems data pump is