- chrisdotiAsked on May 16, 2017 at 11:51 AM
((#1*#2)*#3/15*(#4/1000)) is my formula. #1=38, #2=58, #3=1.5, #4=100 as my default. 38x58=2204, 100/1000=0.1... so 2204*1.5=3306, 3306/15=220.4, 220.4*0.1= 22.04.
My formula is showing 14.7 as the result and I don't know why. I basically copied & pasted my excel formula and replaced the cell # with #1, #2, #3, etc. and it does not calculate correctly. I almost swear it was working last week when I originally made it because I know I would have tested it before publishing. Please help!Page URL:
- JotForm Supportashwin_dAnswered on May 16, 2017 at 12:58 PM
I did check your form and you have configured your "Sliders with Calculated Result" widget correctly. It does show the calculation value correctly. It seems you have not selected the "Gauge" value and left it as 1.0 and that is the reason why you see the value as 14.7. If you change the value of "Guage" to 1.5, it will display the value correctly. Please check the screenshot below:
Now the reason why you see the value as "22.0" instead of "22.04" is because you have set the "Result Precision" as 1. It is only showing one decimal value. If you change it to 2, it will correctly display the calculation result. Please check the screenshot below:
- chrisdotiAnswered on May 16, 2017 at 02:12 PM
Thank you! However, I did reconfigure my form to default to 1.0 for the gauge rather than 1.5. I finally noticed that it was calculating correctly if you moved the #3 slider to any different number and then back to 1.5. If I left it at the 1.5 default it was calculating it as a 1.0 instead of 1.5.
When I reconfigured to default as 1.0 it fixed it. Thank you!
- JotForm SupportJim_RAnswered on May 16, 2017 at 02:33 PM
Thanks for clearing that up and I'm glad you're all set. If you need more help, just open a new thread so we can assist you 😊