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


At 13:52 19/03/2018 -0700, John R. Sowden wrote:
I had this working, then I noticed that it is no longer working (no error messages). Sums any cells in col F if there is a 2211 2212 or 2213 in col M:
=SUMIF(M6:M351,"2211|2212|2213",F6:F351)
it now gives a result of zero.

That use of the "|" character to mean "or" means that your criterion is specified by means of a regular expression. For this to work, you need to have this facility enabled at Tools | Options... | LibreOffice | Calc | Calculate | Enable regular expressions in formulas. Without this, the function will match only the text interpreted as a single fourteen-character string.

I'm guessing, but do you have this option disabled?

I trust this helps.

Brian Barker


--
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/
All messages sent to this list will be publicly archived and cannot be deleted

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.