Function help with corresponding boxes

I have an assignment where I have to add a number to the corresponding box to its left, but it seems really piecemeal to do it one by one. Is there a faster way? (I have to calculate Absolute Deviation)

Ashley,
the "boxes" are called cells.  you can fill cells with a formula by selecting a cell with the formula in it already, the copy the cell.
no select ALL the cells you want to fill and paste .  If you happen to want to fill the cells in a column with the same formula, enter the formula in the first row of the column, then select the cell, then copy.  Now click the column header (the letter at the top) to highlight every cell of that column, paste.

Similar Messages

  • Hi! I am newbie to Reports need help with check boxes

    Hi! I am newbie to Reports need help with check boxes. I am try-in to make a new check boxes that will validate in runtime. I have created two frames and one frame is dummy and other frame has big X line on it with conditions. Is this a right way to create check box! Please help thanks!

    and one frame is dummy and other frame has big X
    line on it with conditions. Is this a right way to
    create check box! Please help thanks!Instead of creating a frame for X, you can create Ractangle and place X in it. Rest is fine.

  • Please help with text boxes

    Can somebody help me wit hmy problem. I have a fom with many tables in it, some cells of the table are text boxes or at least they were when I developed it. Now I need to edit some of the cells and for some reason I cannot do it as the cell is not a text box but became (untitled<draw>) I cannot change its type back to text. Can some one advise what to do whitouh retyping text again in the new cell.
    Many thanks in advance

    You are welcome!
    I have a preference for Javascript (just get in the syntax zone) and use it for most things (except dates).
    As you know:
    this = current object
    rawValue = accesses the value of object
    From an Excel point of view FormCalc is similar and has inbuilt function like sum(), Max(), etc. Syntax is $ for current object and you don't need the rawValue. This is very handy when summing a column in a repeating table. Also FormCalc is excellent for working with time and dates. (not that you can't work around in Javascript, but it is heavier).
    Adobe have a very good reference for FormCalc at http://www.adobe.com/go/learn_lc_formCalc_82 and I would recommend that to you. I think it comes from the LC help file, but is easier to use.
    From a performance point of view, you can either have FormCalc in the calculate event of an object, which looks back at other fields (this will fire each time one of these fields changes). Alternatively you can have the FormCalc in the exit event of a field, which pushes a calculation/value forward to another object.
    Functions are handy if you have a script that you are using several times in a form. You write the script in a "script variable" and then call it in the objects events. HOWEVER, script variables are available in Javascript only.
    One last thing is that if you have a constant (like VAT), then rather than including  "* 0.21" in all of your calculations, use a global variable in the Form / Properties / Variables tab. currentVat = 0.21. Then in your calculations would be "* currentVat.value". If the VAT rate changes then you only have to change it in one location.
    In summary FormCalc is more akin to Excel; just watch the syntax.
    Good luck,
    Niall

  • Help with combo boxes

    I am currently building a site with flash / dreamweaver and
    am attempting to add two or three combo boxe that will display data
    and pictures from a database. Any ideas or assistance would be much
    appreciated...
    Many thanks in advance

    Sunil,
    I'm attempting to use the data binding technique but I'm perhaps not understanding exactly where this should go.  For now I'm fine with having a static array that just lives locally on the page.   Each of my combo boxes are being populated using the
         mx:Array --> mx:Object logic. 
    I need to fire off an event to a function that is able to determine which selection(s) from the combination of the two combo boxes were chooses.  I'm accomplishing that by using selectedIndex property of the combo boxes id.  I then have 'n' number of unique Array Collections that are basically a three dimensional array containing the numeric percentage that I need to display graphically.  I need my function to be able to choose the appropriate Collection based on the combination of selected index(es) and then update my column chart accordingly. 
    My other confusion is how to do use my data binding at the chart level.  So my page is really nothing more than two combo boxes and chart that I need to change dynamically as the selections in the combo boxes changes.  Eventually I will use a webservice to connect to a .jsp page that is using DAO to retrieve the values from the database but right now I'm fine with fetching them locally just so I'll know I'm on the right track. 
    If it would help I can include the snippet of the code that I'm working on.
    Thanks for your help
    -->Nash

  • Need help with IE6 box drop problem DW CS4

    Having a problem with this page: http://www.recoverings.com/tarzan.html in IE6. Maincontent drops below the sidebar menu. Looks fine in FF, Safari, IE7.
    All other pages work well. I assume that this has something to do with the width of the .wrapnail and .thumbnail divs, but reducing the margins doesn't seem to help and the images start to get too close together. What am I missing here?
    Can someone help me solve this?
    I would also appreciate any suggestions on cleaning up my CSS. Seems like I have an awful lot of stuff in there. Maybe it's okay but could it be cleaner?
    Thanks for your help,
    Phil

    IE bug Float Drop is fairly common.  Make sure your page wrapper division is wider than the combined width of left sidebar + main content + left & right borders if any.  If that doesn't help, add an overflow: hidden rule to your floated container and make sure you have cleared both floats.
    More about float drop and the expanding box problem can be found here:
    http://www.positioniseverything.net/explorer/expandingboxbug.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Help with CSS Box

    I am reading Dreamweaver CS3 Visual Quickstart Guide. Every
    time I want to preview my page in a browser I have to save the
    document. Is it possible to preview without saving? Can I design my
    layout using CSS before I use CSS to design my type styles. I want
    to create a box using CSS. Can I design my page and menus etc and
    then add my text later?
    I want to learn how to create a white box on a grey
    background with round corners and a drop shadow. How would I do
    this using the Dreamweaver interface in "Design" view and then how
    to do in "Code" view?
    Thankyou

    If someone could help me I would really appreciate it!

  • Help with Combo Box Component

    I am creating an application with comboboxes and using action
    script to load them. I can figure out how to change text color of
    the choices in the combo box, but can anyone tell if it is possible
    to make the text choices appear as different colors. For instance
    if I wanted all of the choices to be black text, but for the third
    choice down to appear red.
    Thanks for the help.

    You can set the backgroubd color if that helps.
    To set the second item to have a red background, attach this
    to the combobox:
    on(open){
    dropdown.setPropertiesAt(1,{backgroundColor:0xFF0000})
    }

  • Help with Dropdown box autopopulating text

    I have created a dropdown box and set-it up with scripting to populate text fields based upon selection. The problem that I am having is when you make your selection it does not automatically update the text box. I have to click on another form field once I make a selection, then click on the text in the dropdown box. This will then result in the text fields auto populating. Could you please help, so that these extra steps will not need to be taken. Below is the coding that I used.
    var f = event.target;
    if (f.value == "Blank")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "";}
    if (f.value == "Aetna")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "90791 - Diagnostic Evaluation";
    this.getField("InsuranceCodes2").value ="90832/ 90834/ 90837 - Psychotherapy";
    this.getField("InsuranceCodes3").value ="90846 - Family Psychotherapy w/o Patient";
    this.getField("InsuranceCodes4").value ="90847 - Family Psychotherapy w/ Patient";
    this.getField("InsuranceCodes5").value ="96101 - Psychological Testing";
    this.getField("InsuranceCodes6").value ="96103 - Computer Testing";
    this.getField("InsuranceCodes7").value ="";
    this.getField("InsuranceCodes8").value ="";
    this.getField("InsuranceCodes9").value ="";}
    if (f.value == "Anthem BC")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "90791 - Diagnostic Evaluation";
    this.getField("InsuranceCodes2").value ="90832/ 90834/ 90837 - Psychotherapy";
    this.getField("InsuranceCodes3").value ="90846 - Family Psychotherapy w/o Patient";
    this.getField("InsuranceCodes4").value ="90847 - Family Psychotherapy w/ Patient";
    this.getField("InsuranceCodes5").value ="96101 - Psychological Testing";
    this.getField("InsuranceCodes6").value ="96103 - Computer Testing";
    this.getField("InsuranceCodes7").value ="";
    this.getField("InsuranceCodes8").value ="";
    this.getField("InsuranceCodes9").value ="";}

    I did move the coding to validation script and deleted it from the actions. I clicked also to commit the selected value immediately. However, when I change "event.target" to "event.value" it no longer works. If I do all the steps but leave "event.target" it does autopopluate, but the information is incorrect.

  • Help with Combo box

    I am having problems with displaying items on a combo box.
    The combo box will allow a user to select a fixed list of values for a database column.
    I created the combo box and set the dataItemUsageMode property in the property inspector to "USE FOR UPDATE". The list is bound to the corresponding column of the query RowSetInfo.
    In the code, I hard coded the items to be displayed using comboboxName.addItem(). When I run the form, the list of hard coded values shows up. However, when I select an item, the selected item is not displayed on the screen.
    Could anyone tell me what I am doing wrong?
    null

    I had a problem like this when I inserted a new row into the given Rowset.
    Try setting initial value for the attribute that you are using for update.
    eg. if you have this:
    comboBoxControl1.setDataItemNameForUpdate("infobus:/oracle/sessionInfo1/rowSetInfo1/Status");
    comboBoxControl1.addItem(new String("Silver"));
    comboBoxControl1.addItem(new String("Gold"));
    comboBoxControl1.addItem(new String("Platinum"));
    set the attribute as follows:
    StatusrowSetInfo1.getImmediateAccess().setValue(new String("Silver"));
    or any other way you can set that attribute.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kms98 ():
    I am having problems with displaying items on a combo box.
    The combo box will allow a user to select a fixed list of values for a database column.
    I created the combo box and set the dataItemUsageMode property in the property inspector to "USE FOR UPDATE". The list is bound to the corresponding column of the query RowSetInfo.
    In the code, I hard coded the items to be displayed using comboboxName.addItem(). When I run the form, the list of hard coded values shows up. However, when I select an item, the selected item is not displayed on the screen.
    Could anyone tell me what I am doing wrong? <HR></BLOCKQUOTE>
    null

  • Need Help With Check Box count Script

    Need to count the number of checked boxes. I'm using the script below and its not working. What I'm I doing wrong? It's driving me crazy.
    // document level function to sum named fields
    function Sum(aFieldNames) {
    var sum = 0; // sum of values
    // loop through fields
    for (var i = 0; i < aFieldNames.length; i++) {
    if(!isNaN(this.getField(aFieldNames[i]).value) )
    sum += Number(this.getField(aFieldNames[i]).value);
    return sum;
    } // end of Sum function
    // array of field names sum
    var aCheckBox = new Array('Check Box5', 'Check Box8', 'Check Box11', 'Check Box16', 'Check Box19','Check Box22', 'Check Box25','Check Box28', 'Check Box31', 'Check Box34','Check Box37', 'Check Box40','Check Box43', 'Check Box46', 'Check Box49','Check Box52', 'Check Box55','Check Box58', 'Check Box61', 'Check Box64','Check Box68');
    // sum named fields
    event.value = Sum(aCheckBox);

    Then why are you checking if they're a number by using the isNaN function, and then trying to add that number to the sum variable? It looks like you just copied the code from somewhere else, even though it doesn't apply to your situation.
    Replace those two lines of the code with this:
    if (this.getField(aFieldNames[i]).value!="Off") sum++;

  • Newby would appreciate help with List Box

    HI all,
    In the process of designing a simple form that has a list box containing multiple salary designations.
    For each of those designations eg Accountant, Accounts Payable supervisor, I have specified an item value in the Binding tab which happens to be the salary of the position
    What I would like to happen is that when a selection is made in the list box i.e. operator selects say Accountant, the item value (in this case the salary) populates another field which is used later for costing calculations.
    Help unfortunately is not all that helpfull so would appreciate any assistance you might be able to provide and thanks in anticipation  

    For example to populate a NumericField1 on the form when the selection was made in ListBox1, you need to use some thing like this.
    Place the code in the Exit event of the ListBox. Language is JavaScript.
         NumericField1.rawValue = ListBox1.rawValue;
    rawValue will give the value that was assigned in the Binding tab.
    Hope this helps.
    Thanks
    Srini

  • NEED HELP WITH COMBO BOX

    i am having a heck of a time writing the php and actionscript
    to get a combo box to load a list from a data base. And then once
    that list is loaded into cb_combo1 based on the users selection
    loading the appropriate list into cb_combo2 , so for example
    user is asked to select a state.
    once a state has been selected a list of schools from a
    database is loaded into the cb_combo2 based on the users selection.
    after the user selects the school , he is redirected to
    another URL.
    Let me know if anyone can help. Its for a project in school
    and i could really use the A. and the knowledge. I have been
    googleing for about 7 days now.
    Thanks all :-)
    CH

    The perfect tutorial for you:
    http://www.adobe.com/devnet/flash/articles/flash_xmlphp.html

  • Help with text box rasterization in adobe muse

    When ever I create a text box, add some text , highlight the text and try and create it into a hyperlink, it says that the text requires rasterization and that the hyperlink will not work.
    How do I 'rasterize' the text box which will allow me to convert the text within, into a hyperlink?

    For some reason in the new MUSE it wont let me add an email address for example:
    mailto:[email protected]
    says it is not supported yet?
    Jason

  • Help with caption box question

    Hi all
    I've got a slide where I've said "click here to see where the
    Forward button". When a user clicks the click box over this text I
    want a caption to appear in another area on the screen saying "This
    is the Forward button".
    How do I link the two areas together and set the caption to
    only appear when the click box is clicked?
    Thanks in advanced
    Mary

    Never mind; I'm a complete dumb arse and I just worked out
    what to do.

  • Help With Focus Box In Javascript

    Hi
    Does anyone know how to set focus on a specific object in a web form. For example I have a text box and a submit button. When I click on the button the button gets highlighted . Is it possible to change it . I mean I can choose where I want to get it highlighted.
    Thanks

    What's Javascript??? Here's how to do it in Javaimport java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test extends JFrame {
        JTextField jtf = new JTextField("Some Text");
        JButton jb = new JButton("Press Me!");
        public Test() {
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         Container content = getContentPane();
         content.setLayout(new FlowLayout());
         content.add(jtf);
         content.add(jb);
         jb.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent ae) {
              SwingUtilities.invokeLater(new Runnable() {
                  public void run() {
                   jtf.requestFocus();
         setSize(200,200);
         show();
        public static void main(String[] args) { new Test(); }
    }

Maybe you are looking for