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 Statement

Featured Replies

I have a Price field that I would like to auto-calcualte based on which answer is chosen from a dropdown list.

I have a Member field, which is either a Yes or No, chosen from a dropdown list. The Member cost is $35, the Non-Member cost is $40.

I would like the Price field to auto calculate the price based on either the Yes (Member) or No (Non-Member).

I know I start with price= in the formula, but which would be the correct stament to make the choice?

Thanks in advance for your help.

Try:

Your Calculation Field, I'll use Price,

Price (calculation, Result Number) =

Case (Member = "Yes"; 35; 40)

HTH

Lee

Edited by Guest

Prices change from time to time, and it's not a good idea to hard-code them into calculations. Use a lookup instead.

BTW, price must be of type Number, otherwise you won't be able to summarize it.

Oops.

I changed the results to number.

Good point about hard coding the amount.

Lee

  • Author

Thanks, that did the trick.

It is a number field.

These numbers will not be changing. They are set prices for a trip reservation program that I am creating.

Edited by Guest

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.