Formula to format a date?

Is there a function which formats a date in Numbers? (I have version 11.2 (7032.0.145).)


Something like

FORMAT(A1, "dd-mmm")

to take a date/time in cell A1 and display it using the format. A date/time today would return "08-Apr". I've seen that one can access the displayed date using

A1&""

but it's pretty clumsy to create a scratch cell just to set the format.

Posted on Apr 8, 2022 3:08 AM

Reply
3 replies

Apr 8, 2022 6:01 AM in response to ken-day

It would be handy but it is not available.


If the cell where you want to display the date will be only the date (not with other text), format the cell to display it the way you want it. No need for a function to do it. If it will be part of other text then I think the best solutions are to either format cell A1 the way you want it to be displayed or, like you said, use a scratch cell (which can be in a hidden column). You could also use some of the built-in date and text functions to create the format you want.


This will create your format from the date in A1

=RIGHT("0"&DAY(A1),2)&"-"&LEFT(MONTHNAME(MONTH(A1)),3)


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Formula to format a date?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.