See attached for a suggested solution.
I inserted a row between rows 1 and 2 and inserted the actual search codes in there. This new row can be hidden.
I also changed the multiplication factors to actual numerics.
These changes are made so that we can create one formula that can be copied down and across the matrix and have the conditions automatically adjusted as you copy down and over.
So in the new J5 cell enter formula:
This formula needs to be confirmed with CTRL+SHIFT+ENTER not just ENTER and copied down and across to column T.
this should give the desired results.
Now in V2 enter LB and in in V3 the multiplication factor (1 or whatever you choose).
Then in V5 enter:
also confirmed with CTRL+SHIFT+ENTER and copied down.
Bookmarks