Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

IF field A is one then XX…

$
0
0

Replies: 0

Hey there!
I am so happy I´ve found your plugin and I finally get my first of two formulas running exactly as I wanted…
Now I am facing an issue that I do not have a clue how to solve…

I have a long formula and if you chose “1” from field A the whole formula to calculate is different to when the user choses “2” drom field A.
For example:

If you chose “1” the formula will be:
prec(fieldname1+(13.7 * fieldname3)+(5 * fieldname2)-(6.8 * fieldname5),2)

But if you chos “2§ the formula will be different in every single step:
prec(fieldname1+(9.6 * fieldname3)+(1,8 * fieldname2)-(4.7 * fieldname5),2)

HOW can I put both formulas into one field…so the calculation will be different depending on what the users choses…?

I hope you guys understand what I am looking for.

Thanks you very much for your help!


Viewing all articles
Browse latest Browse all 512573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>