This First formula make half of the work:
The result intended to reach in the example is 60, the given formula only works with one column, in this case B, so C and D is missed.
A second formula summarize what is needed in the above one.
These 2 are the closest ways I can reach, can they be mixed?
Code:
=SUMPRODUCT(--ISNUMBER(FIND("X",$A$1:$A$3)),$B$1:$B$3,$E$1:$E$3)

The result intended to reach in the example is 60, the given formula only works with one column, in this case B, so C and D is missed.
A second formula summarize what is needed in the above one.
Code:
=SUMPRODUCT((ISNUMBER(SEARCH("X",$A$1:$A$3)))*($B$1:D3))

These 2 are the closest ways I can reach, can they be mixed?