Jump 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.

Featured Replies

I saw this a few weeks ago and cant find it... If i have a calc field and want to show the result as either 0 or >0 but never <0 how would i do this...

do i add the not equal to <0 in the calculation?

my calc is set as text as I like the format better than number.

Edited by Guest

Use the Max() function.

  • Author

I have never used max before how does it look with field 1 - field 2 = never <0

Simple:

Max ( 0 ; Field1 - Field2 )

  • Author

If that states never less than 0 what would never greater than a 100 would look like.

Min ( 100 ; Field1 - Field2 )

  • Author

thank you

  • Author

Is it possible to add a remainder of Min/Max to another field?

Ex:

Field 2 = 1000

cField 3 = Min (Field 2;Field 1 - Field4)

Field 5 = Remainder of calc of field 3 over min (1000) in this case.

Edited by Guest

I think this is what you're going for...

Max (Field 2 ; Field 1 - Field4) - Min (Field 2;Field 1 - Field4)

  • Author

What about the remainder showing up in seperate field.

Doing Max (Field 2 ; Field 1 - Field4) - Min (Field 2;Field 1 - Field4) just gives me the field 4 value.

The calc should never be greater than field 2 but everything over should appear in field 8

Edited by Guest

Could we use more meaningful names here? Like:

Limit = 1000

cDifference = Min ( Limit ; FieldA - FieldB )

cOver = Max ( 0 ; FieldA - FieldB - Limit )

  • Author

That works perfect... thankyou!

  • Author

Actually one more... sorry Can you add a combo of saying never less than 0 and never greater than Field1 in the same calculation?

Of course you can - and I trust by now you should be able to figure it by yourself...

  • Author

case? I have tried putting them together using and reversing them in in way i cant think of.

When I use together I get a result of 1 so that cant be right.. The only other thing I can think of is case but not sure if thats right or if im way off.

I would love to be able to answer this.

Edited by Guest

The general idea:

Min ( Max ( LowerLimit ; n ) ; UpperLimit )

  • Author

I was close... don't worry i wont be a noob for long.. Thank you

  • Author

One more adjustment to this

Min ( Max ( LowerLimit ; n ) ; UpperLimit )

Regarding this calc. What if I have two "upper limits" and want the result never to exceed the lower of the two upper limits. Woudl I use this?

Min ( Max ( LowerLimit ; n ) ; UpperLimit; UpperLimit_2 )

It appears to be working but not sure if I will get errors with it later on due to diff type of values.

It should work the way you have it. You can see it's correct by reducing:

Min ( [color:gray]Max ( LowerLimit ; n ) ; Min ( UpperLimit 1 ; UpperLimit 2 ) )

Min ( a ; Min ( b ; c ) ) = Min ( a ; b ; c )

Create an account or sign in to comment

Important Information

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

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.