Re: calc array expression using result of min fn

2018-08-15 Thread Gary Aitken
On 08/14/18 11:24, Oliver Brinzing wrote: have you tried something like this: {=SUM(IF(B2:B10<=C2:C10;1;0))} Unfortunately, that won't work in my case; or rather, that's what I was trying to avoid. My example was a simplification; the actual need is for something like MIN(B2:B10 ; C2:C10 ;

Re: calc array expression using result of min fn

2018-08-15 Thread Oliver Brinzing
Hi Gary, > Is there a list someplace of functions that do and do not work with > array expressions? maybe this can help: https://wiki.openoffice.org/wiki/Documentation/How_Tos/Using_Arrays https://help.libreoffice.org/Calc/Array_Functions Regards Oliver Am 14.08.2018 um 22:15 schrieb Gary

Re: calc array expression using result of min fn

2018-08-14 Thread Oliver Brinzing
Hi Gary, have you tried something like this: {=SUM(IF(B2:B10<=C2:C10;1;0))} for example, according to https://ask.libreoffice.org/en/question/20404/how-do-i-make-an-array-formula-out-of-a-function-that-normally-takes-array-arguments/ the max()/min() functions do not work this way. Regards

calc array expression using result of min fn

2018-08-14 Thread Gary Aitken
I'm having trouble getting an array expression to work in calc. What I want is this: { COUNT( (MIN(B2:B10; C2:C10) = B2:B10) ) } That is, count the number of rows in which the minimum across columns B and C is in column B. The expression MIN(B3; C3) = B3 works fine when entered in an