Formula in Forms

Hi
The following Average (Formula row) results were encountered in web forms. I would expect Mar's average to be either 'blank' or '0' and for Q1's average to be 400.
Can someone enlighten me on this? And if #error is the correct answer, where do you fix it to display as 'blank' or '0'?
     Jan     Feb     Mar     Q1
Phone     150     250          400
Rental     150     250          400
Average     150     250     #error     #error

Hi, see #error in formula row of the form sum([1])/2
maybe it helps

Similar Messages

  • Formula in Forms Doc

    I have a form document which was in a pdf I will be changing and using which was from another source.  I have been able to change the pertinent information and save back to a pdf "form" document.  I am having trouble with the formula.  I put in a simple addition formula and save, however, it will not save and the error message I receive says due to a security issue I can't save.  How do I put in formulas?  (This would be one area which should not have changed at all and does not have a formula). 

    Hi, see #error in formula row of the form sum([1])/2
    maybe it helps

  • Use Formule on FORM with REPORT - result stored at table

    Hi all,
    What is the best solution for?
    I have region with FORM WITH REPORT on the same PAGE.
    Values stored at table INFO with column ID, MYDATE, TIME_START_HOUR, TIME_START_MIN, TIME_END_HOUR, TIME_END_MIN, SUM1, SUM2
    ITEMS on the form:
    P1_ID (hidden)
    P1_MYDATE (date picker)
    P1_TIME_START_HOUR (select list)
    P1_TIME_START_MIN (select list)
    P1_TIME_END_HOUR (select list)
    P1_TIME_END_MIN (select list)
    P1_SUM1 (hidden)
    P1_SUM2 (hidden)
    After user fill in MYDATE, TIME_START_HOUR, TIME_START_MIN, TIME_END_HOUR, TIME_END_MIN then I need proces for calculation SUM1 en SUM2. Result stored (one record) at table INFO.
    Report shows all columns. User had possibility to update the record
    Formule:
    Select
    (CASE
    when to_char(mydate,'DY','nls_date_language=dutch') in ('ZA','ZO')
    THEN substr(to_timestamp (mydate||':'||TIME_END_HOUR||':'||TIME_END_MIN ||':00','DD-MM-YY:HH24:MI:SS') -
    to_timestamp (mydate||':'||TIME_START_HOUR||':'||TIME_START_MIN ||':00','DD-MM-YY:HH24:MI:SS') -
    (interval '00 00:00:00' day to second)
    ,12,5)
    ELSE '08:00'
    END) SUM1,
    (CASE
    when to_char(mydate,'DY','nls_date_language=dutch') in ('ZA','ZO')
    THEN substr(to_timestamp (mydate||':'||TIME_END_HOUR||':'||TIME_END_MIN ||':00','DD-MM-YY:HH24:MI:SS') -
    to_timestamp (mydate||':'||TIME_START_HOUR||':'||TIME_START_MIN ||':00','DD-MM-YY:HH24:MI:SS') -
    (interval '00 04:00:00' day to second)
    ,12,5)
    ELSE '04:00'
    END) SUM2
    FROM INFO
    where id=:ID
    What is the best way for the calculation: computation or processes or etc? The calculation after or before user push button(New:create button of Update:Apply Changes)?
    How to fill the answer (SUM1 and SUM2) at table INFO?
    Thanks Walter

    I have something similar I use:
    DECLARE
      str_day      VARCHAR2(10);
      dt_indx      DATE;
      db_dt_indx   VARCHAR2(20);
      str_st_tm    VARCHAR2(20);
      dt_st_tm     DATE;
      db_st_tm     VARCHAR2(20);
      str_ed_tm    VARCHAR2(20);
      dt_ed_tm     DATE;
      db_ed_tm     VARCHAR2(20);
      shft_flag    NUMBER;
    BEGIN
      str_day    := :P1050_DATE_MM || '/' || :P1050_DATE_DD || '/' ||  :P1050_DATE_YYYY;
      dt_indx    := to_date(str_day, 'MM/DD/YYYY');
      db_dt_indx := to_char(dt_indx, 'MM/DD/YYYY');
      str_st_tm  := str_day || ' ' || :P1050_TIME_IN_HH || ':' || :P1050_TIME_IN_MI || ' ' || :P1050_TIME_IN_AM;
      dt_st_tm   := TO_DATE(str_st_tm, 'MM/DD/YYYY HH:MI AM');
      str_ed_tm  := str_day || ' ' || :P1050_TIME_OUT_HH || ':' || :P1050_TIME_OUT_MI || ' ' || :P1050_TIME_OUT_AM;
      dt_ed_tm   := TO_DATE(str_ed_tm, 'MM/DD/YYYY HH:MI AM');
      --Alter date if night shift
      SELECT NVL(:P1050_NIGHT_FLAG,0) into shft_flag from dual;
      IF dt_ed_tm < dt_st_tm THEN
        dt_ed_tm := dt_ed_tm + 1;
      END IF;
      db_st_tm   := to_char(dt_st_tm + shft_flag,'MM/DD/YYYY HH:MI AM');
      db_ed_tm   := to_char(dt_ed_tm + shft_flag,'MM/DD/YYYY HH:MI AM');
    end;You'll need to modify it for your page variables.

  • Formulas in Forms: Errors from Mac to Windows?

    PDF Made in: Acrobat 10 Pro on a 2012 Macbook Air running Mountain Lion
    Attempting to fill form in: Adobe Reader on a 2011 Windows desktop running Windows 7
    A fillable PDF was made with Acrobat 10 Pro on Mountain Lion. The form has a formula involved - it is a budgeting form that adds up columns and rows.
    The formula works fine on several tested Macintosh computers, but on Windows computers the formula is non-existent. Typing into one box will not effect any of the other boxes.
    Any input or solutions for the issue? Or is this just a Windows/Mac problem?

    The issue is that the form does not fill in properly, specifically that the formula in the spreadsheet section of the form does not work.
    It is a budget form with three columns, the first is the original estimate, the second is the new estimate, and the final column automatically calculates the difference between them.
    This part of the form does not work.

  • Formulas inside Forms

    Medellin, agosto 23 de 2010
    Can I include formulas on Adobe Forms.  Haw can i do it?
    Best regards
    L. Vasquez

    Sure you can. To get started, see: http://acrobatusers.com/tutorials/2006/form_calculations

  • Result in formula function SUMCT

    Hi all!!
    I have this issue;
    I have a formula in the query (formula A); this formula is formed for two KF; (they are formulas too); I changed the result of this formula that be sum of the rows; and works fine.
    I created another KF, that is formula too, when I can take the result of the formula A; and repeat the resul in all the rows; I use the function SUMCT; and the result that I have in the rows is the original result of the formula A; no the change to the sum in result.
    Is possible to change this?
    Thanks for the help
    Mónica

    When you make the settng calculate result as Summation in the Formula Properties, they are just for Display purpose and cannot be used for further Calculation.
    I would suggest rather than creating this as a local formula, try by creating them as Calculated Key Figure.

  • How is Form Conversion Rate been calculated

    Can anyone help me understand how the form conversion rate been calculated in the Landing Page Activity for Date Range report in Insight? Trying to figure out the conversion rates been measured in this report, so that we can properly interpret the results from below. Thank you in advance!
    Landing page Activity for Date Range in Insight   
    Landing Page
    Total Visits (by visitor)
    Total Page Views
    Total Visitors
    Average Page Time
    Total Form Submissions
    Form Conversion Rate
    my.learning.com/forms
    381
    422
    375
    0:09:25
    28
    100.00%
    Transition | LP
    18
    28
    17
    0:05:53
    2
    100.00%
    GoCool.html
    17
    18
    14
    0:13:09
    56
    77.78%
    Summer Training 2015 Confirmation | EMAIL
    21
    34
    14
    0:08:15
    22
    57.89%
    events.Training.com/forms/ISContactUs
    27
    57
    25
    0:05:29
    21
    45.65%

    Thanks so much for your detailed reply!
    I checked into "Landing Page Activity for Date Range" report again and accidently hovered over "Form Conversion Rate"; it displayed the formula as "Total Form Submissions / Total Form Views". I added that metric to the report and saved locally. Now the Form Conversion Rate does equal to the calculation of Total Form Submissions / Total Form Views; data copied below. However, that formula is different from the one specified in the "Insight_ReportDetails_Guide", which is "Total Submits / Total Page Views").
    Now, here comes the new questions for your help/ideas/suggestions -
        - How come in our "Landing Page Activity for Date Range", the formula for Form Conversion Rate is different from the one listed in "Insight_ReportDetails_Guide"?
        - Can we change it to use this formula: Total Submits / Total Page Views?
        - Which one indeed is the correct calculation for Form Conversion Rate in "Landing Page Activity for Date Range" report?
    Landing Page
    Total Visits (by visitor)
    Total Page Views
    Total Visitors
    Total Form Views
    Total Form Submissions
    Form Conversion Rate
    Landing Page 1
    5
    6
    5
    6
    0
    0.00%
    Landing Page 2
    58
    86
    56
    3
    3
    100.00%
    Landing Page 3
    14
    15
    13
    15
    2
    13.33%
    Landing Page 4
    16
    17
    16
    0
    0
    0.00%
    Landing Page 5
    66
    144
    55
    143
    1
    0.70%
    Landing Page 6
    21
    47
    20
    45
    1
    2.22%
    Landing Page 7
    24
    25
    13
    25
    6
    24.00%
    Landing Page 8
    12
    13
    12
    13
    3
    23.08%
    Landing Page 9
    31
    37
    27
    6
    6
    100.00%
    Landing Page 10
    24
    33
    21
    31
    4
    12.90%
    Thank you very much!
    Xuan

  • Need billing plan information into formula condition routine

    Hi Experts,
    I am writing a formula condition form routine in VOFM transaction. I need to caluculate a formula according to the business requirement. As part of their business, i need to get the billing plan information like billing plan type and  billing plan rule so that i can get the number of payments
    which i need to use in the formula. Does any of the runtime structures contain this billing information.
    Regards,
    Chitrasen

    Hi Chitrasen,
    When i searched with the *BILLING* in the SE11 data type i have got some relevent structures below
    try to use those.
    FDM_COLL_INVOICE_BILLING_DOC   Billing Document for Invoice
    RVKUSTA1_S_BILLING             Sales Summary: Structure for Billing
    for more you can also search with the same so the you will find most relevent one.
    Thanks!

  • Problems with stacked bar chart in Java SDK and CRDesigner

    Hi @ll,
    I have an issue with the rendering of stacked bar charts through the Java SDK and the CRDesigner. unfortunately, my research in this forum and with the help of aunt google didn't lead to success.
    These are my problems:
    I have a  stacked bar chart which, when datasets/stacks increase in number per bar, displays errors:
    1.)  the single stacks of the bar merge together randomly and form bigger stacks with the sum of the singles. the information of  single stacks gets lost in the bar.
    2.)  the total sum of all singles is bigger than the maximum value on the y-axis displays. thus, the scaling is wrong.
    1.) appears in the CRDesigner as well as in the Java SDK
    2.) only occurs in the Java SDK
    Is there any trick to turn the random merging of slices off?
    Is the false scaling a known issue and is there a bugfix/workaround?
    many thanks for all advice
    Tom

    hi folks,
    i found the answer to the above problems:
    when you specify the recordfields that are responsible for the change to the next stack or bar, the 'stack' fields have to be unique.
    in my case i evaluated durations in msec (as stacks) from different devices (as bars). randomly i had the same durations for one device. what happens is, that CR does not notice a change and accumulates to the first stack with the same duration.
    surprisingly this also seems to derange the axis scaling. fix the problem by simply using an overall unique recordfield like rownum or a formula that forms the current timestamp to text as identifier for the stacking.
    cheers
    .t

  • 3 Condition types to be added

    Hello,
    We have 3 custom condition types defined in pricing procedure. We need to add the values of all these 3 conditions and add into the last (i.e.  3rd condition).
    Basically we want to collect the sum of all 3 conditions into the third condition value.
    How can we use a condition value formula for it?
    STEP  Condition Type  From  To  Subtotal     AltCty
    90       ZTST1                                B
    100     ZTST2                                B
    110     ZTST3                                B              987 ?
    But how can Formula 987 will collect the total of all these 3 conditions ZTST1, ZTST2 and ZTST3 ?
    Thanks to advice,
    Anand

    Hi,
    Good Day,
    Please Try below code in your formula.
    ***form frm_kond_basis_987.
    data : kwert_1 like xkomv-kwert .
    data : it_komv like xkomv occurs 0 with header line.
    refresh it_komv.
    clear it_komv.
    it_komv[] = xkomv[].
    kwert_1 = 0.
    loop at it_komv.
      if it_komv-kschl = 'ZTST1' or  it_komv-kschl = 'ZTST2'
         or  it_komv-kschl = 'ZTST3' .
          kwert_1 = kwert_1 + it_komv-kwert.
      endif.
    endloop.
    xkwert = kwert_1.
    *****endform.
    Best Regards,
    KSK

  • Bringing the nor rebate condition type in rebate credit memo request.

    Dear Gurus,
    Is it possible, to bring the discount condition type say Zxxx(which is not a rebate relevant)
    in the rebate credit memo request.
    In the credit memo request,  while doing price analysis I can see the condition type Zxxx with the message condition record found and manually removed.
    For the condition type I do not check the Delete Indicator.
    I don't know why it is happening..
    Kindly suggest me with your valuable thoughts.
    I need to bring the non-rebate relevant condition types in the rebate credit memo reqquest.
    Thanks & Regards,
    Venkatesh.S.P.

    Hi Gurus.
    Follow my business scenarie:
    This is GAS & OIL  company, in this business, they work with price including taxes, we are now implemented a rebate solution, but the accrual values follow the same business rule, including tax.
    At the moment to create a credit memo request for rappel, the system trasfer only tha rappel condition type with the final settlement value and calculate the tax condition type..
    In the credit memo pricing procedure, I need to split the net value by formula.
    this is my pricing procedure configuration:
    level          Cnd Ty                                         Level                Subto     Form
    15     0     BO02     Price                               
    600     0                  Sales Total                                             B     I     
    710     0     MWIG     tax                                       600     600          G     
    730     0     NTPS     Net Value                                                                       988
    810     0                  Net Value                               730     730     B     4     
    820     0                  tax                                       710     710     B          
    840     0                  T O T A L                               810     830     B     A     
    Formula 988
    FORM FRM_KONDI_WERT_988.
      XKWERT = XWORKI - XWORKG .
      XWORKG = 0.
      PERFORM XKOMV_KBETR_FROM_KWERT USING XKWERT.
    ENDFORM.
    This is my result in the rebate credi memo:
    Header     Net Value     100     usd               
    cnd ty     descrip     Value     curre     quan     um     cond value
    BO02     Rappel     100              USD     1              UN     100-
    MWIG     tax             16,000     %                              16-
    there are our expected result:
    Header     Net Value     84     usd               
    cnd ty     descrip                  Value             curre     quan     um     cond value
    BO02     Rappel                     100               USD     1             UN     100-
                 Total Rappel             100               USD     1             UN     100-
    MWIG     tax                         16,000     %                                              16-
    NTPS     Net Value                  84               USD     1             UN     84-
                    tax                               16               USD     1             UN     16-
                 T O T A L                      100               USD     1             UN     100-
    The problem is , the system never execute the formula 988
    There are a possibility to get this...a user exit, formula..that we can use..
    Please. any information we are appreciate.
    regards

  • Fomula

    I am trying to create a fomula within a form that calculates balance from amount. I thought if I created a procedure it would do the trick but my Pl/sql is so poor that I keep getting error message.
    create or replace procedure calcnewbalance as
    balance;
    amount;
    withdraw;
    deposit;
    begin
    if withdraw
    then balance - amount
    := new balance
    else
    deposit
    then balance + amount
    := newbalance
    end if;
    end;
    can any one help me debug.
    thanks
    Betty

    If you are creating a formula in Forms, then you need a function, not a procedure:
    Function calcnewbalance
      (balance          in number,
       amount           in number,
       transaction_type in varchar2)
      Return number  is
        Balance_out    number;
    begin
      if transaction_type ='WITHDRAW' then
        balance_out := balance - amount;
      elsif transaction_type ='DEPOSIT' then
        balance_out := balance + amount;
      end if;
      Return balance_out;
    end calcnewbalance;

  • How to convert an Excel Formula to a Custom Calculation Script in a Adobe Acrobat 9 Form?

    Hello,
    I am not familiar whatsoever with Javascript and need some help in converting the following Excel Formula so that I can enter it into a Custom Calculation Script in a Adobe PDF Form. Here is the formula:
    =IF(E15<25.01,9.95,IF(E15<50.01,11.95,IF(E15<75.01,13.95,IF(E15<100.01,16.95,IF(E15<150.01 ,19.95,IF(E15<200.01,24.95,IF(E15>200.00,E15*0.125)))))))
    Where "E15" will be the text field named "Subtotal" on my Adobe PDF Form.
    Thank you for any help you can provide!

    Fortunately JavaScript has the 'switch' statement so nested if statements can be avoided.
    var E15 = this.getField("Subtotal").value;
    switch(true) {
    case (E15 < 25.01) :
    event.value = 9.95;
    break;
    case (E15 < 50.01) :
    event.value = 11.95;
    break;
    case (E15 < 75.01) :
    event.value = 13.95;13
    break;
    case (E15 < 100.01) :
    event.value = 16.95;
    break;
    case (E15 < 150.01) :
    event.value = 19.95;
    break;
    case (E15 < 200.01) :
    event.value = 24.95;
    break;
    case (E15 > 200) :
    event.value = E15 * 0.125;
    break;
    default:
    event.value = "";
    break;
    } // end switch;

  • PLEASE HELP: PDF Forms, creating average formula for text?

    Hello,
    I really hope somone can help. I cannot find any answers to my questions on the internet, google etc.
    First time using Acrobat. Im pretty quick learning on compters however the formulas my boss has asked me to do I have no idea if they are possible.
    We have a report form for exams and each section I need to calculate the average mark for that section.
    There are 3 questions for the first section. There are dropdowns for distinction, Merit, Pass and Below pass to select for each questions.
    Please see picture attached to show you what I mean.
    I want to be able to calculate the most selected/average dropdowns selected and not count the N/A's into award1 field?
    The fields must be text and cannot be numbers.
    so for example, track 1 got a distinction, track 2 got a Merit, Track 3 got a distiction. all other fields left n/a
    is there anyway to do this also is there any way to exactly the same as above as check boxes? - please see picture attached
    I appriciate any help. I am working on a mac
    Thanks
    Lauren

    Thank you so much reply
    Yes on the dropdowns the distincion, merit, pass or below pass values are in the correct areas ready for selection. For example on the distiction row you can only drop down for distinction and so on for Merit row dropdowns etc
    Check box is the way I rather do it as its quicker, however I created the dropdown option just incase check boxes average was not possible
    On the check boxes if i select merit for rtack 1 I would just tick the box and leave the the rest of the colum blank with no ticks. So just by seeing the tick I know its in the merit section for Track 1. However I donts know if I can do an average formula for with check boxes.
    If I check boxed/slected distinction for track 1, distnction for track 2 and merit for track 3 (obvisley any box could be ticked depeneding how the exam went so need then all in the script). I would like it to then calculate the avergae mark which would be distinction in the award1 field. While the none ticked boxes or N/A fields not affecting the average.
    This is just the start to a huge form Im doing Im dreading the rest of formulas I have to do lol
    sorry if im confusing you

  • How can I put a mathematically if - formula in a field of a pdf - form?

    Hello together,
    I am absolutely unexperienced with JavaScript.
    I have to implement formulas into a Form.
    In one field I have to add field a and b - but the result should be displayed only, if the result is positiv.
    In the next field the result has to be displayed, when it is negativ.
    this has to be done in about 15 rows and at the end of every row is a resulting field which multiplies the negative or positive number with a price.
    And .. to sum up two more things, I have to add up all numbers which are positive and all numbers which are negative.
    I am quite sure, that this is not really difficult - but it is for me.
    It would be great, If anybody could help me.
    Thanks in advance.
    Klaus

    I understood the situation, but let me give you some more detailed advice. So you set the following setting as the Calculate option for fields 3 AND 4:
    For "Field 3" you use the following as the custom Validation script:
    And for "Field 4" you use this as the custom Validation script:
    The results are:
    You can find the file here:
    https://files.acrobat.com/preview/c00025e0-8bfb-46d7-9ac9-300e87578333

Maybe you are looking for

  • Quoting/threading phenomena in mail.app -- due to problems in incoming messages?

    Folks: Mail 5.1 on MacOS 10.7.x I began using Mail.app when I installed 10.7, shortly after the initial release. No problems with respect to unformatted email or replying to short, trivial length formatted message.  For complex, on-going discussions 

  • Itunes will open upon startup of windows vista 64, but if closed, it will not open and i must restart my computer.

    Itunes will open initially upon start up of windows vista, but if closes, it will not open up again. I have backed up all itune media files, i have uninstalled and reinstalled all apple products needed to operate I tunes according to apple, any sugge

  • Error Message on Startup

    I have installed a mSATA drive that is the C drive and used the original 500MB HD as a data drive. When the computer is booted I get the following message. So far I have not been able to see what this service is and how to resolve the issue. Any idea

  • Running bat files in java code

    Hi, I am trying to run a .bat file within java code like this. Runtime.getRuntime().exec("c:\\Test.bat"); but no success. Could you please suggest how to run .bat file or simply a DOS command from java code. thanx in advance Deepak Garg.

  • Billing without Sales Order

    Hello All, I would like to know, Is it possible to generate a billing document from the system without a sales order or a delivery. If so how can i do that because my client wants to be able to generate an invoice for their customer without having a