Use the EXACT Function to check exact strings.


=B2&"_"&COUNTIF($B$2:B2,EXACT(B2,UPPER(B2)))