I'm trying to understand how the offset() , n() , and offset() functions are used here to adjusted the sumproduct range. I've created a table below to show the spreadsheet. The formula in cell D3 is applied across the row
D3=+SUMPRODUCT(N(OFFSET($B$2:C2,,C1-COLUMN($B$2:C2)+2)),$C$6:D6)...