You can do it with a formula. Put this in D2 and copy down

=IF(SUMIF($A$2:$A2,$A2,$B$2:$B2)>100,"N/A",SUMIF($A$2:$A2,$A2,$B$2:$B2))