I have the following function in a worksheet. This is repeated multiple time. It works.
=IF(ISNA(VLOOKUP($C14,'PL 2'!$B$2:$Y$128,5,)),0,VLOOKUP($C14,'PL 2'!$B$2:$Y$128,5,))*R$2
Each column refers to a different sheet, from "PL 1" to "PL 50" at present.
I have tried to make it more general...