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


At 15:41 05/05/2023 -0400, James Lockie wrote:
Does this work for you? The A1 cell contains a date with a date format (NN, MMM D, YYYY) that displays the weekday month day year. The B1 cell contains a reference to the A1 cell but has a date format (MMMM) that is only supposed to display the month. I uploaded a sample file ...

Although you have your cells formatted as you suggest, what you have in A1 is actually a text string and not a date. When this is referenced in B1, that also will contain the same text string. Since you have no dates, your formats are ignored.

In order for your typing (in A1) to be interpreted as a date, it needs to be something that LibreOffice will interpret as a date. In that case, the string you type will be converted to a date in the cell, and this will be displayed according to the cell format. It is not necessary to enter such a date in the format you wish to see; indeed, in this case, you must not, since that is not one of the formats that LibreOffice will recognise. Just re-enter the date in A1 in such a format (e.g. 1/3/24 in your locale) and everything will spring to life as you wish.

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/
Privacy Policy: https://www.documentfoundation.org/privacy

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.