At 12:45 12/05/2015 +0200, Honly Wonly wrote:
I need, of course, formulas to be case sensitive. This can be set in
the options for calc. The option is not saved permanently and every
time I open a spreadsheet, I need to set the option again.
I'm surprised by that. If you mean the options at Tools | Options...
| LibreOffice Calc | Calculate | Case sensitive, doesn't this apply
per user and thus stick not only between documents but between
LibreOffice sessions?
How can I save this option permanently so I don't need to set it
over and over again?
If it doesn't stick - and if this option is, as I imagine, saved in
the user profile - you might want to wonder if your user profile has
become corrupt. If you close LibreOffice and delete or rename the
profile, LibreOffice will create a new, clean one next time you start
it. If you then set the option again, does it now stick?
At 12:55 12/05/2015 +0200, Honly Wonly wrote:
To clarify: I need the string comparisons of IF() to be case sensitive:
'if(a1 = "x"; ...)' is, of course, different from 'if(a1 = "X"; ...)'.
Why would anyone make them not case sensitive unless explicitly specified, ...
I suspect those who prefer the other option would ask the opposite
question! If you are looking for references to dogs, you might want
to find "Dogs are friendly pets" as well as "My dog's got no nose".
... and how do I specify case sensitiveness per formula?
If the option is, as I suspect, per user, your spreadsheet will go
wrong if you need to change the option for another document, if a
different user handles it on the same computer, or if you exchange it
with someone using a different computer. So you are quite right to
identify that building the requirement into your formulae and not
relying on options is the reliable way to go. And it's quite easy:
the EXACT() function comes to your aid. Instead of using
=IF(A1="X";...)
use
=IF(EXACT(A1;"X");...)
This will match "X" but not "x" irrespective of the option setting.
I trust this helps.
Brian Barker
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://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.