Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4570 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a situation as follows.

Ref

FieldA x FieldB = fieldC

I have values which range from 0 to 1000 as Field A

FieldB will calculate if:

values are between 0 to 1 I need to multiply fieldA by 250%

values are between 1 and 30 multiply fieldA by 200%

values are between 30 and 1000 multiply fieldA by 100%

but I can't seem to make this work.

I am not sure how to calculate if a number is bewtween 2 values... as detailed above.

TIA

Posted

Define FieldC as


Let (



[

a = FieldA ;

b = FieldB ;

mp = case ( b <= 1 ; 2.5 ; b <= 30 ; 2 ; b <= 1000 ; 1 )

] ;



a * mp



)

This topic is 4570 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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