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.

Featured Replies

  • Newbies

I have a question regarding creating a formula. I need to create an average formula in one field D. It needs to accommodate the following conditions:

If there is a score in field A, field B and Field C then divide the sum of these three by 3

If there is a score in field A and field B then divide the sum of these by 2

If there is a score in Field B and C then divide the sum of these by 2

If there is a score in Field A and C then divide the sum of these by 2

If there is a score in field A then divide by 1

If there is a score in Field B then divide by 1

If there is a score in Field C then divide by 1

Thank you to anyone out there who can help me with this problem.

Sounds like another job for a Case Statement :-)

This should accomplish what you're trying to do...

Case(

not IsEmpty(Test A) and not IsEmpty(Test : and not IsEmpty(Test C), (Test A + Test B + Test C) / 3,

not IsEmpty(Test A) and not IsEmpty(Test B) and IsEmpty(Test C), (Test A + Test B) / 2,

not IsEmpty(Test A) and IsEmpty(Test B) and not IsEmpty(Test C), (Test A + Test C) / 2,

IsEmpty(Test A) and not IsEmpty(Test B) and not IsEmpty(Test C), (Test B + Test C) / 2,

not IsEmpty(Test A) and IsEmpty(Test B) and IsEmpty(Test C), Test A / 1,

IsEmpty(Test A) and not IsEmpty(Test B) and IsEmpty(Test C), Test B / 1,

IsEmpty(Test A) and IsEmpty(Test B) and not IsEmpty(Test C), Test C / 1, 0)

Hope that's helpful...

Later,

Paul :-)

Or you can create a calc field (call it "Fields"):

If(isEmpty (A), 1, 0) + If(isEmpty (B), 1, 0) + If(isEmpty ©, 1, 0).

Then your final field =

(A+B+C)/Fields

HTH,

Dan

Wups!

That "Fields" calc should be:

If(isEmpty (A), 0, 1) + If(isEmpty (:, 0, 1) + If(isEmpty ©, 0, 1)

Whew!

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.