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.

ValueCount with 2 criteria

Featured Replies

  • Newbies

Hi

I've got some calculation fields which use the

ValueCount( FilterValues( List( Table::Field1); "ValueToSearch")) calculation to perform an Excel-like CountIf operation, but I'd like to have a calc field which can perform a value count based on the contents of 2 fields to allow some conditionality, ie count where

Table::Field1 = "ValueToSearch" and

Table::Field2 = "AnotherValue"

How is the best method to do this?

Cheers

Nick

AND or OR?

  • 7 years later...
  • Newbies

I have been looking for the same thing for awhile.  In my case, it's AND.

Hi cfmartinez1090 and welcome to the FM Forums,

To perform an AND find, means just putting all of the fields to be searched on one Record Request, Here is the Online help for Find Request. https://fmhelp.filemaker.com/help/16/fmp/en/#page/FMP_Help%2Fspecify-edit-find-requests.html

To perform fore either OR, you use a new request for each of the OR searches. Something like this.

Enter Find Mode

enter your request into Field A 

New Record Request 

enter your request for Field B

Perform Find

HTH

Lee

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.