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.

How to calculate a field value

Featured Replies

I am trying to create a formula to calculate square footage.

I have a field to enter the area and a field to identify the local measure via radio button selections: "sq feet", "sq meters", "sq tsubo".

If sq feet is selected = 1 x area; if sq meters = 3.3 x area; if tsubo selected = 35.5 x area.

Thanks

  • Author

I have figured this out using the case function.

You haven't specified what the name of the field is that selects the units... I'll call it units. I'll also assume the area is in a field called area...

Case(units="sq meters", area*3.3,

units="sq tsubo", area*35.5,

area)

This basically says: if the units field has the contents "sq meters" then multiply the area by 3.3, otherwise if the units field has the contents "sq tsubo" then multiply the area by 35.5, otherwise it equal to the area.

Note that the spelling of the units in the field is *very* inportant because the actual text string is used to determine the result.

  • 3 weeks later...

Just a note:

You need to change the conversions in the above calculation to account for square units.

If a meter is 3.3 feet, then the conversion either needs to be done to each measurement ((3.3*length)*(3.3*width)) or substitute the value 10.89 (3.3 squared) into the calculation.

Of course, the second option will only work for rectangular area.

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.