Add a different value than 1 when a checkbox is checked to an addition of values

Hi there,
I am getting a litte crazy and I am not sure I am doing the right thing here. I am building a numbers document to follow the grades my students are getting. As you can see in the picture I have two checkboxes in rows Conf 1 and Conf 2, and having any of them checked would add a 0,85 to the final addition instead of 1 per TRUE value. I am trying with COUNTIF function but it always adds me only 1 value. I know there is 3 possible values in this result: 0, 1, 2, but I need them to be 0, 0,85, 1,7.
Anyone know how to do that?
Thanks in advance!!
Kind regards,
Unai

Hi Unai,
Your screen shot does not show.
Wayne Contello has written a User Tip on how to post a screen shot.
https://discussions.apple.com/docs/DOC-6591
If 'Insert Image' is greyed out, close the Insert Box (red cross on the top right) and click on the camera icon again. Camera icon sometimes needs a wake-up call, but works the second time.
Remove any personal details before taking the screen shot.
Regards,
Ian.

Similar Messages

  • How can i set a form to read only when a checkbox it checked?

    How can i set a form to read only when a checkbox it checked?

    Hi,
    If you search the forums for Paul's example LockAllFields. This contains a function in a script object that you can call from the click event of the checkbox.
    Re: Saving Fillable Form as non-fillable PDF
    Good luck,
    Niall
    Assure Dynamics

  • "trigger" when report checkbox is checked

    Hello,
    I have a report with a column defined as a checkbox . Now I want to trigger/process immediately when a checkbox is checked. eg if 2 checkboxes are checked an item has to dissapear.
    CAn anybody help me please?
    Erwin

    You can probably do this easier using forms personalization - pl see ML Doc 279034.1 for details
    HTH
    Srini

  • Change the background of a text field when a checkbox is checked?

    Hi,
    I'm new to Adobe JS, having done some browser scripting previously.
    I'm making a form in which I would like to change the background of a text field to bright yellow (RGB code 220,220,0) when a corresponding checkbox is checked?
    I have a checkbox named chkCD56, with an option value set to 1.
    I have a text field named CD56 with a transparent background.
    Can someone help me with the JS code?
    Thanks.

    Hi
    To make your number filed in Red :
    Right click on the field and go in format field click on Font tab and go in Color formula editor and give the following formula :
    If Sum(fieldValue} < 0 Then CrRed else CrNoColor
    Now go in Style formula editor and give the following :
    if sum() < 0 then Critalic
    This will make your field red and italic when it is less than 0
    Thanks,
    Sastry

  • How to record the time when a checkbox was checked?

    I would like to insert the value of NOW() at the moment when a checkbox is changed from unchecked to checked.
    Having a programming background but now spreadsheet background, I can't find out how to do this seemingly easy thing.

    Hello
    It may appears as a
    • simple task:
    if the checkbox is B2,
    in C2 enter =IF(B2=TRUE,NOW(),"")
    The time will be displayed when you will check the box
    • not so simple
    the time displayed in c2 is a "living" one.
    It will change each time when the sheet will recalculate. So the value will not be accurate.
    Here is a script which will give an accurate result:
    Enregistrer le script en tant qu'Application ou Progiciel : checkandtime.app
    déplacer l'application créée dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Copier le contenu de la cellule "pseudo case à cocher" dans le presse-papiers.
    Sortez de la cellule puis cliquez sur celle-ci
    menu Scripts > checkandtime
    Si vous travaillez avec Mac OS X 10.4.x, le script collera " " ou "X"
    Si vous travaillez avec Mac OS X 10.5.x, le script collera un caractère Unicode coché/pas coché
    S'il colle coché il colle également la date/heure dans la cellule adjacente
    +++++++
    Save the script as an Application or an Application Bundle: checkandtime.app
    Move the newly created application into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Copy the contents of the "fake checkbox" cell in the clipboard
    Exit from the cell then click once in it.
    menu Scripts > checkandtime
    If you work with MacOS X 10.4.x the script will paste " " or "X"
    If you work with MacOS X 10.5.x the script will paste an Unicode character: checked or unchecked
    If it paste checked, it paste also the current date_time in the adjacent cell.
    Yvan KOENIG le 27 mars 2008
    --(SCRIPT checkandtime.app]
    on run
    set theApp to "Numbers"
    try
    set txtDatas to the clipboard as Unicode text
    on error (*
    The clipboard was empty *)
    return
    end try
    log txtDatas
    if txtDatas contains tab then return
    set txtDatas to my applyMask(txtDatas, theApp)
    log txtDatas
    set the clipboard to txtDatas
    my pasteIn(theApp)
    end run
    --=============
    on pasteIn(the_App)
    tell application the_App to activate
    tell application "System Events" to tell (first process whose title is the_App) to keystroke "v" using {command down}
    end pasteIn
    --=============
    on applyMask(t, the_App)
    try
    set v to (system attribute "sys1")
    if (v's class is integer) then
    set v to (v as string) & "." & (system attribute "sys2") & "." & (system attribute "sys3")
    else
    error
    end if
    on error
    set v to (system attribute "sysv")
    set v to ((v div 4096 * 10 + v mod 4096 div 256) as string) & "." & v mod 256 div 16 & "." & v mod 16
    end try
    if v < "
    set faux to " "
    else
    set vrai to character id 9745
    set faux to character id 9723
    end if
    if t is vrai then
    return faux & tab & " "
    else
    return vrai & tab & (current date) as text
    end if
    end applyMask
    --=============
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE jeudi 27 mars 2008 14:32:26)

  • Install different language than OS when MUIs are used.

    I work for a governement department that has all workstations confugured with English Windows Vista Enterprise version but have French MUI installed. But when ADE installs it only installs in English even if they have selected French as their language on their PC.  Is there anyway that we have have the french version of Adobe Digital Edtions installed when the base OS is English but when a users has selected a French as their language setting?

    No, not on Windows.  ADE 1.7 only looks at the base language of the Windows install to determine which language to display.

  • How to call trigger event when the checkbox is checked using custom.pll

    Hi,
    In recipt form i have one checkbox.when i check the box the popup should be open.
    how to check the check box is checked or not.
    any one help.me.
    Regards,
    M.Soundrapandian.

    You can probably do this easier using forms personalization - pl see ML Doc 279034.1 for details
    HTH
    Srini

  • Mutiply textfield by value when checkbox is check

    Hello all,
    I have a fillable PDF Form, built in Adobe Acrobat Pro X, that I am creating as a repair form with charges included in it.
    I know how to have a value filled in a given text field when a checkbox is checked.
    My question is this.  Say I have a textfield labeled as "labor_hrs" that is set to a number format.  What I want to do is to have this box multiplied by a given value of 45.00 populated to the "labor_chrg" text field.  I can get this feature to work on its own.
    What I want to do is only have the value populated to the "labor_chrg" when the checkbox labeled "billable" is checked.
    Any help would be appreciated.

    A quick way is to set the export value of the "billable" check box to 1.
    You can then use the simplified field notation script of:
    (labor_hrs * 45) * billable
    A custom JavaScript calculation:
    function GetField(cName) {
    // return field object with error checking;
    var oField = this.getField(cName);
    if(oField == null) app.alert("Error accessing field " + cName, 0,1);
    return oField;
    } // end GetField function;
    event.value = (isNaN(GetField("billable").value) == false) * GetField("labor_hrs").value * 45;
    If you add a hidden field for labor rate called "labor_rate", then you can use the "Field is the product of the following fields:" and select the "billable", "labor_hrs", and "labor_rate" fields.

  • In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    Thank you so much for your reply . . . but . . . I should have shared my original script with you -- it was a little more complicated than I led you to believer. I was triggering a group of text fields to become disabled as well as gray. Below is the original script so that when the checkbox is checked, it causes several "Co" fields to be disabled and gray.
    // Mouse Up script for check box 
    // If checked, certain fields should be disabled 
    var f_prefix = "Co"; 
    // Get a reference to all of the "Co" fields 
    var f = getField(f_prefix); 
    // Reset the Co fields 
    resetForm([f_prefix]); 
    if (event.target.value === "Off") { 
        // Enable the Co fields 
        f.readonly = false; 
        f.fillColor = color.transparent; 
    } else { 
        // Disable the Co fields 
        f.readonly = true; 
        f.fillColor = color.gray; 
    To recap -- my goal is to get those gray fields to revert to transparent if the form is reset. I'm willing to create my own custom "Reset Form" button but I'm not sure I understand how that would look. Wouldn't it be quite lengthy? I think I'm having a brain freeze -- can't figure it out!

  • How to linking a textfield to another when checkbox is checked.

    HI All
    Can Anybody please help me;)
    I want to do the following: I have to textfileds in a pdf form. Next to the second textfiled is a checkbox. I want to have the second textfiled to be linked to the first one only when the checkbox is checked.
    So when the checkbox is checked, the second textfiled should have the same value as the first textfield. Whe the checkbox is not checked The second textfiled can be overwritten and has its own value.
    This is my try:
    var g = this.getField("checkbox1");
    if(g.isBoxChecked(1))
    var f = this.getField("Text1");
    event.value = f.value;
    Now the if statement doesn´t work. But when i just have this:
    var f = this.getField("Text1");
    event.value = f.value;
    It works fine, and both textfiled s have the same value.
    Can anybody please help me?;)
    I am searching the whole net now for 2 days and haven´t found anything usefull. I also didn´t find anything in the adobe documentations and sample pdf files:(
    Thanks for any hint;)
    cheers dietmar

    Corey,
    Use a combo box with the part number and a switch statement (on blur, and commit immediately) linked to several text fields for the description. Something like this:
    var combo1 = this.getField("Combo Box5").value;
    var endDefault;
    var a = this.getField("Text1")
    var b = this.getField("Text2")
    var c = this.getField("Text3")
    switch (combo1){
    case "Select an address":
    getField("Text1").value = "",
    getField("Text2").value = "",
    getField("Text3").value = "";
    break;
    case "Part #1":
    getField("Text1").value = "Part #1 Description",
    getField("Text2").value = "Line break 1 description",
    getField("Text3").value = "Line break 2 description";
    break;
    case "Part #2":
    getField("Text1").value = "Part #2 Description",
    getField("Text2").value = "Line break 1 description",
    getField("Text3").value = "Line break 2 description";
    break;
    case "Part #3":
    getField("Text1").value = "Part #3 Description",
    getField("Text2").value = "Line break 1 description",
    getField("Text3").value = "Line break 2 description";
    break;
    default:
    endDefault = false;
    if (endDefault = false)
    app.alert("Please select from the drop-down menu",3);

  • How can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

    how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

    Why do the 20 values have to be different? The same code should work even if some are equal.
    What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
    What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
    LabVIEW Champion . Do more with less code and in less time .

  • Why different values in Illustrator/InDesign/PS when converting Pantone to RGB & CMYK?

    I'm starting off with a pantone color in InDesign and trying to determine a close and consistent approximation of RGB, CMYK, and Hex. When I do this conversion in InDesign, I get different results than if I do it in Photoshop or Illustrator. I have all the apps working at the same color management setting (Adobe RGB (1998) and US Web Coated (SWOP) v2). I'm working old school in CS1.
    Here are my results for Pantone 187C:
    InDesign
    Photoshop
    Illustrator
    RGB
    171 x 0 x 34
    153 x 33 x 55
    167 x 37 x 53
    CMYK
    0 x 100 x 79 x 20
    21 x 100 x 81 x 12
    16 x 100 x 86 x 6
    HEX
    992137
    A72535
    I realize that any conversion from Pantone is an approximation, but why do the different applications yeild different results? I'm fairly new to color management and print (I come from the video world), so any efforts to dumb down explanations are appreciated.

    Photoshop's default is to use Lab values when converting from spot colors. So you need to set InDesign and Illustrator to use the same values.
    In Illustrator, from the Swatches panel menu, choose Spot Color Options. Choose Use Lab Values specified by the book manufacturer.
    In InDesign, from the Swatches panel menu, choose Ink Manager. At the bottom, check Use Standard Lab Values for Spots

  • Time values that add up to greater than 24 hours

    Hi Apple SUpport Community,
    I am trying to get a cell in Numbers to return a TIME value when the sum of two time values are greater than 24.
    For example, if a worker has a shift that starts at 8pm and works for 6 hours and 15 minutes, the shift ends at ((20:00+06:15=26:15)-24:00)=02:15am the next day.
    If I formulate a cell in numbers to add to time values, it comes return the nasty red triangle saying "The Formula's arguments can only contain one date value"
    Thanks in advance for any help!
    ST

    a duration can be obtained by subtracting two time values (which are technically the date and the time).  durations are specified as:
    weeks, days, hours, minutes, seconds and milliseconds.
    I do not know what you are trying to figure out...
    - how long did the worker work? or
    - when did the shift end?
    can you state a question (without regard for the solution) so we can assist?  Also a screen shot of what you enter and what you want as output would be helpful.
    All that said you can subtract two times to get a duration.  You can add durations to get another duration.  You cannot add times.  To specify that an entry is a time you enter in the format "0w 0d 30h 14m 22s 0ms"  any of the entries with 0 may be omitted.
    you can add durations in cells by using the "+" or "-" operator
    as in A1-B1
    where A1 contains "3h 45m" and B1 contains "1h 15m"
    the result will be "2h 30m"

  • "Show List of values"  showing different values than "Preview List of values for the same dimension Object

    Hi All, 
    I have a dimension object in Business Layer which is showing a different values than the original database values. When I right click on the object and select "Show List of Values its showing values which are not related to the original values in the database but if I right click on the same object and select "Preview List of Values" it shows the right values present in the database. Any suggestions on how to rectify. It was working good and many reports have been built using that particular dimension.
    Is there any way to fix the problem without the deleting the object or recreating another similar object as the object has been used in several reports, so by deleting or recreating the object may break the reports.
    Please help!

    Hi
    A  list of values is a list that contains the data values associated with an object, Lists of values inserted in the data foundation are inherited by any business layer based on the data foundation.
    Right click on the object and select  “Show Values”… Display all the DB values including null
    Preview List of Values – also display same values...getting differnece meens...Check weather using any Static List of Values.
    If you uncheck the Associated list of values check box "Preview List of Values" options is disabled.
    For best practice …LOV is disabled for un-necessary dimension objects
    Also If you have Db access check the correct data by
    SELECT
    Distinct Schema name. Table/View name. Object name
    FROM
    Schema.name. Table/View name

  • When I select "open a new tab" the tab opens in a different window than the one I'm using. This is release 11.0, and did not happen in 10.0

    When I select "open a new tab" the tab opens in a different window than the one I'm using. This is release 11.0, and did not happen in 10.0

    Hi,
    Please check if '''Open new windows in a new tab instead''' is enabled in '''Tools''' ('''Alt''' + '''T''') > '''Options''' > '''Tabs'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Tabs%20panel Options > Tabs]. If the problem persists, please also check if this happens in a [https://support.mozilla.org/en-US/kb/Managing-profiles new profile]. If the new profile is okay, you can later [https://support.mozilla.org/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile?s=profile&r=1&e=sph&as=s copy the needed personal data] from the old profile. Firefox stores your personal data and settings in [http://kb.mozillazine.org/Profile_folder another location (profile folder)] separate from its [http://kb.mozillazine.org/Installation_directory files/folder]. A new profile would have the default Firefox settings ('''Tools''' ('''Alt''' + '''T''') > [https://support.mozilla.org/en-US/kb/Options%20window '''Options'''], and [http://kb.mozillazine.org/About:config about:config] ), and usually would also be empty of any '''Extensions''' and themes ('''Appearance''') in Tools > Add-ons) and their settings. Also, a new profile would have no previous stored website data/settings etc., ('''Tools''' > [https://support.mozilla.org/en-US/kb/Clear%20Recent%20History '''Clear Recent History''']).
    [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder & Files]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]

Maybe you are looking for

  • Error during login Alert-Configuration

    Hi, I get following error when I try to login alert-configuration. SO does anybody know this error and has a solution? Thanks. Regards Stefan Runtime Error          STRING_BAD_REF Date and Time          29.09.2006 08:58:00 ShrtText A string reference

  • How to add a time stamp to a video edited in Photoshop CC?

    Hello fine ppl of Adobe communities. I was wondering how can you add a time stamp to a video when edited in PS CC, is it possible at all? I dont have premier but I do have PS and LR. Appreciate any help. thanks

  • Help with browser scrollbar!!

    I mean to do a scroll bar like in this Site I have a flash movie set to 100% per 100%. It looks great on 1600 per 1200. at a 768 width ressolution it still works but i nee a scroll bar for the lengh. Any tutorials on this matter? Thanks

  • Set a delay in XI

    Hi all, We need to delay some messages in XI. Is there any way to do that without using a BPM? Thanks

  • Lightroom Mobile web gallery

    In Lightroom Mobile, how can I create a shared web gallery with only my flaged (selected) photos instead of the entire folder of images?