This formula uses structured references to feed table ranges into the SUMIFS function.
The sum range is provided as Table1[Total], the criteria range is provided as Table1[Item], and criteria comes from values in column I.
The formula in I5 is:
which resolves to:
The SUMIFS function returns 288, the sum values in the Total column where the value in the Item column is "Shorts".