SUMIFS and ranges Puzzler

ptf205

New Member
Joined
Mar 25, 2013
Messages
7
Excel2013/Win7. This has been driving me crazy all afternoon.:ROFLMAO: It boils down to this:

- 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?!!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top