Jump to content
Sign in to follow this  
sirtemplar

mulitple IF's

Recommended Posts

is it possible to have multiple if on a calculation field?

here is what i am trying to achieve:

if numfield_01 is less than 100000, result is 1500 if not divide numfield_01 with numfield_03 multiplied by 90% of numfield_04 but if numfield_01 is the maximum/highest value in numfield_01 result must be 10% of numfield_04.

I hope this makes any sense.

thanks ;)

Share this post


Link to post
Share on other sites

You will need to use the case() function which goes something like this

Cas(condition1;result1;condition2;result2;default result)

You can test for as many conditions as you like and give as many results as you like. This function returns the result for the first valid condition unless it does not find any condition to be true in which case it returns the default result

HTH

Phil

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.