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.

calculate sum from list of valuelists

Featured Replies

I have a list of options an order can have

each option is a value list with multiple options. (for example: option 1, option 2, option 3)

now i need to make a total of this order (knowing that option 1 is ?40, option 2 is ?20, ... , but the name of the option doesn't include the price).

So i think i need a calculation with "if" "then" commands...

hope this is clear

How many Options are there?

If it is only 3, then you can hard code them into a case statement. I suspect however, that you have more than three, or you will have in the future.

For the three you mention, the case would look like this:

Case(YourValueList = "option 1", "40.00", YourValueList = "option 2","60.00", YourValueList = "option 3", "80.00")

HTH

Lee

smile.gif

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.