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.

Quick questions about calculations

Featured Replies

Hi all,

I've got two short questions I've been thinking about recently which I'd like to run past some of you more experienced members.

1) Case(), if more than one case is true, it will display only the first. How would I calculate if I want to show all that are true separated by "/"? e.g Case(3+3 = 6; "A"; 2+4=6; "B") -> "A/B"

2) Is there a way to repeat a "word" based on another field's number/count? e.g. number = 3, text = "word word word"

Thanks!

fmphysio

Edited by Guest

1.


Substitute ( 

List (

Case ( 3 + 3 = 6 ; "A" ) ; 

Case ( 2 + 4 = 6 ; "B" )

) ; ¶ ; "/" )







2.



Substitute ( 10^number - 1 ; "9" ; "word" ) 

This works for up to 404 repeats - for more, see:

http://www.briandunning.com/cf/942

Edited by Guest

  • Author

comment, are you serious??? 9 min response time. That's amazing! Thank you so much.

I'm surprised at how simple the calculations actually are. You're a fm genius!

Thanks!

fmphysio

I am sorry, but I was reading another post and didn't get to yours until later... :)

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.