Jump to content
Sign in to follow this  
HALBURN

Need caculation to show invoice totals with a defined range

Recommended Posts

I am trying to create a "case" calculation in (FM7) that will return the invoice total if it is within the defined range.

How would I write a formula to show me an invoice total if it is in a range from "$251 to $500"?

Share this post


Link to post
Share on other sites

Is this a trick question, or...? Allright here's a little to choose from:

Case(aNumber>250 and aNumber<501;aNumber)

Case(not(aNumber ≤ 250 or aNumber ≥ 501);aNumber)

Case(aNumber ≤ 250 or aNumber ≥ 501 xor 1;aNumber)

Case(aNumber ≤ 250 or aNumber ≥ 501;Case(0;0);aNumber)

Case(Div ( aNumber-1 ; 250 )=1;aNumber)

--sd

Share this post


Link to post
Share on other sites

Thanks Søren, you have gone over and above the call of duty!

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.