- I want to add the values in a row (K24:AT24 is the sum range), whenever the corresponding cell in the range (K36:AT36 criteria range) is less than the corresponding cell in the range (K48:AT48 criteria).

I.e., if K36<K48 then K24 is included in SUM, if L36<L48 then L24 is included, and so on...

*Formula =SUMIFS($K$24:$AT$24,$K$36:$AT$36,"<"&$K$48:$AT$48)

The thing that has me most puzzled is that it actually gives me different results depending on in which column the formula is located (and it's the exact same formula, it's not that the cell reference are changing or anything).

When the formula is in a cell in column L for example the result is 2,764, when the formula is in column U it gives me 3,493. The 2,764 result seems to be adding up through the first six columns in the range and stopping (K24:R24) instead of going through the full K24:AT24 range. When the formula is located in a column further out in the sheet however, it will correctly sum all the values in the range that meet the criteria.

What is going on here?!!