I am trying to sum numbers based on hourly and per line. I want create a summary table below for each line hourly total output.
The formula I have entered in Cell B36 is =SUMIF($E$2:$L$2,"="&B35,INDEX($E$3:$L$9,MATCH($A36,$A$3:$A$9,0),0)) But its showing me 0 instead of 15 for 1st hour, 60 for 2 Hour, 20 for 3 Hour, 45+37 for 4th Hour, and so on.
I would really appreciate if you guys tell me what i did wrong? or what I can do to fix this.

Try:
• Formula used in cell
B36You can also use a single dynamic array formula here as well using
REDUCE()• Formula used in cell
B36