To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=86658 Issue #|86658 Summary|OFFSET in array expressions Component|Spreadsheet Version|OOo 2.3.1 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|programming Assigned to|spreadsheet Reported by|drking
------- Additional comments from [EMAIL PROTECTED] Mon Mar 3 20:51:30 +0000 2008 ------- A1 = 6 A2 = 5 A3 = 9 {=OFFSET($A$1;ROW(A1:A3)-1;0)} as an array expression correctly returns {6|5|9} But {=OFFSET($A$1;ROW(A1:A3)-1;0;1;1)} as an array expression returns {6|#VALUE!|#VALUE!} The only difference is the inclusion of the row/col size - which default to 1 if omitted. ============= {=ROWS(OFFSET($A$1;0;0;ROW(A1:A3);1))} as an array expression should (I'm fairly sure) return {1|2|3} but returns {3} Excel97 gets it wrong (differently) too. [yes, this isn't a sensible thing to do ;) - but is a simpler demonstration of something that stopped me doing what I wanted to.] --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]