Delete every other row

How can I automatically delete every other row in a Numbers spreadsheet?

Thanks a lot.
It's what we spell "Un rang sur deux".
Automatic translator just replaced Engish words by French ones returning :
Chaque autre rangée
or
toutes les autres lignes
which had really no link with even/odd.
It's a nice day, not only the sun shine but I learnt something new
Yvan KOENIG (VALLAURIS, France) mardi 9 août 2011 16:42:55
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
My iDisk is : <http://public.me.com/koenigyvan>
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 !

Similar Messages

  • Html query report /every other row grey

    Hello
    i have this query to html report
    do you know how to make every other row grey in the out pu of
    the query.
    and where do i put it in this code below?
    thanks in advance
    <cfquery name="GetCompanies"
    datasource="#Request.MainDSN#">
    SELECT
    CompanyID,
    CompanyName,
    Address,
    City,
    State,
    ZipCode,
    Comments
    FROM
    Company
    ORDER BY
    CompanyName ASC
    </cfquery>
    <html>
    <head>
    <title>ColdFusion MX Bible</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>Company List</h1>
    <TABLE width=100% align="left" border="4" rules="all">
    <tr>
    <td><b>ID</b></td>
    <td><b>Name</b></td>
    <td><b>Address</b></td>
    <td><b>City</b></td>
    <td><b>State</b></td>
    <td><b>ZIP Code</b></td>
    <td> </td>
    </tr>
    <cfoutput query="GetCompanies">
    <tr>
    <td>#CompanyID#</td>
    <td>#CompanyName#</td>
    <td>#Address#</td>
    <td>#City#</td>
    <td>#State#</td>
    <td>#ZipCode#</td>
    <td>
    <a
    href="EmployeeList.cfm?CompanyID=#CompanyID#">Employees</a>
    <a href="CompanyAddForm.cfm">Add</a>
    <a
    href="CompanyEditForm.cfm?CompanyID=#CompanyID#">Edit</a>
    <a
    href="CompanyDeleteForm.cfm?CompanyID=#CompanyID#">Delete</a>
    </td>
    </tr>
    </cfoutput>
    </TABLE>
    </body>
    </html>

    The fastest, but crudest and ugliest.
    <cfoutput query="GetCompanies">
    <tr #IIF(GetCompanies.CurrentRow MOD
    2,DE(''),DE('backgroundColor="##999"'))#>
    kellyhondalovesmusic wrote:
    > Hello
    > i have this query to html report
    > do you know how to make every other row grey in the out
    pu of the query.
    > ??
    >
    >
    > and where do i put it in this code below?
    >
    >
    >
    > thanks in advance
    >
    >
    >
    > <cfquery name="GetCompanies"
    > datasource="#Request.MainDSN#">
    > SELECT
    > CompanyID,
    > CompanyName,
    > Address,
    > City,
    > State,
    > ZipCode,
    > Comments
    > FROM
    > Company
    > ORDER BY
    > CompanyName ASC
    > </cfquery>
    >
    > <html>
    > <head>
    > <title>ColdFusion MX Bible</title>
    > <link rel="stylesheet" href="styles.css">
    > </head>
    >
    > <body>
    >
    > <h1>Company List</h1>
    >
    > <TABLE width=100% align="left" border="4"
    rules="all">
    > <tr>
    >
    > <td>
    ID</td>
    > <td>
    Name</td>
    > <td>
    Address</td>
    > <td>
    City</td>
    > <td>
    State</td>
    > <td>
    ZIP Code</td>
    > <td> </td>
    > </tr>
    > <cfoutput query="GetCompanies">
    > <tr>
    >
    > <td>#CompanyID#</td>
    > <td>#CompanyName#</td>
    > <td>#Address#</td>
    > <td>#City#</td>
    > <td>#State#</td>
    > <td>#ZipCode#</td>
    > <td>
    > <a
    href="EmployeeList.cfm?CompanyID=#CompanyID#">Employees</a>
    > <a href="CompanyAddForm.cfm">Add</a>
    > <a
    href="CompanyEditForm.cfm?CompanyID=#CompanyID#">Edit</a>
    > <a
    href="CompanyDeleteForm.cfm?CompanyID=#CompanyID#">Delete</a>
    > </td>
    > </tr>
    > </cfoutput>
    > </TABLE>
    >
    > </body>
    > </html>
    >
    >

  • Every other row (background color)

    I want to keep it simple and in css.  How can I get this to work properly so every other row has a yellowish background color with no gaps between the words.
    This is what I have but its producing an odd result.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
        margin: 0px;
        padding: 0px;
    div#footer{
        height:auto;
        background-color:green;
        clear:both;
        font-size:14px;
        width:800px;
    div#footer ul{
            margin:0;
            padding:0;
            list-style:none;
    div#footer li{
        width:155px;
        display:inline-block;
        text-align:center;
        vertical-align: top;
    /* horizontal line breaks */
    hr {
        border: 0;
        color: #323232;
        background-color: #323232;
        height: 1px;
        width: 95%;
        text-align: center;
    .even {
        background-color: #FF9;
    </style>
    </head>
    <body>
    <div id="footer">
            <ul>
            <li class="even">01/15/2011</li>
            <li class="even">Broadway Brewhouse</li>
            <li class="even">New Phila, OH</li>
            <li class="even">10pm</li>
            <li class="even">330-343-9231</li>
            <hr />
            <li>06/11/2011</li> <li>Edelwiess Inn</li> <li>Sugarcreek, OH</li> <li>10pm</li> <li>330-852-3750</li>    
            <hr />
            <li class="even">04/09/2011</li>
            <li class="even">Uhrichsville Moose Lodge (Open to the Public)</li>
            <li class="even">Uhrichsville, OH</li>
            <li class="even">TBD</li>
            <li class="even">740-922-9098</li>
            <hr />
            <li>01/15/2011</li> <li>Broadway Brewhouse</li> <li>New Phila, OH</li> <li>10pm</li> <li>330-343-9231</li>   
            </ul>
    </div>
    </body>
    </html>

    To create coloured backgrounds to every other row use this.
    #averages tr:nth-of-type(odd) {
      background-color:#ccc;
    Substitute the id of your table for mine and change the colour code to suit.

  • Does anyone knows how to highlight every other row in numbers mac

    Does anyone knows how to highlight every other row in numbers and are there any good tutorials out there???

    Hi Lee,
    Select a non-header cell in the table.
    Open the Inspector and choose the Table Inspector.
    Click to check the 'Alternating Row Color' box in the Cell Background section.
    Click the Color well beside the check box to open the Color pane.
    Choose a colour.
    The alternating colours are applied only to the non-header rows and non-header columns in your table.
    Regards,
    Barry

  • Query output skipping every other row

    I am using Coldfusion MX 7.0.1, and have two applications
    using the same datasource. In one, a SELECT query followed by a
    cfoutput lists all rows properly, but the following code (in the
    other app) only lists every other row of the query result set, for
    some reason:
    <cfselect name="Record_Group" multiple="no" size="4"
    required="yes" message="Select a Record Group...">
    <cfoutput query="RecordGroupQ">
    <cfif
    compare(#RecordGroupQ.RecordNum#,#Edit_origQ.acc_num#) eq 0>
    <option value="#RecordGroupQ.RecordNum#"
    selected>#RecordGroupQ.RecordNum#</option>
    <cfelse>
    <option
    value="#RecordGroupQ.RecordNum#">#RecordGroupQ.RecordNum#</option>
    </cfif>
    </cfoutput>
    </cfselect>
    The query is in the <head>, and is:
    <cfquery name="RecordGroupQ" datasource="arch_card">
    SELECT RecordNum FROM RecordGroups ORDER BY RecordNum ASC;
    </cfquery>
    Has anyone seen anything like this before?
    Thanks,
    Jason

    Dan Bracuk wrote:
    > As an aside, you don't want semi-colons in cfqueries.
    that's interesting... why is that so? i have been wondering
    about
    semi-colons lately myself, but could not find a definite
    explanation/rule/guide/best practice on whether to use them
    or not...
    could you please explain, Dan?
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Looping through text files loads all 2014 files correctly, but 2013 files only loads every other row

    Hello all. I am once again stumped and would very much appreciate any help.
    I have a folder with many text files such as this...
    A 2013-03-31.txt
    A 2013-06-30.txt
    A 2013-09-30.txt
    A 2013-12-31.txt
    A 2014-03-31.txt
    A 2014-06-30.txt
    A 2014-09-30.txt
    B 2013-03-31.txt
    B 2013-06-30.txt
    B 2013-09-30.txt
    B 2013-12-31.txt
    B 2014-03-31.txt
    B 2014-06-30.txt
    B 2014-09-30.txt
    …and so on…
    and I'm loading all of the files beginning with A to an existing table in SQL Server. I'm loading the data as is to a staging table, no data type conversions, and I add only two derived columns. I have a loop to accomplish this, and it's working perfectly
    except for one detail. All of the files in 2013 load every other row. All of the 2014 files load all rows as intended.
    Any idea what would cause this? All files are being loaded using the same loop, same variables, same everything. My enumerator on the for each loop is Foreach File. The DataRowsToSkip property on the flat file connection manager is 0. I'm not sure where
    to look next. I need all rows in all files to be loaded.
    Forgot to mention that there is a difference between the 2013 and 2014 files. The 2014 files have 8 additional columns. I suspect this is causing my issue, just not sure what to do about it.
    Thanks for any help you can provide!
    WeeLass

    In SSIS 2012 and above these additional columns would not cause a failure, but looks like lead to you having impartial loads.
    I suggest you create two loops, one for one metadata - files from 2014 and another for 2013 ones.
    Arthur
    MyBlog
    Twitter

  • How to make the shade for every other row?

    Hi,
    i want the rows in my report dispalyed as:
    row1: gray
    row2: white
    row3: gray
    row4: white
    row5: gray
    thanx

    Hello,
    Highlight every alternate row
    Highlight every alternate row
    Regards

  • Script to automate every other row

    I am doing a large pricing catalog. I am linking my customer's Excel files to my InDesign CS4 tables. Every part of the table is formatted with cell styles. The first row has a .25 pt. rule below and the 2nd row has a 1 pt rule and it continues like this throughout the entire table. Some of the text is flush left, some center. I'd like to highlight an entire column, then run a script so this is automated. Is it even possible?
    I've attached a small example of one of my tables in case I haven't explained this well.
    Thank you

    It's certainly possible.
    I am a bit confused why you want to do this column-by-column, since your example appears to have uniform rows.
    var i, r=app.selection[0].cells;
    for (i=1; i<r.length; i+=2) {
        r[i].cells.everyItem().appliedCellStyle="Cell Style 3";
    That was originally written with the "cells" in the first line as "rows" (hence the variable r). But this loops over all the cells in the selection [a column], and applies a cell style (Cell Style 3) for each one that is odd-numbered (where the first cell is zero and thus even). You could modify individual attributes instead of using a style, but that seems inadvisible.
    You do have to watch out for the fact that the upper rule of one cell is the lower rule of another, so the order of applied cell styles can matter in terms of which rule is visible.
    If you want it to operate on entire rows of the selected table, swap out "cells" for "rows" in the first line.
    Hope that's useful. If not, please be more specific in what you would like the script to do.

  • Batch delete every other songs

    Every song has a duplicate listed below it in my itunes library. How can I delete each one without clicking each duplicate, one at a time. Is the a way to program an assigned task to do this automatically, BATCH,so I don't have to do the laborious task of doing each one individually, one at a time? Thanks.

    YOu might try recreating your library and see if that clears it up...
    How to re-create your iTunes Library
    http://docs.info.apple.com/article.html?artnum=93313
    Patrick

  • When using FullRowSelect in a DataGridView, is there a way to not have it unselect every other row if you click on a row that is already selected?

    I want to do this for Dragging and Dropping multiple rows purposes. After the user selects multiple rows they expect to be able to click on one of those rows to start a drag and drop for all of them. Now, I have to tell them when they select the last
    row, they need to keep the mouse button down and then start the drag which nobody is used to.
    Thanks,
    Jim Welch

    I want to do this for Dragging and Dropping multiple rows purposes. After the user selects multiple rows they expect to be able to click on one of those rows to start a drag and drop for all of them. Now, I have to tell them when they select the last
    row, they need to keep the mouse button down and then start the drag which nobody is used to.
    Thanks,
    Jim Welch
    Hello Jim,
    The way you suggested the user is common way to select and drag, where will these selected rows dragged to?
    If possible, you could consider adding a button to move these rows to target control instead of letting user drag and drop manually.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • IPhoto 9.4.1 deleting every other image.

    When I try to delete multiple pictures once at a time using the delete key, the selection skips pictures. For example, if I wanted to delete images 4, 5, 6, 7, 8, 9 , and 10 one image at a time, it would delete 4, 6, 8 and 10. Does anyone know how to fix this?

    Try this:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.

  • Delete from multiple rows elements from Array

    I have an array that contains about 3700 rows, and 4 columns. Every 37 rows a cycle of data begins. I would like to delete the first row of every cycle of data (i.e. row 1, row 38, row 75, row 111, etc -- until I have deleted every 37th row in the entire array). Then if possible I would like to take an average of rows 2 through 37, 39 through 74, 76 through 110, etc...
    Any help would be greatly appreciated.

    > After I modify the arrrays, I am displaying them both in lab view (in
    > multiple different graphs and a table), and then also using active X
    > to transfer the data to Excel (where is will be re-arranged and
    > plotted accordingly).
    >
    > I indeally need to get an average of the points in the array about
    > every 36 rows, and then display this, since I am looking to track the
    > output decay over time. If you have any suggestions as how I might
    > find and average of every x number of rows in an array, and either
    > input these into another array or a table, that would be greatly
    > appreciated.
    >
    I can't see the original post about the data shape, but if you have a 2D
    array, wire it into a For loop. Use i mod 36 equals 0 to select whether
    you
    add the array to the current total in the shift register, or whether
    you divide the total array by 36 and append it to the averages array,
    then overwrite the total to restart the process. If the rows isn't
    doesn't contain an integer multiple of 36 rows, you need to deal with
    the excess data either ignoring or making an average with a different
    denominator. I'd assume you do this outside the loop.
    Greg McKaskle

  • Query results:every other record/row grey and white

    Hello guys,
    query results:every other record/row grey and white
    how would you make every other record/rows a different color
    just like the forums color. Lightest grey and white?
    <cfquery name="Myqueryname"
    datasource="#Request.MainDSN#">
    SELECT
    CompanyID,
    CompanyName,
    Address,
    City,
    State,
    ZipCode,
    Comments
    FROM
    Company
    ORDER BY
    CompanyName ASC
    </cfquery>
    <html>
    <head>
    <title>CF TUTORIALS</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>All CO Listings</h1>
    <table>
    <tr>
    <td><b>ID</b></td>
    <td><b>Name</b></td>
    <td><b>Address</b></td>
    <td><b>City</b></td>
    <td><b>State</b></td>
    <td><b>ZIP Code</b></td>
    <td> </td>
    </tr>
    <cfoutput query="Myqueryname">
    <tr>
    <td>#CompanyID#</td>
    <td>#CompanyName#</td>
    <td>#Address#</td>
    <td>#City#</td>
    <td>#State#</td>
    <td>#ZipCode#</td>
    <td>
    <a href=" ALL Emps.cfm?CompanyID=#CompanyID#">ALL
    Emps</a>
    <a href=" AddCO Form.cfm">AddCO</a>
    <a href="
    Editco.cfm?CompanyID=#CompanyID#">Editco</a>
    <a
    href="CoDeleteForm.cfm?CompanyID=#CompanyID#">Delete</a>
    </td>
    </tr>
    </cfoutput>
    </table>
    </body>
    </html>

    There is a cool tool in Coldfusion called MOD
    This basically calculates the remainder of the row number
    when divided.
    I interpreted its use to something like this, which has
    worked for me.
    <cfoutput query="qry_requestedlist" maxrows="30"
    startrow="1">
    <cfset EvenRow=#CurrentRow# +1>
    <cfif CurrentRow Mod 2 IS 1>
    <tr>
    <th class="grey" CurrentRow#</th>
    <cfelse>
    <th class="white">#CurrentRow#</th>
    <tr>
    </cfif>
    </cfoutput>
    I doubt this is precisely what you want but this is the sort
    of thing.

  • How can I sum every other column in the same row?

    I have, for each employee, two columns: Planned and Worked.
    I would like to sum the values in each Planned column. There are 25 employees, each with their own Planned and Worked columns, on the same row.
    How can I do a SUM of every other column, starting with Planned?
    Thank you.

    Thank you, Yellowbox!
    The exact formula didn't work; however, it gave me a precise path to follow and come up with this: =SUMIF(E2:BB2,"=Planned",E3:BB3)
    Week
    Ending Date
    Planned Subtotal
    Worked Subtotal
    Employee1
    Employee2
    Employee3
    Planned
    Worked
    Planned
    Worked
    Planned
    Worked
    1
    01/04/2014
    120
    40
    38
    40
    44
    40
    50
    2
    01/11/2014
    If not for your starting point, I'd have wasted many more hours on this.
    Thanks again!
    BB

  • Unless I repair my hard drive every other day I am unable to delete songs from iTunes or email messages from Postbox. I've only had an iMac for a few weeks, is this normal?

    Unless I repair my hard drive every other day I am unable to delete songs from iTunes or email messages from Postbox. I've only had an iMac for a few weeks, is this normal?

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR..; sudo chown -R $UID:staff ~ $_; sudo chmod -R u+rwX ~ $_; chmod -R -N ~ $_; } 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take a few minutes to run, or perhaps longer if you have literally millions of files in your home folder. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if it frightens you, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password dialog will open. You’re not going to reset a password.
    In the dialog, select the startup volume ("Macintosh HD," unless you gave it a different name) if it's not already selected.
    Select your username from the menu labeled Select the user account if it's not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

Maybe you are looking for