• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 51
  • Last Modified:

How to format a date in Excel within a formula to show 9-Sep-17

Need to format a date within a formula to read day, month, last two of year Ex. 9-Sep-17.
Screenshot
As you can see form my embedded image, it is not working.
0
maximus1974
Asked:
maximus1974
  • 2
3 Solutions
 
Rgonzo1971Commented:
Hi,

pls try

"d-MMM-yy"

or

"[$-409]d-MMM-yy"

REgards
0
 
Ryan ChongCommented:
you can check the proper and available formats here.

Convert date to text
https://exceljet.net/formula/convert-date-to-text
0
 
AlanConsultantCommented:
Hi,

Within your formula, change:

TEXT(C2|"d-m-yy")

Open in new window


to:

TEXT(C2,"D-MMM-YY")

Open in new window



Alan.
0
 
AlanConsultantCommented:
Solution given
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now