Excel Formula to Java in PDF Forms
Hi All,
This is regarding an IF statement in excel to "translate it" in JavaScript for PDF forms.
I know this kind of question has been addressed so many times, however, all of the questions are with only 1 cell, whereas my case is a bit more complex.
This is the excel function as is:
=IF(B12="Ball",IF(C26=1,20,IF(C26=2,30,(C26-2)*5+40)),IF(B12="Rocket",IF(C26=1,10,IF(OR(C26=2,C26=3),15,20))))
As you can see there are multiple dependent cells and I can't seem to make it work in Java.
Note: every cell name is a corresponding field in PDF form.
Your support will be highly appreciated.
Thank you,
Mihai
