Skip to main content

How to Total All Instances of Yes/No Items in a Form on Dashpivot Web

Learn how to count all instances of Yes/No fields in a table and show the total in a summary table in Dashpivot

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

Totaling the instances of Yes and No items means creating a summary table that displays how many times “Yes” and “No” are selected within a form. This formula works for both Default and Prefilled tables and allows you to dynamically track responses as users complete the form.

Prerequisites

Before you begin make sure you have the following:

  • Plan: All Plan Types

  • Permission: Home Folder (Template Library) – Org Controller (or higher); Team Folder – Project Controller (or higher)

  • Skills Required: Dashpivot, Basic Excel or Google Sheets Formula

  • Device Type: computer

  • Subscription: Dashpivot

Step-by-Step Instructions

  1. In the Template Editor, add a Default or Prefilled table as your source table.

  2. Set the relevant cells to a List field and manually enter the options “Yes” and “No” (and “N/A” if required).

  3. Add another Prefilled table to act as your summary table.

  4. In the summary table, change the display cells to Formula fields.

  5. Enter the following formula:

=COUNTIF(Source_Table!Column:Column, "Text")
  1. Replace:

    • Source_Table with your data table name.

    • Column with the column containing the Yes/No values.

    • "Text" with either "Yes" or "No".

Example

If your Default table is named Table1 and the Yes/No values are in Column A:

For Yes:

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

For No:

=COUNTIF(Table1!A:A, "No")
Did this answer your question?