As FDibbins suggested use it like this...

=SUM(SUMIF($E$2:$E$23,{"*Subway*","*Sheetz*"},B2:B23))