Convert date 19/08/2024 to Mon 19th Aug 2024

Sundance_Kid

Board Regular
Joined
Sep 2, 2017
Messages
155
Office Version
  1. 365
Platform
  1. Windows
Hi,
As per my thread title is it possible to convert a date to something like Mon 19th Aug 2024?

Thank you
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
If you need the "th" after the day number, then the formula gets more complicated; if that's not important then the TEXT function is simple:

Excel Formula:
=TEXT(A2,"ddd d mmm yyyy")

for example.
 
Upvote 0
This might work... assuming your cell of interest is in A1. as 8/19/24

=TEXT(A1, "ddd ") & DAY(A1) & CHOOSE(MIN(4, IF(AND(DAY(A1) > 3, DAY(A1) < 21), 4, MOD(DAY(A1), 10))), "st", "nd", "rd", "th") & TEXT(A1, " mmm yyyy")

plettieri
 
Upvote 0

Forum statistics

Threads
1,223,430
Messages
6,172,060
Members
452,444
Latest member
ShaImran193

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top