Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Calculation based on Ranges

Featured Replies

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

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

  • Author

Thank you --

Edited by Guest

  • Author

It works great -- Thank you again

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.