- andolphonetoAsked on June 22, 2016 at 11:50 AM
- JotForm SupportBDAVIDAnswered on June 22, 2016 at 02:04 PM
We have a widget called Spreadsheet, in which can setup formulas similar to Excel: https://widgets.jotform.com/widget/spreadsheet
Let us know if you need more help.
- andolphonetoAnswered on June 22, 2016 at 05:58 PM
Thank you David, is working very well, except this formula below:
Could you help me to find what parameter is not working in form? I've tested this in excel and works very well there.
- JotForm SupportBDAVIDAnswered on June 22, 2016 at 07:46 PM
Unfortunately, the If function is not supported in the Spreadsheet widget. Let us know if you have more questions.
- andolphonetoAnswered on June 22, 2016 at 09:35 PM
I've took of the "IF" from formula, and know this message came "Invalid left-hand side in assignment"
Do you know what is this?
the formula is now this: e10 =e9<=0,0, e9=h1,0, e9=h2,-e9*f2/100+i2, e9=h3,-e9*f3/100+i3, e9=h4,-e9*f4/100+i4, e9>h4,-e9*f5/100+i5
- JotForm SupportjonathanAnswered on June 23, 2016 at 12:33 AM
I was able to see the error on the form https://www.jotformz.com/form/61734744553662 as well.
it look like the formula you used
e10 =e9<=0,0, e9=h1,0, e9=h2,-e9*f2/100+i2, e9=h3,-e9*f3/100+i3, e9=h4,-e9*f4/100+i4, e9>h4,-e9*f5/100+i5
is not a valid formula in the Spreadsheet widget.
As already mentioned by BDAVID, complex nested formula is not supported by the Spreadsheet widget.
I removed that formula in my test form, and it become fine after.
I am afraid you will have to redo the formula you want to add on the widget and use only very basic calculation formula.
Hope this help. Let us know if you need further assistance.
- andolphonetoAnswered on June 23, 2016 at 07:34 AM
Hi Jonathan, now I've made a very simple formula: e10 -e9*7.5+1713.60
but still doesnt work , do you know what I've made wrong?
Error at A1: Field E10 contains invalid value: "-e9*7.5+1713.60"
- BorisAnswered on June 23, 2016 at 08:51 AM
In order to have your calculations in the spreadsheet performed correctly, please make sure to separate all mathematical symbols with a space before and after the mathematical symbol, so that this:
e10 = -e9 * 7.5 + 1713.60
Otherwise, the spreadsheet will have a hard time understanding where one value ends and another begins. Please also do note that for a value to be calculated, there must be an equals sign after the cell at the start pf the line. For example, this is a calculation:
e10 = -e9
This is not a calculation, but rather regular text instead:
Please let us know should you run into any other issues along the way, and we will be happy to help.