Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

At 19:11 08/10/2013 +0100, Brian Barker wrote:
At 10:43 08/10/2013 -0700, Joel Madero wrote:
So I stumbled across instructions on how to do this in Excel but can't get the same result in LibreOffice.

Suggestions appreciated as always

The first formula given at that web page worked for me once I'd tinkered with the details to fit my actual case. And I needed to replace commas by semicolons. (The formula as given will not find instances of zero in the list.)

Note that it is an array formula, so you need to complete it using Ctrl+Shift+Enter instead of plain Enter. The formula will then show with {braces} around it in the Input Line (but you cannot achieve the same result by typing braces yourself).

Note also that it seems that you cannot fill the array formula down the column by dragging the fill handle. Instead, copy the formula from the original cell, select all the target cells, and paste.

Oh, and note also that - since the MATCH() function supports regular expressions - any characters in the data that have special meanings in regular expressions may upset the operation of this formula unless you have Tools | Options... | LibreOffice Calc | Calculate | Enable regular expressions in formulas *unticked*.

Brian Barker

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.