David Epstein
New Member
I wrote the array formula below and it works just as needed - counting unique values on the tracking num field.
={SUM(IF((Table1[Division]=$A$1)*(Table1[Phase]=$B$2)*(Table1[Region]=A5)*(Table1[Tracking Num]<>""),1/COUNTIFS(Table1[Division],$A$1,Table1[Phase],$B$2,Table1[Region],A5,Table1[ Tracking Num],"<>",Table1[Tracking Num],Table1[Tracking Num]&"")))}
The "if" defines the 4 conditions. The "countifs" repeats the same 4 conditions. Why do I need the "if" given the "countif" repeats the same conditions?
Thank you,
Dave
={SUM(IF((Table1[Division]=$A$1)*(Table1[Phase]=$B$2)*(Table1[Region]=A5)*(Table1[Tracking Num]<>""),1/COUNTIFS(Table1[Division],$A$1,Table1[Phase],$B$2,Table1[Region],A5,Table1[ Tracking Num],"<>",Table1[Tracking Num],Table1[Tracking Num]&"")))}
The "if" defines the 4 conditions. The "countifs" repeats the same 4 conditions. Why do I need the "if" given the "countif" repeats the same conditions?
Thank you,
Dave