=COUNTIFS(A:A,T3,P:P,1) Type into U3 and drag down. I'm not sure if this is compatible with 2003 though. If not:

In Q1:
=IF(P1=1,A1,"") then drag down.

Then in U3:
=COUNTIF(Q:Q,T3)

Note: "1" is used in the formulas which is the same as 100% (0.5 =50%, 1.5 = 150% etc)