Ben Ball Posted July 16, 2012 Posted July 16, 2012 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
eos Posted July 16, 2012 Posted July 16, 2012 Define FieldC as Let ( [ a = FieldA ; b = FieldB ; mp = case ( b <= 1 ; 2.5 ; b <= 30 ; 2 ; b <= 1000 ; 1 ) ] ; a * mp )
Recommended Posts
This topic is 4852 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 accountSign in
Already have an account? Sign in here.
Sign In Now