https://bugs.documentfoundation.org/show_bug.cgi?id=118876
Mike Kaganski <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Mike Kaganski <[email protected]> ---
In E21, the formula (=SUMIF(B8:B16;C21;OFFSET(B7;0;MATCH(D21;C7:I7;0);9;1)))
adds values from a columnar reference:
> OFFSET(B7;0;MATCH(D21;C7:I7;0);9;1)
This reference gives a 9-row 1-column range starting from column which offset
is calculated using MATCH - that's OK; and from row 7(!), since it offsets 0
rows from the reference cell C7. So, when SUMIF finds the indices of the
matching cells in its condition column (B8:B16), say, it be second and sixth
elements for "plane", it takes second and sixth elements from C7:C15. They are,
of course, not what you'd expect, because you forgot to use 1 as the second
argument to OFFSET.
Closing NOTABUG. Please feel free to reopen if you disagree; please describe
why you do that in that case.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs