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 field problem....

Featured Replies

so, here's what i've got. i need to count any field that contains the number 50 in it. for example, in this column of fields, i would have:

50

100

150

200

250

the result should be 3 in this example. what is the best way of doing this? i have tried to create a calculation field like this:

If ( Recommended Load Bill Count = "*50" ; 1 ; 0 )

then had a summary field count them up for the report...but that's not working. so, how do i get it to find any field CONTAINING 50, not necessarily equal to fifty.

You cannot use wild cards in a calculation. Try =

PatternCount ( Recommended Load Bill Count ; "50" ) > 0

then SUM this field.

Not sure what the purpose is here, though. Should "500" also be counted?

  • Author

that worked perfectly!!!! thank you! i'm going to have to look into that function a bit more.

that's what i love about fmp.....you learn something new every day.

edit: wait....spoke too soon. no, 500 should not count. and the total is off. i just put it on the report and the total is reading 63 when it should read 8. let me look into this a bit more.

Edited by Guest

How about only looking at the last 2 digits?

If ( Right(Recommended Load Bill Count; 2) = "50" ; 1 ; 0 )

  • Author

yup! that's it. and i'm stupid sometimes. the summary wasn't working because for some idiotic reason, my brain lapsed and i made it COUNT, not TOTAL.

blonde moment.

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.