In the attached, Sheet1 (2), 2 solutions. First make your source data into a proper Excel table, then:
1. Power Query at cell D1. When the data in the source table changes, right-click the green table and choose Refresh.
2. Formula only in cells I2 & J2.