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

Jumping to the Top of a Page

Do you want to easily jump to the top of a page in your document? You can use the Go To command to make the shift, or you ...

Discover More

Changing the Color of a Tab's Leader Character

When you set tab stops for a paragraph, you can also specify leader characters to be used with the tab stop. If you want ...

Discover More

Using the Sound Recorder

Over the years Windows has included many accessories you can use for a variety of purposes. One of the more arcane ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More ExcelTips (ribbon)

Advancing Dates to a New Year

If you store dates in your worksheets, you may want to update those dates at the end of the year. This tip explains ...

Discover More

Calculating Months of Tenure

Need to know the number of months between two dates? It's easy to figure out if you use the DATEDIF function.

Discover More

Finding the Previous Work Day

Simple math will tell you what the previous day is (just subtract 1 from today's date). What if you want to know the date ...

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’ll 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 2 - 0?

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.