Hi Steve,
Steve Edmonds schrieb am 16.03.2023 um 21:37:
On 16/03/2023 23:12, Regina Henschel wrote:
Hi Steve,
Steve Edmonds schrieb am 16.03.2023 um 01:13:
Hi, on the off chance I will be pleasantly surprised, can a function
act on a range.
i.e can I do something like =AVERAGE(ABS($Sheet1.B28:$Sheet19.B28))
to average the absolute value of the numbers in the range.
The above seems to return only the last value of the range. I can
achieve this with an intermediate column on every sheet.
Enter it as array-function. That is using "Ctrl-Shift-Enter" instead
of "Enter" or mark the "Array" checkbox in the Function Wizard.
Kind regards,
Regina
Thanks.
Do you mean like {=AVERAGE(ABS($Sheet1.B30:$Sheet19.B30) )} as this
gives a 504 error and =AVERAGE({ABS($Sheet1.B30:$Sheet19.B30)} ) and
{=AVERAGE({ABS($Sheet1.B30:$Sheet19.B30)} )} both give a 539 error.
My fault. I now see, that you have a range over several sheets. That is
not possible with array-function.
But you can use {=AVERAGE({ABS($Sheet1.B1:$Sheet1.B30)} for example.
The problem is the ABS function. Otherwise a simple
=sum($Sheet1.B1:$Sheet4.B1)/count($Sheet1.B1:$Sheet4.B1)
would work.
Kind regards,
Regina
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.