Using a Two-Character Day of the Week in a Date Format

Written by Allen Wyatt (last updated March 21, 2026)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365


3

Raymond's work requires that he format dates so they show in what he believes is a rather odd format. If, for instance, a cell contains a date of 3/20/26, he needs it to display as "FR 3/20", without the quotes. (FR is a two-character representation of the day of the week, in this case Friday.) Raymond wonders if there is a way to do this as, perhaps, a custom format.

There is no way to do this exactly using a custom format. The reason is that there is no code in custom formats that allow you to create a two-character day of the week. The closest that could be done in a custom format is for a three-character day of the week:

ddd m/d

Even that, though, is a bit off because it won't do the three-character day of the week in uppercase. If you tried to replace "ddd" in the custom format with "dd," that won't work because it would simply return a two-digit day of the month.

So, that leads us to using a formula to come up with the formatted date. If you have the date in cell A1, you could use the following formula:

=LEFT(UPPER(TEXT(A1,"ddd")), 2) & " " & TEXT(A1,"m/d")

This uses the TEXT function to return, first, the three-character day of the week which is converted to uppercase using the UPPER formula. The LEFT function is then used to grab the first two characters of that weekday which is then added to the month/day combination. This returns exactly what Raymond wanted.

The downside to using this approach is that the date returned by the formula is text; it is not an actual date. If we had been able to use a custom format, the underlying date value would have been unchanged. This, though, would be the case for any odd date formatting like this. Because of this potential downside, you may want to retain the actual dates as dates, even if it is in a hidden column or a hidden worksheet.

You could also, if desired, create a macro that would return a string with the formatted date. Here's a simple user-defined function:

Function FmtDate(d As Date) As String
    Dim s As String

    s = UCase(Left(WeekdayName(Weekday(d)), 2))
    s = s & " " & Format(d, "m/d")
    FmtDate = s
End Function

You can then use the function in the following way in your worksheet:

=FmtDate(A1)

This assumes the date is in A1, and the function returns a date string formatted as Raymond desires.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13704) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Controlling How Word Sorts Text

Word has a very orderly way in which it sorts information, but that orderly method may not meet what you need to have ...

Discover More

Changing a Field Parameter

Fields are a powerful way to add dynamic content to your documents. Some fields rely on the use of parameters to control ...

Discover More

Inserting the Subject in Your Document

One of the properties you can specify for a document is a subject. You can then use a field code to insert this subject, ...

Discover More

Dive Deep into Macros! Make Excel do things you thought were impossible, discover techniques you won't find anywhere else, and create powerful automated reports. Bill Jelen and Tracy Syrstad help you instantly visualize information to make it actionable. You抣l find step-by-step instructions, real-world case studies, and 50 workbooks packed with examples and solutions. Check out Microsoft Excel 2019 VBA and Macros today!

More ExcelTips (ribbon)

Converting an Unsupported Date Format

Excel makes it easy to import information created in other programs. Converting the imported data into something you can ...

Discover More

Including Weeks in Elapsed Time

When showing how much time has elapsed between two dates, it is sometimes helpful to express the result in terms of ...

Discover More

Month for the Nth Sunday

Doing math with dates is quite easy in Excel. As this tip illustrates, this fact makes it easy to figure out the Nth ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You鈥檒l be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 4 + 1?

2026-03-24 18:42:43

J. Woolley

Here's a solution for Raymond suggested by Joe:
Select the cells that need to be formatted like DD m/d.
Assuming A1 is the first cell in the selection, create 7 new conditional formatting rules with the following 7 formulas (one for each rule):
聽聽聽聽=(WEEKDAY(A1)=1)聽聽聽聽--聽聽聽聽result is TRUE for Monday
聽聽聽聽=(WEEKDAY(A1)=2)聽聽聽聽--聽聽聽聽result is TRUE for Tuesday
聽聽聽聽路路路
聽聽聽聽=(WEEKDAY(A1)=7)聽聽聽聽--聽聽聽聽result is TRUE for Saturday
If the first cell in the selection is not A1, substitute that cell for A1 in each of the 7 formulas.
Define a custom number format for each of the 7 rules:
聽聽聽聽"SU" m/d聽聽聽聽--聽聽聽聽1st rule's custom number format
聽聽聽聽"MO" m/d聽聽聽聽--聽聽聽聽2nd rule's custom number format
聽聽聽聽路路路
聽聽聽聽"SA" m/d聽聽聽聽--聽聽聽聽7th rule's custom number format
Date serial numbers in the selected cells will display as Raymond requires.


2026-03-23 15:58:54

J. Woolley

My Excel Toolbox includes the following function to set Target's custom number format:
聽聽聽聽=SetNumberFormat([NumberFormat], [Target])
The default is "General" for NumberFormat; if Target is omitted, the formula's cell applies. SetNumberFormat returns Null.
If the date in cell A1 is a constant, Raymond can put this formula in another cell to format A1 like DD m/d:
聽聽聽聽=SetNumberFormat("""" & UPPER(LEFT(TEXT(A1, "ddd"), 2))
聽聽聽聽聽聽聽聽& """ m/d", A1)
For example, if A1 contains 3/20/2026 as a date serial number, it will be formatted to display FR 3/20. If A1 is on Sheet1 and the formula is on a different sheet, replace the two instances of A1 with 'Sheet1'!A1.
If the date in cell A1 is the result of a formula, it can be formatted like DD m/d by adding SetNumberFormat(NumberFormat) to the end of the formula:
聽聽聽聽=... + SetNumberFormat("""" & UPPER(LEFT(TEXT(A1, "ddd"), 2))
聽聽聽聽聽聽聽聽& """ m/d")
Since Target is omitted, the formula's cell applies. The formula's result remains a date serial number. Notice a pair of quotation marks within a quoted string results in text containing a single quotation mark.
SetNumberFormat uses RunMacroDelayed_Do, which is discussed in my comment here: https://excelribbon.tips.net/T012892
See https://sites.google.com/view/MyExcelToolbox/


2026-03-22 11:57:38

J. Woolley

Here's an alternate version of the Tip's formula suggested by Yvan Loranger:
聽聽聽聽=CHOOSE(WEEKDAY(A1), "SU", "MO", "TU", "WE", "TH", "FR", "SA")
聽聽聽聽聽聽聽聽& " " & MONTH(A1) & "/" & DAY(A1)
And here's a related version of the Tip's function:

Function FmtDate2(d As Date) As String
聽聽聽聽FmtDate2 = Choose(Weekday(d), "SU", "MO", "TU", "WE", _
聽聽聽聽聽聽聽聽"TH", "FR", "SA") & " " & Month(d) & "/" & Day(d)
End Function


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.