Search code examples
excelpivot-tablespreadsheetexcel-pivot

How to filter one column in Excel Pivot table


I am trying to create a tunnel chart using data from Pivot table. However, I can't find a way to set a condition for one column ("Response Received Column). I want the table to count 5 people, and show 3 people responded. If I do the regular filter, I will only show 3 people on the "Name" column.

Pivot Table


Solution

  • Power-pivot solution. can be replicated directly in excel too.

    Adding data to model, create an additional column say positive response with calculation as

    =IF(Table1[response_received]="Yes", 1,0)
    

    enter image description here

    Click pivot table in first menu tab, and get your desired view like this

    enter image description here

    Note that I have used sum instead of count here.