Skip to main content

How to Total Yes/No Selections from a Default Table to Another Table on Dashpivot

Learn how to total Yes and No selections from a default table and display the results in another table using formulas.

Adriana De Souza avatar
Written by Adriana De Souza
Updated this week

Default tables allow users to add unlimited rows but do not support automatic totals. To count how many times “Yes” or “No” is selected in a default table, you can use a second table with formulas to calculate and display the totals. This article explains how to set up that cross-referencing.

Video Walkthrough

Prerequisites

Before you begin make sure you have the following:

  • Dashpivot

  • Permission to edit forms or templates

  • Skills Required:

    • Dashpivot

    • Basic Excel or Google Sheets formula skills

Step-by-Step Instructions

Create the source default table

  1. Open the form template in edit mode.

  2. Add a Default table to the form.

  3. Add a column that captures a Yes/No response.

    • This can be a list field or text field.

    • Using a list field with “Yes” and “No” reduces data entry errors.

  4. Save the table.

Create the summary table

  1. Add a second table to the form.

  2. Set this table as a Prefilled table.

  3. This table will be used to display totals from the default table.

Add a formula field for the total

  1. Select the cell in the prefilled table where the total should appear.

  2. Change the cell type to Formula.

Enter the COUNTIF formula

  1. In the formula field, enter a COUNTIF formula that references the default table column.

    Example:

    =COUNTIF(Table1!B:B,"Yes")

  2. Replace:

    • Table1 with the name of your default table.

    • A:A with the column that contains the Yes/No values.

    • "Yes" with the value you want to count.

Count additional values (optional)

  1. To count “No” values, add another formula cell in the prefilled table.

  2. Enter the same formula, replacing "Yes" with "No".

Example:

=COUNTIF(Table1!B:B,"No")

Test the form

  1. Save the template.

  2. Open the form and add multiple rows to the default table.

  3. Select Yes and No values.

  4. Confirm the totals update correctly in the prefilled table.

Rules

  • COUNTIF formulas are not case sensitive.

  • Default tables do not support built-in totals.

  • Totals must be displayed in a separate table using formulas.

  • Formula cells must be placed in prefilled tables.

Did this answer your question?