---
schema_version: "1"
id: 66123493733a77a20d5c01d423e4525caf2c830f7711dc87c99cd5dcb1793d76
title: Matching Rule Examples
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/matching_rule_matching_examples.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.matching_rule_matching_examples.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5f00397aa04ec7397a4e4f2c441c9962f550aef60ebb6c7d50c0ae7705f90499
description: Review these examples to understand how records are compared and evaluated as duplicates.
products:
  - Sales
  - Sales Enablement
release: "264"
---
# Matching Rule Examples

Review these examples to understand how records are compared and evaluated as duplicates.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience and Salesforce Classic</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Essentials</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

![Custom Lead Matching Rule with Fuzzy Matching Methods](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-data_quality-264-0-0-production-enus/abf88105-66d5-422e-983e-0592556338d7/images/icon_example.png)

Custom Lead Matching Rule with Fuzzy Matching Methods <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="Matching Criteria">
            <caption>Matching Criteria</caption>
            <colgroup>
              <col style="width:5.5279159756771685%">
              <col style="width:46.32393587617468%">
              <col style="width:48.148148148148145%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e87">&nbsp;</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e89">Field</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e92">Matching Method</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e87 ">1</td>

                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e89 ">
                  <samp class="parmname">Company</samp>
                </td>

                <td data-label="Matching Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e92 ">
                  <kbd>Fuzzy: Company Name</kbd>
                </td>

              </tr>
              <tr class="">
                <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e87 ">2</td>

                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e89 ">
                  <samp class="parmname">Email</samp>
                </td>

                <td data-label="Matching Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e92 ">
                  <kbd>Exact</kbd>
                </td>

              </tr>
              <tr class="">
                <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e87 ">3</td>

                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e89 ">
                  <samp class="parmname">Phone</samp>
                </td>

                <td data-label="Matching Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e92 ">
                  <kbd>Fuzzy: Phone</kbd>
                </td>

              </tr>
              <tr class="">
                <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e87 ">&nbsp;</td>

                <td data-label="Field" class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d9199e89 d9199e92 ">Matching equation is
                  (<samp class="parmname">Company</samp> OR <samp class="parmname">Email</samp>) AND
                  (<samp class="parmname">Phone</samp>)</td>

              </tr>
            </tbody>
          </table>

Based on these matching criteria, here’s how matching works.

1. Match key values are generated for existing leads. Based on the matching equation and the specified matching methods, two match keys are created. From these keys, match key values are generated. <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="Match Keys">
                <caption>Match Keys</caption>
                <colgroup>
                  <col style="width:29.833333333333336%">
                  <col style="width:16.666666666666664%">
                  <col style="width:36.833333333333336%">
                  <col style="width:16.666666666666664%">
                </colgroup>
                <thead class="slds-text-title_caps ">
                  <tr class="">
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e190">Matching Equation in Standardized Format</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e192">Match Key</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e194">Sample Matching Field Values </th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e196">Sample Match Key Values</th>
                  </tr>
                </thead>
                <tbody>
                  <tr class="">
                    <td data-label="Matching Equation in Standardized Format" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e190 ">(<samp class="parmname">Company</samp> AND
                      <samp class="parmname">Phone</samp>) OR
                    </td>
                    <td data-label="Match Key" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e192 ">Company (2,6) Phone</td>
                    <td data-label="Sample Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e194 ">
                      <p><samp class="parmname">Company</samp> = Elite Sport</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Phone</samp> =
                        415-555-1234</p>
                    </td>
                    <td data-label="Sample Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e196 ">elitesport415555</td>
                  </tr>
                  <tr class="">
                    <td data-label="Matching Equation in Standardized Format" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e190 ">(<samp class="parmname">Email</samp> AND
                      <samp class="parmname">Phone</samp>)
                    </td>
                    <td data-label="Match Key" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e192 ">Email Phone</td>
                    <td data-label="Sample Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e194 ">
                      <p><samp class="parmname">Email</samp> = john.doe@elitesport.com</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Phone</samp> =
                        415-555-1234</p>
                    </td>
                    <td data-label="Sample Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e196 ">john.doe@elitesport.com415555</td>
                  </tr>
                </tbody>
              </table>
2. Match key values for the new record are generated. The values are generated when the new record is saved. <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="New Record">
                <caption>New Record</caption>
                <colgroup>
                  <col style="width:50%">
                  <col style="width:50%">
                </colgroup>
                <thead class="slds-text-title_caps ">
                  <tr class="">
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e252">Matching Field Values</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e254">Match Key Values</th>
                  </tr>
                </thead>
                <tbody>
                  <tr class="">
                    <td data-label="Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e252 ">
                      <p><samp class="parmname">Company</samp> = Elite Sports</p>
                      <p><samp class="parmname">Email</samp> =
                        john.doe@elitesport.com</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Phone</samp> =
                        1-415-555-1234</p>
                    </td>
                    <td data-label="Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e254 ">
                      <p>elitesport415555</p>
                      <p style="margin-bottom:0;">john.doe@elitesport.com415555</p>
                    </td>
                  </tr>
                </tbody>
              </table>
3. Match key values for the new record are compared with values from existing records.<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="Existing Records Compared with New Record">
                <caption>Existing Records Compared with New Record</caption>
                <colgroup>
                  <col style="width:5.704506560182543%">
                  <col style="width:38.3342840844267%">
                  <col style="width:26.12664004563605%">
                  <col style="width:29.834569309754706%">
                </colgroup>
                <thead class="slds-text-title_caps ">
                  <tr class="">
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e287">Record</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e289">Matching Field Values</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e291">Match Key Values</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e293">Match?</th>
                  </tr>
                </thead>
                <tbody>
                  <tr class="">
                    <td data-label="Record" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e287 ">1</td>
                    <td data-label="Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e289 ">
                      <p><samp class="parmname">Company</samp> = Elite
                        Sports</p>
                      <p><samp class="parmname">Email</samp> =
                        john.doe@elitesports.com</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Phone</samp>
                        = 1-415-555-1234</p>
                    </td>
                    <td data-label="Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e291 ">
                      <p>elitesports415555</p>
                      <p style="margin-bottom:0;">john.doe@elitesports.com415555</p>
                    </td>
                    <td data-label="Match?" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e293 ">No. Not considered a duplicate.</td>
                  </tr>
                  <tr class="">
                    <td data-label="Record" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e287 ">2</td>
                    <td data-label="Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e289 ">
                      <p><samp class="parmname">Company</samp> = Elite
                        Sport</p>
                      <p><samp class="parmname">Email</samp> =
                        john.doe@elitesport.com</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Phone</samp>
                        = 1-415-555-1234</p>
                    </td>
                    <td data-label="Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e291 ">
                      <p>elitesport415555</p>
                      <p style="margin-bottom:0;">john.doe@elitesport.com415555</p>
                    </td>
                    <td data-label="Match?" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e293 ">Yes. The first match key values don’t match. However, the
                      second match key values are identical, so the record is
                      considered a potential duplicate. Only one match key value
                      match is needed.</td>
                  </tr>
                </tbody>
              </table>
4. Determine if the new record is a potential duplicate. Does the new record have the same match key value as an existing record?
    - Yes, the new record is considered a potential duplicate. It’s evaluated further using other matching resources, including matching algorithms.
    - No, the new record isn’t considered a duplicate.

![Custom Contact Matching Rule with Exact Matching Methods](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-data_quality-264-0-0-production-enus/abf88105-66d5-422e-983e-0592556338d7/images/icon_example.png)

Custom Contact Matching Rule with Exact Matching Methods <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="Matching Criteria">
            <caption>Matching Criteria</caption>
            <colgroup>
              <col style="width:5.5279159756771685%">
              <col style="width:46.32393587617468%">
              <col style="width:48.148148148148145%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e371">&nbsp;</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e373">Field</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e376">Matching Method</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e371 ">1</td>

                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e373 ">
                  <samp class="parmname">City</samp>
                </td>

                <td data-label="Matching Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e376 ">
                  <kbd>Exact</kbd>
                </td>

              </tr>
              <tr class="">
                <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e371 ">2</td>

                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e373 ">
                  <samp class="parmname">Email</samp>
                </td>

                <td data-label="Matching Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e376 ">
                  <kbd>Exact</kbd>
                </td>

              </tr>
              <tr class="">
                <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e371 ">3</td>

                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e373 ">
                  <samp class="parmname">Phone</samp>
                </td>

                <td data-label="Matching Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e376 ">
                  <kbd>Exact</kbd>
                </td>

              </tr>
              <tr class="">
                <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e371 ">&nbsp;</td>

                <td data-label="Field" class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d9199e373 d9199e376 ">Matching equation is
                  (<samp class="parmname">City</samp> OR <samp class="parmname">Email</samp>) AND
                  (<samp class="parmname">Phone</samp>)</td>

              </tr>
            </tbody>
          </table>

Based on these matching criteria, here’s how matching works.

1. Match key values are generated for existing contacts. Based on the matching equation and the specified matching methods, two match keys are created. From these keys, match key values are generated.<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="Match Key">
                <caption>Match Key</caption>
                <colgroup>
                  <col style="width:29.833333333333336%">
                  <col style="width:16.666666666666664%">
                  <col style="width:36.833333333333336%">
                  <col style="width:16.666666666666664%">
                </colgroup>
                <thead class="slds-text-title_caps ">
                  <tr class="">
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e474">Matching Equation in Standardized Format</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e476">Match Key</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e478">Sample Matching Field Values </th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e480">Sample Match Key Values</th>
                  </tr>
                </thead>
                <tbody>
                  <tr class="">
                    <td data-label="Matching Equation in Standardized Format" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e474 ">(<samp class="parmname">City</samp> AND
                      <samp class="parmname">Email</samp>) OR
                    </td>
                    <td data-label="Match Key" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e476 ">City Email</td>
                    <td data-label="Sample Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e478 ">
                      <p><samp class="parmname">City</samp> = San
                        Francisco</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Email</samp> =
                        john.doe@elitesports.com</p>
                    </td>
                    <td data-label="Sample Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e480 ">sanfranciscojohn.doe@elitesports.com</td>
                  </tr>
                  <tr class="">
                    <td data-label="Matching Equation in Standardized Format" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e474 ">(<samp class="parmname">City</samp> AND
                      <samp class="parmname">Phone</samp>)
                    </td>
                    <td data-label="Match Key" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e476 ">City Phone</td>
                    <td data-label="Sample Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e478 ">
                      <p><samp class="parmname">City</samp> = San
                        Francisco</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Phone</samp> =
                        415-555-1234</p>
                    </td>
                    <td data-label="Sample Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e480 ">sanfrancisco4155551234</td>
                  </tr>
                </tbody>
              </table>
2. Match key values for the new record are generated. The values are generated when the new record is saved. <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="New Record">
                <caption>New Record</caption>
                <colgroup>
                  <col style="width:50%">
                  <col style="width:50%">
                </colgroup>
                <thead class="slds-text-title_caps ">
                  <tr class="">
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e536">Matching Field Values</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e538">Match Key Values</th>
                  </tr>
                </thead>
                <tbody>
                  <tr class="">
                    <td data-label="Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e536 ">
                      <p><samp class="parmname">City</samp> = San
                        Francisco</p>
                      <p><samp class="parmname">Email</samp> =
                        john.doe@elitesports.com</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Phone</samp>
                        = 415-555-1234</p>
                    </td>
                    <td data-label="Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e538 ">
                      <p>sanfranciscojohn.doe@elitesports.com</p>
                      <p style="margin-bottom:0;">sanfrancisco4155551234</p>
                    </td>
                  </tr>
                </tbody>
              </table>
3. Match key values for the new record are compared with values from existing records.<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="Existing Records Compared with New Record">
                <caption>Existing Records Compared with New Record</caption>
                <colgroup>
                  <col style="width:5.704506560182543%">
                  <col style="width:38.3342840844267%">
                  <col style="width:26.12664004563605%">
                  <col style="width:29.834569309754706%">
                </colgroup>
                <thead class="slds-text-title_caps ">
                  <tr class="">
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e571">Record</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e573">Matching Field Values</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e575">Match Key Values</th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d9199e577">Match?</th>
                  </tr>
                </thead>
                <tbody>
                  <tr class="">
                    <td data-label="Record" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e571 ">1</td>
                    <td data-label="Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e573 ">
                      <p><samp class="parmname">City</samp> = San
                        Francisco</p>
                      <p><samp class="parmname">Email</samp> =
                        john.doe@elitesports.com</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Phone</samp>
                        = 1-415-555-1234</p>
                    </td>
                    <td data-label="Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e575 ">sanfranciscojohn.doe@elitesports.comsanfrancisco4155551234</td>
                    <td data-label="Match?" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e577 ">No. Not considered a duplicate.</td>
                  </tr>
                  <tr class="">
                    <td data-label="Record" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e571 ">2</td>
                    <td data-label="Matching Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e573 ">
                      <p><samp class="parmname">City</samp> = San
                        Francisco</p>
                      <p><samp class="parmname">Email</samp> =
                        john.doe@elitesports.com</p>
                      <p style="margin-bottom:0;"><samp class="parmname">Phone</samp>
                        = 1-415-555-1111</p>
                    </td>
                    <td data-label="Match Key Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e575 ">
                      <p>sanfranciscojohn.doe@elitesports.com</p>
                      <p style="margin-bottom:0;">sanfrancisco4155551234</p>
                    </td>
                    <td data-label="Match?" class="slds-cell-wrap" style="vertical-align:top;" headers="d9199e577 ">Yes. The first match key values are identical, so the
                      record is considered a potential duplicate. Only one match
                      key value match is needed.</td>
                  </tr>
                </tbody>
              </table>
4. Determine if the new record is a potential duplicate. Does the new record have the same match key value as an existing record?
    - Yes—The new record is considered a potential duplicate. It’s evaluated further using other matching resources, including matching algorithms.
    - No—The new record is not considered a duplicate.

Although this matching rule is within the field limit, it exceeds the row limit of 10 when written in the standardized format. Therefore, it can’t be saved. Refine the matching rule so that it uses fewer OR operators within groupings.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-data_quality-264-0-0-production-enus/abf88105-66d5-422e-983e-0592556338d7/images/icon_example.png)

Example You get an error that your matching rule uses too many OR operators within groupings. The error is generated because a matching rule has a limit of 10 fields arranged into an equation. When a matching rule is saved, the equation is rewritten into a standardized format that translates the OR statements to AND statements. The standardized format has a limit of 10 rows.

Suppose that your matching rule includes the following equation.

(Field 1 OR Field 2) AND

(Field 3 OR Field 4) AND

(Field 5 OR Field 6) AND

(Field 7 OR Field 8)

It’s rewritten as follows. Although this matching rule is within the field limit, it exceeds the row limit of 10 when written in the standardized format. Therefore, it can’t be saved. Refine the matching rule so that it uses fewer OR operators within groupings.

(Field 1 AND Field 3 AND Field 5 Field AND 7) OR

(Field 1 AND Field 3 AND Field 5 AND Field 8) OR

(Field 1 AND Field 3 AND Field 6 AND Field 7) OR

(Field 1 AND Field 3 AND Field 6 AND Field 8) OR

(Field 1 AND Field 4 AND Field 5 AND Field 7) OR

(Field 1 AND Field 4 AND Field 5 AND Field 8) OR

(Field 1 AND Field 4 AND Field 6 AND Field 7) OR

(Field 1 AND Field 4 AND Field 6 AND Field 8) OR

(Field 2 AND Field 3 AND Field 5 AND Field 7) OR

(Field 2 AND Field 3 AND Field 5 AND Field 8) OR

(Field 2 AND Field 3 AND Field 6 AND Field 7) OR

(Field 2 AND Field 3 AND Field 6 AND Field 8)OR

(Field 2 AND Field 4 AND Field 5 AND Field 7) OR

(Field 2 AND Field 4 AND Field 5 AND Field 8) OR

(Field 2 AND Field 4 AND Field 6 AND Field 7) OR

(Field 2 AND Field 4 AND Field 6 AND Field 8)