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 5564 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello everyone,

I need to make a calculation that return a value based on a percentage.

IE: if percentage is

0%-10% the calc would return a "1"

11%-20& the calc would return a "2"

21%-30% the calc would return a "3"

31%-40% the calc would return a "4"

41%-100% the calc would return a "5"

Can some one show me how to right this -- maybe a case function?

Thank you,

Joseph

Posted (edited)

Hi Joseph, you might try calculation, result is number with:

Case (

Percent > 40 ; 5 ;

Ceiling ( Percent / 10 )

)

or ...

Case (

Percent ≤ 10 ; 1 ;

Percent ≤ 20 ; 2 ;

Percent ≤ 30 ; 3 ;

Percent ≤ 40 ; 4 ;

5 )

Edited by Guest
Added alternate calc

This topic is 5564 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.