Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document behaviour of built-in functions with complex criteria #7

Open
govert opened this issue Nov 9, 2020 · 1 comment
Open

Document behaviour of built-in functions with complex criteria #7

govert opened this issue Nov 9, 2020 · 1 comment

Comments

@govert
Copy link
Member

govert commented Nov 9, 2020

See https://exceljet.net/formula/xlookup-with-complex-multiple-criteria
and https://groups.google.com/g/exceldna/c/bwXlP-OXfPM

If seems that a formula like

=XLOOKUP(1,(LEFT(B5:B16)="x")*(C5:C16="east")*NOT(MONTH(D5:D16)=4),B5:E16)

is evaluated differently in Dynamic-Array aware Excel vs older Excel.
In particular, the LEFT and MONTH functions don't return arrays to the formula in the older Excel, but instead only the interpolated row / column value.

It would be good to sort this out and document a bit.
Keywords would be "implicit intersection" and "dynamic arrays".

@govert
Copy link
Member Author

govert commented Nov 9, 2020

It looks like it works right with 'implicit intersection' disabled, which happens when the formula is entered with Ctrl+Shift+Enter.

Should we automatically do this (together with resize?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant