IFERROR vs. Subtotal
Hello!
This is the way I’ve configured a column: the top-first cell N4 with =SUM(J4;L4) and the next cells like N18 with =IFERROR(J18+L18+N17;0) in order to get a cumulated value there.
From the point of view of the cell only, it appears the formula works correctly.
But there is a kind of conflict with the subtotal lines – e. g. N19, when I pull the formula from N18 down to N20 and further.
The regular N-cells display a cumulated value based on the value of the vertical-prior cell, but I’d like to exclude from this sum the cells showing a Subtotal. (N19, N21, N23, N25)
The problem: when I pull the right corner of any N-Cell down along the colomn, it considers the subtotal cells as a regular one. The N20 cell uses N19 instead of N18.
It would be a mess if I always have to double-check the whole column, as lots of new row will be created during the daily use.
How do I get rid of that?
I’m presuming one thing but not really sure if it’s an issue: maybe the formula =IFERROR(J18+L18+N17;0) has to be extended so it does not take the Subtotal cells into account. Right now the formula for N20 should probably be changed manually into =SUM(J20;L20) in order to “open the array”. This would turn the cumulated values into a array-specific ones instead of being global (here, I mean a sheet-wide relevance).
The original idea and still the optimum would be to keep the cumulated N-Column-Values relevant for the whole file, and only the Subtotal-Cells would remain category-specific.
Any hints would be much appreciated
🙂
G
ADDRESSBOOK-OTHER, Mac OS X (10.7.5)