Jump to content

ValueCount with 2 criteria


This topic is 2236 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • 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

Link to comment
Share on other sites

  • 7 years later...

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

Link to comment
Share on other sites

This topic is 2236 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.