[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libreoffice-users] Text in an IF function



I think I've tracked down the problem but not the answer....

My full statement is - =IF(H44="AUG",Paid.D21,"")

Paid.D21 is the value I want to insert if the month is correct.
H44 contains the month, ie AUG - and this seems to be the problem. It is a pull-down list of months. If I enter the month by hand the IF statement works but with it being a pull-down list it does not work.

The only obvious possibility is that your selection list does not include exactly "AUG". Does it perhaps have a trailing blank or blanks? If so, either correct the list or modify the formula to refer to TRIM(H44) instead.

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

References:
[libreoffice-users] Text in an IF functionIan Whitfield <whitfield@telkomsa.net>
Re: [libreoffice-users] Text in an IF functionBrian Barker <b.m.barker@btinternet.com>
Re: [libreoffice-users] Text in an IF functionIan Whitfield <whitfield@telkomsa.net>
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.