+ Reply to Thread
Results 1 to 6 of 6

Days of the week

  1. #1
    Forum Contributor gilbert's Avatar
    Join Date
    01-08-2004
    Location
    Asia
    MS-Off Ver
    2007
    Posts
    117

    Days of the week

    How do we get Excel to return the day of the week when we key in a date in a cell? Is there any formular for that or do we need to add-in anything?
    Thank you in advance,
    Gilbert

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Format the cell as ddd.

  3. #3
    Forum Contributor gilbert's Avatar
    Join Date
    01-08-2004
    Location
    Asia
    MS-Off Ver
    2007
    Posts
    117
    Can u elaborate further? I think you have mistaken my intention as I am not formating the date to display day of the week. Instead, I want Excel to return to me in cell B1 the day of the week by referring to cell A1 which contains date.

    eg.. in cell A1 = 3/12/2007
    in cell B1 to return Monday

    if cell A1 = 5/12/2007
    then cell B1 to return Wednesday.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    As Shg suggested

    In B1 enter
    =A1
    Then right click cell B1 > format Cells > custom > dddd

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Forum Contributor gilbert's Avatar
    Join Date
    01-08-2004
    Location
    Asia
    MS-Off Ver
    2007
    Posts
    117
    Gee.. thanks for that... so simple yet I am thinking toward the complicated way. :o

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Another way, which actually returns text in B1, rather than a formatted date

    =TEXT(A1,"dddd")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1