Full Version: Date format problem
UtterAccess Discussion Forums > Microsoft® Office > Microsoft Excel
Jamie_smith41
Hi

I am in the process of preparing some spreadsheets that require the following date format:

dd-MMM-YYYY

I have used custom format, but it will insist on dropping the UPPER CASE month (e.g. JAN). Does anybody know a way around this problem

Thanks
StuKiel
Hi Jamie,

If you want to use formula rather than code this will do it for you:

=UPPER(TEXT(A1,"dd-mmm-yyyy"))

Where A1 contains the date you wish to transform, format the cell in which this formula resides as text.

Stu.
Jamie_smith41
Thanks very much, that works like a charm!
StuKiel
Glad to help.

Stu.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.