Consulting

Results 1 to 5 of 5

Thread: 2-letter DAY format

  1. #1
    VBAX Regular
    Joined
    Dec 2005
    Posts
    99
    Location

    2-letter DAY format

    Anyone know how to format a date cell to display only a 2-letter day abbreviation (ie. Mo, Tu, We, Th, Fr, Sa, Su)? dd gives the day "number", rather than text.

    Thanks

  2. #2
    VBAX Expert
    Joined
    Jul 2004
    Location
    Wilmington, DE
    Posts
    600
    Location
    I do not think it can be done with number formatting. I would try using another column to show it:

    =INDEX({"Su";"Mo";"Tu";"We";"Th";"Fr";"Sa"},WEEKDAY(F1))

    Or:

    =LEFT(TEXT(F1,"ddd"),2)
    Regards,

    Patrick

    I wept for myself because I had no PivotTable.

    Then I met a man who had no AutoFilter.

    Microsoft MVP for Excel, 2007 & 2008

  3. #3
    VBAX Regular
    Joined
    Dec 2005
    Posts
    99
    Location
    Thanks Patrick!

    That's just what I needed. I also played around with 'WEEKDAY' and 'TEXT' alone but of course woudn't work without 'INDEX' and your formula.

    Thanks again.

  4. #4
    VBAX Expert
    Joined
    Jul 2004
    Location
    Wilmington, DE
    Posts
    600
    Location
    You're welcome. You may want to use the formula I gave without the INDEX--it's shorter.
    Regards,

    Patrick

    I wept for myself because I had no PivotTable.

    Then I met a man who had no AutoFilter.

    Microsoft MVP for Excel, 2007 & 2008

  5. #5
    VBAX Regular
    Joined
    Dec 2005
    Posts
    99
    Location
    I realize why 'TEXT' wasn't working for me - I left out the " "'s marks.

    thanks again for your help Patrick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •