Originally Posted by
RodneyW
Now I need to have a total of UNIQUE entries in Column B where Column E=1.
As RC mentions - if you're using XL2007 as implied by profile you can make use of COUNTIFS - in this particular context along lines of:
=SUMPRODUCT((($E$4:$E$73=1)*($B$4:$B$73<>""))/COUNTIFS($B$4:$B$73,$B$4:$B$73&"",$E$4:$E$73,$E$4:$E$73&""))
If you prefer to avoid COUNTIFS for sake of backwards compatibility you can use either of the below
=SUMPRODUCT(($E$4:$E$73=1)*($B$4:$B$73<>"")*(MATCH($B$4:$B$73&"",$B$4:$B73&"",0)=(ROW($B$4:$B$73)-ROW($B$4)+1)))
confirmed with Enter
=SUM(IF(FREQUENCY(IF(($E$4:$E$73=1)*($B$4:$B$73<>""),MATCH($B$4:$B$73,$B$4:$B$73,0)),ROW($B$4:$B$73)-ROW($B$4)+1)>0,1))
confirmed with CTRL + SHIFT + ENTER (enter alone will not suffice)
Bookmarks