K
Keith
Greetings:
I'm trying to conditionally sum nonadjacent cells.
The condition cells are in a range named "condition" containing (A1,
A3, A5, A7, A9).
The sum cells are in a range named "values" containing (B1, B3, B5,
B7, B9).
The condition is ">0".
The formula is =SUMIF(condition, ">0", values)
The result is #VALUE
(The actual cell references are much further apart, with lots of stuff
in between, so I can't just select a contiguous range. The ranges
listed above are from my small test version of the formula.)
I have verified that each named range has the same number of cells. If
I select A1:A9 and B1:B9 instead of the named ranges, everything works
fine. I've tried this is a standard formula and an array formula with
the same results.
TIA
Keith
I'm trying to conditionally sum nonadjacent cells.
The condition cells are in a range named "condition" containing (A1,
A3, A5, A7, A9).
The sum cells are in a range named "values" containing (B1, B3, B5,
B7, B9).
The condition is ">0".
The formula is =SUMIF(condition, ">0", values)
The result is #VALUE
(The actual cell references are much further apart, with lots of stuff
in between, so I can't just select a contiguous range. The ranges
listed above are from my small test version of the formula.)
I have verified that each named range has the same number of cells. If
I select A1:A9 and B1:B9 instead of the named ranges, everything works
fine. I've tried this is a standard formula and an array formula with
the same results.
TIA
Keith