Require a similar Form Calculation in my form

  • RogerYelvington01
    Asked on August 5, 2019 at 9:37 AM

    Hi Guys!


    I would like to create a form that can use the calculation below based on this table:

    15650120457E670044 7478 4F2E A005 61ED2A Screenshot 10


    This would be the formula:

    ((Budget * Related %)/ Cost Per Lead)* (Time Frame) = total leads generated


    Example:

    Selected Time Frame: 6 months 

    Monthly Budget Set: $1,550

    Cost Per Lead: $9


    Calculation:

    (($1,550 * 40%) / $9)*(6)= 413 total leads generated


    please advise, thank you!

    Roger

    Jotform Thread 1915967 Screenshot
  • Girish JotForm Support
    Replied on August 5, 2019 at 11:03 AM

    Based on your requirement, you can add an Input table and related fields as shown below.

    15650168190508 11 Screenshot 10

    Unfortunately, we cannot show the value inside the Input table, but you can assign value to each cell.

    15650168770508 12 Screenshot 21

    Then calculate values as shown below.

    Here's a screencast on how I did the calculation:

    1565017338screencast0408 2 Screenshot 32 

    Here is my demo form: https://form.jotform.com/92164500739962

    You can clone it if required - https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Hope this helps.

     

  • RogerYelvington01
    Replied on August 5, 2019 at 11:55 AM

    The only thing is, I need to have it where the client doesn't have to select anything in the table matrix.


    IE:

    Is it possible to have a condition, that if they select a term, and then enter an amount - that the form can make the selection for them in the background - in order to complete the calculation?

  • RogerYelvington01
    Replied on August 5, 2019 at 12:44 PM

    Also, thank you very much for your help!


    This is the form I've started:
    https://form.jotform.com/92164736272965

  • David JotForm Support Manager
    Replied on August 5, 2019 at 2:21 PM

    You would need to perform the calculations based on conditions, assuming that the cost per lead is a fixed price($9), I have created these conditions on this demo form: https://form.jotform.com/92165055659969

    ((budget * percentage)/9)*months

    First set:

    1565028896header Screenshot 10Require a similar Form Calculation in my form Image 21

    1565028602conditions Screenshot 32

    Second set:

    1565028896header Screenshot 10Require a similar Form Calculation in my form Image 54

    1565028679conditions 001 Screenshot 65

    Third set:

    1565028896header Screenshot 10Require a similar Form Calculation in my form Image 87

    1565028721conditions 002 Screenshot 98

    Result:

    1565029243result Screenshot 109

    You may clone my form to check it further: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Let us know if you need more help.