Hi

You can try this in H9

=SUM(SUMIFS(INDIRECT(H5&"!d4:d100"),INDIRECT(H5&"! b4:b100"),B3,INDIRECT(H5&"!e4:e100"),{"walk","fast walk"}))