+ Reply to Thread
Results 1 to 6 of 6

Entering Day after date

  1. #1
    Registered User
    Join Date
    03-25-2007
    Posts
    2

    Entering Day after date

    Hi

    I am very new to programming in Excel and I need help.

    I have a large worksheet. Column A1 has date as 25 March 2007. I need to add column B and enter the Day eg., Sunday.

    Could someone please advise me on how I can do this. I have over 100 dates which need converting.

    Many thanks in advace

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Welcome to Excelforum! if you don't need to use column B just format the cell in column A to your requirement, right click the cell choose format and then from the list choose Custom you will see the word General above a list on the right hand side click here and type dddd mmmm yyyy and then click ok.
    If you need to use column B you can use =A1 then press enter, right click the cell and choose format as above follow the same proceedure but type dddd instead, now whichever date appears in A1 the day of that date will appear in B1.

    Regards,
    Simon

  3. #3
    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
    Hi,

    Here's a couple of VBA ways

    1st assumes there all dates
    2nd checks to see if it's a date

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

    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 !!!

  4. #4
    Registered User
    Join Date
    03-25-2007
    Posts
    2
    Hi Simon & VBA Noob

    Thank you very much for that. Works a treat.

    Best regards

  5. #5
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Glad you got sorted!

    Regards,
    SImon

  6. #6
    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
    Same here.

    VBA Noob

+ 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