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


At 20:04 20/11/2017 -0500, Dotty Carl wrote:
In a cell, let's say A1, ...

I don't see that matters ...

... there's a formula such as =DayNum(Z1, Z3). I'd like to also put text in the same cell.

So what do you want to have displayed in that cell? Any formula defines what is displayed. What would be the function of the additional text?

How can this be done?

If you need a function reference, as here, but want the displayed result to contain additional material, you need to include that material inside the formula containing the function. You can concatenate text with a function result using the CONCATENATE() function, or more simply using the "&" operator. Any non-text value, such as a number, is implicitly converted to text to enable this. For example,
=SQRT(3+1)
displays
2
whereas
="The square root of 3+1 is "&SQRT(3+1)&"."
displays
The square root of 3+1 is 2.

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.