You could use a formula like
=SUBSTITUTE(UPPER(B4),"B",$A4)
if you want "B" and "b" replaced if you only want "B" replaced
=SUBSTITUTE(B4,"B",$A4)
copy across five columns, then down, once done you can copy and paste
special as values and replace the old table
--
Regards,
Peo Sjoblom
(No private emails please)