+ Reply to Thread
Results 1 to 4 of 4

Working with dates

  1. #1
    Sandy
    Guest

    Working with dates

    Hello
    Cell A1 contains the text The date is 2005-11-21. In B1 I would like
    11/21/2005.
    WHat formula should I use
    Thanks!

  2. #2
    Gary L Brown
    Guest

    RE: Working with dates

    =DATEVALUE(RIGHT(A1,LEN(A1)-12))
    This will create the value of the date such as 38677 [Today].
    Then format B1 however you want it to appear.
    HTH,
    --
    Gary Brown
    gary_brown@ge_NOSPAM.com
    If this post was helpful, please click the ''''Yes'''' button next to
    ''''Was this Post Helpfull to you?".


    "Sandy" wrote:

    > Hello
    > Cell A1 contains the text The date is 2005-11-21. In B1 I would like
    > 11/21/2005.
    > WHat formula should I use
    > Thanks!


  3. #3
    Gary''s Student
    Guest

    RE: Working with dates

    Try:

    =MID(A1,18,2) & "/" & RIGHT(A1,2) & "/" & MID(A1,13,4)
    --
    Gary's Student


    "Sandy" wrote:

    > Hello
    > Cell A1 contains the text The date is 2005-11-21. In B1 I would like
    > 11/21/2005.
    > WHat formula should I use
    > Thanks!


  4. #4
    Ron Rosenfeld
    Guest

    Re: Working with dates

    On Mon, 21 Nov 2005 09:00:02 -0800, "Sandy" <Sandy@discussions.microsoft.com>
    wrote:

    >Hello
    >Cell A1 contains the text The date is 2005-11-21. In B1 I would like
    >11/21/2005.
    >WHat formula should I use
    >Thanks!



    =--(RIGHT(A1,10)

    with the cell formatted (Format/Cells/Number/Custom Type:
    "mm/dd/yyyy"

    or

    =TEXT(--(RIGHT(A1,10)),"mm/dd/yyyy")


    --ron

+ 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