Zend certified PHP/Magento developer

Excel: Getting sum total based on date input

Im trying to get the sum total based on the Date input at D3
here is my formula
=SUM(INDIRECT(“Data!”&ADDRESS(MATCH($C5,Data!B:B,0),MATCH($D$3,Data!$1:$1,0))&”:”&ADDRESS(MATCH($C6,Data!B:B,0)-1,MATCH($D$3,Data!$1:$1,0))))

The problem Im facing, in this example, the Data tab is auto pulled from the web and my formula only works if the Date remains on row 1 and the sports remain in column b.

On my actual workbook, the site Im pulling data from, does not allow me to select which part but the whole page, like I normally can with most other sites. The actual data wont fall under these conditions and will in different rows and columns.

Is there another way to do this?

Image 1
Image 2