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.

"if" with 3 conditions

Featured Replies

I can't seem to find a reliable calculation for obtaining numerical information for three "true" conditions.

The conditions are this:

if[input date = search date]

and

if[field1 = "nc"]

and

if[field2 = "something"]

then return

the sum of fields 4 + 5

-

Right now I am having to use a script to return these results, but given the fields that the script is working in have 40 repeating cells, I don't think I'm using the cleanest solution.

Any suggestions??

Thanks

Do you mean something like

Case( field1 = "nc" and field2 = "something", field4 + field5 )

?

If all the referenced fields are repeating and the resulting calculation field is repeating, then it should return the appropriate result for each repetition.

  • Author

Not exactly. There is the date factor to add in, that's where the calculation loses its ability to run correctly. There are 3 items that must be 'true' to get the info. Date=date,nc=nc,field2=something.

Do you mean something like

Case( field1 = "nc" and field2 = "something", field4 + field5 )

?

If all the referenced fields are repeating and the resulting calculation field is repeating, then it should return the appropriate result for each repetition.

Oops! What I meant was

Case( inputdate = searchdate and field1 = "nc" and field2 = "something", field4 + field5 )

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.