Forum Discussion

Diem_Carpe's avatar
Diem_Carpe
Copper Contributor
May 14, 2021
Solved

Count unique text value with specific text criteria (For excel 2016 version)

Hello All,    I have a case to solve the total no. of food type by respective person as shown below, find out the total no. of food type owned by "Tom" & "Jane" without duplicating the food name. ...
  • HansVogelaar's avatar
    May 14, 2021

    Diem_Carpe 

    In D2 confirmed with Ctrl+Shift+Enter:

     

    =SUM(IF($A$2:$A$16=C2,1/COUNTIFS($A$2:$A$16,C2,$B$2:$B$16,$B$2:$B$16)))

     

    Fill down.

Resources