I've been using sheet summary formulas for a week but have been struggling with something I don't understand all afternoon.
- I have a summary field called % Planned Complete. For simplification, I'm testing this formula: =INDEX([% Planned Complete]:[% Planned Complete], 21) * 100
But it won't return the value for row 21 in the % Planned Complete column. Instead, I see a message "Divide by 0."
So I'm doing some troubleshooting. [% Planned Complete] was a column calc, and I converted it to a cell calc so I could test my own values.
- The formula was calculating the value 100%. I hardcoded it to be .3. The summary statistic still shows a value of "Divide by 0"
- Row 1 of [% Planned Complete] has a "Divide by 0" error. Perhaps for a reason I don't know the summary formula is letting row 1 override its search for row 21.
- I hardcoded the value of row 1 to .2, and I predicted that the summary statistic would change the value to 20.
- But, no, now the summary statistic shows the value of 30.
It's as if my summary statistic calculates correctly … unless there's a Divide by 0 error on row 1, and then the statistic shows a Divide by 0 value.
Does that make sense to anyone?
I also tried this. I changed the summary statistic to
=[% Planned Complete]21
and I changed the row 1 formula back to the formula that gives a Divide by 0 error. In this case, the summary statistic still shows .3.