Repeat function in each cell

I would like to repeat a function . I need to multiply the amount of cells 1-30 individually by a factor ..00350
1 345.00*.350
1 258.00*.350

leaseman wrote:
I would like to repeat a function . I need to multiply the amount of cells 1-30 individually by a factor ..00350
1 345.00*.350
1 258.00*.350
It's one of the basic functions of every spreadsheet.
In C2 i entered the formula:
=ROUND(B*0.35,2)
then I selected cell C2 and used the autofill function to fill cells C3 thru C5.
This function is described in the Help as well as in the PDF User Guide.
Numbers offers a more powerful function described as "Applying a Formula Once to Cells in a Column or Row" in the already named resources.
In my table, row 1 is an header one.
In D1 I entered:
=IF(ISBLANK(B),"",ROUND(B*0.35,2))
it applyes to every cells of the column.
The ISBLANK function is used to get a clean aspect in rows where there is no data entered.
Yvan KOENIG (from FRANCE dimanche 9 novembre 2008 19:02:17)

Similar Messages

  • How do i change the cell color of each cell in datagrid dynamically

    I have a  datagrid filled in with data..My job is to change the cell color of a particular cell in the datagrid when the user clicks that cell..Please help me asap..I have to change the color of each cell dynamically..

    Pls find the solution of ur problem.Let me know if you have any issue.
    MainApplicaion.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.events.ListEvent;
                [Bindable]
                  private var listDataArrayCollection:ArrayCollection=
                  new ArrayCollection([
                    {seq:'1',color:'0xFF0000', names:'John'},
                    {seq:'2',color:'0x00FF00', names:'Alex'},
                    {seq:'3',color:'0x0000FF', names:'Peter'},
                    {seq:'4',color:'0xFF0000', names:'Sam'},
                    {seq:'5',color:'0x00FF00', names:'Alis'},
                    {seq:'6',color:'0x0000FF', names:'Robin'},
                    {seq:'7',color:'0xFF0000', names:'Mark'},
                    {seq:'8',color:'0x00FF00', names:'Steave'},
                    {seq:'9',color:'0x0000FF', names:'Fill'},
                    {seq:'10',color:'0xFF0000', names:'Abraham'},
                    {seq:'11',color:'0x00FF00', names:'Hennery'},
                    {seq:'12',color:'0x0000FF', names:'Luis'},
                    {seq:'13',color:'0xFF0000', names:'Herry'},
                    {seq:'14',color:'0x00FF00', names:'Markus'},
                    {seq:'15',color:'0x0000FF', names:'Flip'},
                    {seq:'16',color:'0xFF0000', names:'John_1'},
                    {seq:'17',color:'0x00FF00', names:'Alex_1'},
                    {seq:'18',color:'0x0000FF', names:'Peter_1'},
                    {seq:'19',color:'0xFF0000', names:'Sam_1'},
                    {seq:'20',color:'0x00FF00', names:'Alis_1'},
                    {seq:'21',color:'0x0000FF', names:'Robin_1'},
                    {seq:'22',color:'0xFF0000', names:'Mark_1'},
                    {seq:'23',color:'0x00FF00', names:'Steave_1'},
                    {seq:'24',color:'0x0000FF', names:'Fill_1'},
                    {seq:'25',color:'0xFF0000', names:'Abraham_1'},
                    {seq:'26',color:'0x00FF00', names:'Hennery_1'},
                    {seq:'27',color:'0x0000FF', names:'Luis_1'},
                    {seq:'28',color:'0xFF0000', names:'Herry_1'},
                    {seq:'29',color:'0x00FF00', names:'Markus_1'},
                    {seq:'30',color:'0x0000FF', names:'Flip_2'}
                private function onItemClick(event : ListEvent):void
                    var dataObj : Object = event.itemRenderer.data;
                    dataObj.color = "0xFF00FF";
                    event.itemRenderer.data = dataObj;
            ]]>
        </mx:Script>
        <mx:VBox width="300" height="100%"
            horizontalAlign="center"
            verticalAlign="middle">
            <mx:DataGrid id="listComponent" width="50%"
                     height="100%"
                     borderStyle="none"
                     dataProvider="{listDataArrayCollection}"
                     itemClick="onItemClick(event)">
                     <mx:columns>
                     <mx:DataGridColumn width="100" dataField="{data.seq}" headerText="Seq" itemRenderer="SeqItemRenderer" />
                     <mx:DataGridColumn width="100" dataField="{data.names}" headerText="Name" itemRenderer="NameItemRenderer"/>
                     </mx:columns>
                     </mx:DataGrid>
        </mx:VBox>
    </mx:Application
    NameItemRenderer.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml"
        width="100" height="30" horizontalGap="5" horizontalScrollPolicy="off">
    <mx:Script>
        <![CDATA[
            override public function set data(value:Object):void
                 super.data = value;
        ]]>
    </mx:Script>
            <mx:TextInput width="75" height="30"
                 text="{data.names}"
                 editable="false" backgroundColor="{data.color}"/>
        </mx:HBox>
    SeqItemRenderer.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml"
        width="100" height="30" horizontalGap="5" horizontalScrollPolicy="off">
    <mx:Script>
        <![CDATA[
            override public function set data(value:Object):void
                 super.data = value;
        ]]>
    </mx:Script>
            <mx:TextInput width="75" height="30"
                 text="{data.seq}"
                 editable="false" backgroundColor="{data.color}"/>
        </mx:HBox>
    with Regards,
    Shardul Singh Bartwal

  • Changing scaling factor for each cell in Bex Analyzer

    Hi,
    We have a query with 2 structure (1 structure in rows, 1 in columns). We execute the query with Bex Analyzer in Excel.
    We would like to change the scaling factor for each cell. If we use the function 'Properties' for the active cell (context menu), we can change the scaling factor only for one cell.
    Is it possible to change it for the complete table?
    We use BI 7.0, patch 14.
    Thanks,
    Peter
    Edited by: Péter Egyedi on Jan 25, 2008 5:18 PM

    Have you got the solution for this problem?

  • How to get IAttributeStrand for each Cell in Table

    Hello All,
    I am trying to set the font and size depending upon the user inputs under each cell in the table.
    For Text frame I am able to achieve this by using ITextModel->QueryStrand(). But for Table I am not able to find any function which can allow me to query the Cell Strand and allow to apply the attributes.
    Has anyone been able to achieve the same. If so please do let me know its urgent.
    Thank you all in advance.
    regards
    Farzana.

    Hi,<br /> <br />Thanks for the prompt reply. By the way I forgot to mention that we are using the same in CS3.<br />We tried as you have mentioned in your mail. But we did not find any way to achieve the ITextStoryThread from ICellConent. We tried all possible ways but we always get the Text Frame TextModel.<br />We have used following code to get TextModel for each cell. We get correct startindex and endindex for each cell and also get the valid TextModel Interface. But when we try to find out its length then it returns the whole TextModel length. <br />Thus when we try to apply different attributes for each cell then it applies to whole table. <br />E.g. When we try to apply 12 font size for 1st cell then it also applies to remaining cells.  So we think we are not able to find out correct TextModel for each cell. <br /> <br />Below is our snippet of code on what we tried.<br /> <br />ITableModel::const_iterator iterTable(tableModel->begin());<br />ITableModel::const_iterator end(tableModel->end());<br /> <br />while(iterTable != end) <br />{<br />GridAddress gridAddress = *iterTable; <br />GridID gridid= tableModel->GetGridID(gridAddress);<br /> <br />   InterfacePtr<ITableTextContainer> tableTextContainer(tableModel, UseDefaultIID());<br />   if(tableTextContainer != nil) <br />   {<br />       InterfacePtr<ITextModel> textModel(tableTextContainer->QueryTextModel());<br />       if(textModel != nil) <br />       {<br />          InterfacePtr<ITextStoryThreadDict> textStoryThreadDict(tableModel, UseDefaultIID());<br />          if (textStoryThreadDict != nil) <br />          {<br />              InterfacePtr<ITextStoryThread> textStoryThread(textStoryThreadDict->QueryThread(gridid));<br />              if (textStoryThread != nil)<br />              {<br />                 InterfacePtr<ITextModel> iTextModel(textStoryThread->QueryTextModel());<br />                 if (iTextModel != nil)<br />                 {<br />                      TextIndex startIndx;<br />                      TextIndex endIndx;<br />                      startIndx=textStoryThread->GetTextStart(&endIndx);<br />                 }<br />                 else<br />                     CAlert::ErrorAlert("iTextModel == nil");<br />             }<br />          }<br />       } <br />   }<br />                                     <br />   ++iterTable;    <br /> }<br /><br />Regards,<br />Farzana.

  • BAM : Crosstab : Need to get percentage of row total for each cell

    Hi,
    I am new to BAM. I have a requirement for which I am using crosstab. Basically, I need to show number instances per human task per user. Human Task is the row header, user is the column header, and I am using count(instance id) to fetch the count of instances. I am able to show the sum of values for each row and column, but I also need to show the percentage for each cell(based on row total).
    I do not know if it is possible to fetch the total for further calculations. I believe the calculated field will be processed for each cell, and hence there will be no sum available.
    Also, crosstab does not have a percent of total aggregate function.
    Kindly advise.
    Regards,
    Himanshu

    Hi,
    For constructing summary, COLLECT is very useful.
    1. Create one new internal table STAB having two fields.
       a) licensetype
       b) cnt
    2. Suppose your original internal table is itab.
    Loop at ITAB.
    STAB-licensetype = itab-licensetype.
    STAB-CNT = 1.
    COLLECT STAB.
    EndLoop.
    3. In this way, you will get DISTINCT license types, and their count.
    Hope this helps.
    regards,
    amit m.

  • Repeat Function for Video?

    Just got my ATV. Very cool. With an 8mb connection can watch the trailers in rediculously high quality playing on a 1080i monitor with no waiting. I'm really surprised. This is going to be big.
    I was wondering if I am missing something or if there is no repeat function for video. Like, if you wanted to just have music videos playing in the background like you would music? Or, do you have to physically choose each show?

    Anyone figured out if this is possible? Would be nice for kiosk, roadshow, window display type use if you could:
    1) Set a piece of video content to loop or repeat.
    2) Create a playlist of videos that would play one after the other without human interaction.
    3) Randomly play videos from a playlist of videos without human interaction. (Similar to an audio shuffle function)
    So far, trying a playlist in iTunes with video in it doesn't seem to work. The only place you can get at it in the Apple TV menu is through Music and then it errors saying there's no music in that playlist.
    This would be great for digital signage applications too. You could set up the content you wanted in a particular playlist via iTunes and have the Apple TV sync/stream that particular content without having someone use the remote.
    Doesn't look like there is any of this functionality built in at this point.
    MacBook Pro 2.16 (2 GB RAM, 7200 RPM drive)   Mac OS X (10.4.9)   MacBook 1.83 (1 GB RAM) and Dual G5 (2.5 GHz, 2 GB RAM) also

  • I have a table which shuffles cells, can i add hyperlink to each cell?

    I have a table containing 8 different names. I have a shuffle code which randomly shuffles the cells around within the table. However i want to have a hyperlink to each name in each cell, is this possible?
    I am an amateur at dreamweaver! all help would be greatly appreciated.
    here is my code so far:
    <html>
    <head>
    <!--***************
    CSS section
    ****************-->
    <style type="text/css">
    body {
                 background:white; color:black;
                 font-family:Georgia, Times New Roman, Times, serif;
    .tableItem {
       position: relative;
       background: #ffffdd;
       color: rgb(255,0,0);
       border: 1px solid black;
       font-size : xx-large;
       text-indent: 1em;
       padding-right: 1em;
    </style>
    <!--***************
    Javascript section
    ****************-->
    <script language="javascript">
    var names = new Array();
    var offset = 0;
    var numPlayers = 8;
    var maxShuffle = numPlayers -1;
      names[0] = {id:'Monet', pic:'flower0.png'};
      names[1] = {id:'Renoir', pic:'flower1.png'};
      names[2] = {id:'Manet', pic:'flower1.png'};
      names[3] = {id:'Gaugin', pic:'flower1.png'};
      names[4] = {id:'Cezanne', pic:'flower1.png'};
      names[5] = {id:'Morisot', pic:'flower1.png'};
      names[6] = {id:'Picasso', pic:'flower1.png'};
      names[7] = {id:'Matisse', pic:'flower1.png'};
    function initialise(){
      for (i=0; i<numPlayers; i++) {
         document.getElementById('cell_'+i).innerHTML = "<div class = \"tableItem\">"+names[i].id;
    function changeText(){
      offset++;
      for (i=0; i<maxShuffle; i++) {
         document.getElementById('cell_'+i).innerHTML = "<div class = \"tableItem\">"+names[(offset+i)%maxShuffle].id;
    </script>
    </head>
    <body onLoad="initialise();">
    <p> </p>
    <table width="240" border="0" cellspacing="0" cellpadding="0" >
      <tr>
        <td id="cell_0"><div class = "tableItem">  </div></td>
        <td id="cell_6"><div class = "tableItem">  </div></td>  </tr>
       <tr>
        <td id="cell_1"><div class = "tableItem">  </div></td>
        <td id="cell_5"><div class = "tableItem">  </div></td>  </tr>
        <tr>
        <td id="cell_2"><div class = "tableItem"> </div></td>
        <td id="cell_4"><div class = "tableItem"> </div></td>  </tr>
       <tr>
        <td id="cell_3"><div class = "tableItem">  </div></td>
        <td id="cell_7"><div class = "tableItem"> </div></td>  </tr>
    </table>
    <p> </p>
    <a href="javascript:changeText()">Shuffle</a>
    </body></html>

    Maybe this will help.
    http://alt-web.com/DEMOS/CSS-Clickable-Table-Cells.shtml
    Nancy O.

  • After upgrade Calendar no longer has repeat function

    I have great trouble with Calender and Contact list.   Just upgraded to Maverik.   Seems every upgrade is downer for me.
    Calender gets many duplicates, No longer has Repeat function which makes the calender almost useless for me.
    Cannot use Cloud as I get 3 gb use overnight with no idea for what .  on limited ATT 5 gb hot spot.
    Only have Google Mail.   Does Google cause that?
    Contact list gets up to 5 duplicate entries.  
    Impossible to delete all the duplications unless I spend days, Then they just come back.  
    Long time Apple user getting discouraged with Apple, So many settings and complexity no without Jobs--I miss him.

    You don't see this when creating a new event?
    Contacts – Resolve Duplicates
    Try deleting Google Mail and see if that helps.

  • How to find out each Cell having Data or Not in Excel File by Using WDJ

    Hi Friends,
    I have one doubt on WDJ.
    I have to Upload Excel File. Click on Upload Button in Excel file Data will move to One Bapi. This is I was done. But my Requirement is if any empty Cell in Excel That File not uploaded it display one error message Please upload Correct Excel File
    How to find out each Cell having Data or Not in Excel File by Using WDJ. Please tell me.
    By Using this Code I have Upload Excel File
    InputStream text = null;
         int temp = 0;
         //wdComponentAPI.getMessageManager().reportSuccess("filePath Vijay:::");
         try
                   File file = new File(wdContext.currentContextElement().getResource().getResourceName().toString());     
    FileOutputStream op = new FileOutputStream(file);
                   if (wdContext.currentContextElement().getResource()!= null)
                          text = wdContext.currentContextElement().getResource().read(false);
                             while((temp=text.read())!= -1)
                                  op.write(temp);
                                  op.flush();
                                  op.close();
                                  path = file.getAbsolutePath();
                                  //wdComponentAPI.getMessageManager().reportSuccess("Path Name :::::"+path);
         catch(Exception ex)               
                   ex.printStackTrace();
    But my Requirement is If excel having any Empty Cell that excel file not uploaded.How to do this...
    Regards
    Vijay Kalluri

    Hi my friend
    I would like to share you some APACHE APi´s that i use when i have to read excel files in Web Dynpro.
    JAR = poi-3.2-FINAL-20081019.jar
    Some Example:
    POIFSFileSystem fs;
    HSSFWorkbook wb;
    HSSFSheet sheet;
    String myMexican_ValueFromExcelis = "";
    try {
             fs = new POIFSFileSystem(new FileInputStream();
             // and select the cell "y"
            cell = row.getCell( 0 );
            myMexican_ValueFromExcelis = cell.getCellValue();  
    }cach(Exception e){
    REgargds

  • Purchase Order: Item Details account assignment repeat function

    Dear All,
    When am trying to create a PO, the system always pops to enter cost centre, gl account, unloading point in acct assgnment category . Is there any repeat funcrtion that can be used so that there is no need to enter it evertime we create PO's.
    Thanks in advance

    dear ashwin
         In creation of the po u can use the default settings in the line item, by going to default settings u can select what ever u want to put as permanent after that u can remove this things
    or also use repeat function so that u can ease u r creation of the po.u can do that by going personal setting also
    regards
    Edited by: a s rao on Apr 25, 2008 5:07 AM

  • Why the step-and-repeat function (command+d) isn't working in Illustrator CS5?

    Why the step-and-repeat function (command+d) isn't working in Illustrator CS5?
    I am trying this. Take an object, move it some inches on the right while holding the option key, so I duplicate it.
    Usually, I pressed on command+d to duplicate this action on and on (duplicate the object and moving it some inches away), but now it is not working.
    any idea?

    kwakoo,
    It may be time for the list:
    The following is a general list of things you may try when the issue is not in a specific file, and when it is not caused by issues with opening a file from external media. You may have tried/done some of them already; 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save current artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible), for CS3 - CC you may find the folder here:
    https://helpx.adobe.com/illustrator/kb/preference-file-location-illustrator.html
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall (ticking the box to delete the preferences), run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Music repeats on shuffle when I don't want it to (yes, I checked that repeat function is off)

    So, I've been having a problem with music repeating when I select all of an album or artist to put on shuffle. I like to go to sleep with music playing, so I'll select something that I know should only take one or two hours to finish, but when I wake up in the morning it's still going and will keep shuffling until I manually shut it off. The repeat function is off, and I've checked it repeatedly since this has happened many times. I'll start the shuffle and make sure that repeat is off. Any ideas what's going on and how to fix it? It's just annoying if I'm at home and the phone is docked and charging, but it's really a problem if I'm somewhere that it's not charging and the music just keeps playing for eight hours or more.  It only does this on shuffle, not when I just set it to play an album in order.

    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • How to set the cell size in grid layout where each cell is a panel

    Hi,
    I am using a grid layout where each cell is a panel. Here I want to
    set size of each panel to be equal irrespective of any. But it is not obliging the setSize().
    no of row in grid - 4
    no of columns - 4
    each cell is a panel. each panel has a label.
    panel.setSize(parent.getWidth(), parent.getWidth()/4); // not working. Size is adjusting to the length of the label.
    I want to force the size of the panel to our preferred size.
    Note: In swing we can use JPanel.setPreferredSize(). Unfortunately I cannot use Swing components. Requirement is awt only.
    Any help in this is highly appreciated.
    Thanks
    Kishore

    I observed it is same behavior with gridbag layout. Infact it is gridbag layout only with 4 cells, where first cell should be of constant width (it is base for other cell widths) and other cells are variable (some integer*base width of first cell). I want to set the size of first cell width to be constant.
    Though it is redundant I once again say that it works perfect with setPreferredSize of JComponent.
    But I should not use any swing component/api. This is sytem requirement.
    Any help is appreciated.
    Thanks
    Kishore

  • Report Painter: Separate formula in each cell of a column

    Hi,
    I'm creating a report painter report using GRR1. My 1st column is particulars (which includes revenue & costs) and 2nd column is % to sales. I need a separate formula in each cell of column2 to divide the contents of the respective cell in column1 by sales (the figure in 1 cell) & then multiply it by 100. Is this possible? If yes, then how?
    Regards,
    Sangeeta

    Any suggestions guys????
    Regards,
    Sangeeta

  • What component is placed default in each cell of JTable?

    Hi,
    What component is placed default in each cell of JTable?

    It depends on the content, see How to Use Tables - Concepts: Editors and Renderers for details.

Maybe you are looking for