• Good day

    i just cant get the funtion to calculate all these things together

    can you please assist me with this

    32 + (number_of_pages*10) + (number_of_email_accounts*3) + (how_many_sub_domains_do_you_need*20) + (how_many_extra_mysql_databases*30) + (disk_size_calculated_in_gb*10) + (maintain_your_own_site) + (monthly_changesupdates), IF(number_of_pages>1,-10,+0), IF(number_of_email_accounts=10,-17,+0), IF(number_of_email_accounts=9,-15,+0), IF(number_of_email_accounts=8,-13,+0), IF(number_of_email_accounts=7,-11,+0), IF(number_of_email_accounts=6,-9,+0), IF(number_of_email_accounts=5,-7,+0), IF(number_of_email_accounts=4,-5,+0), IF(number_of_email_accounts=3,-3,+0), IF(number_of_email_accounts=2,-1,+0)

    https://www.ads-software.com/plugins/jazzy-forms/

Viewing 1 replies (of 1 total)
  • Endres from change.lighting

    (@endres-from-changelighting)

    Have you tried going step by step? I had the same problems with similar if-functions, yet resolved them by adding to it piece by piece.

    One pointer though, after monthly_changes, is there an addition? If not, how will the function know what to do withthe next value?

    If you cant get it to work as a complete formula, you can allways calculate it partially and hide the results for the frontend, bit still use them for your further calculations.

    Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘If Statement not funtioning’ is closed to new replies.