+ Reply to Thread
Results 1 to 4 of 4

Changing date format

  1. #1
    Registered User
    Join Date
    07-26-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    43

    Changing date format

    How do I change a cells value from this

    3/04/2012 5:21:20 p.m.

    To this

    3/04/2012

    Basically erasing any time value off the end

    I'm trying to create a pivot table, even if I format cells to the date format (so it just displays 3/04/2012) it still contains the time value within the cell and treats each date as an individual value in the pivot table.

    Any help would be appreciated

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Changing date format

    Click on the cell and hit Ctrl + 1, under number tab, select date. From there, you will see a list of available date format options

  3. #3
    Registered User
    Join Date
    07-26-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Changing date format

    It still contains the time value within the cell,

    If I turn this
    2/04/2012 14:11
    2/04/2012 14:31

    Into this

    2/04/2012
    2/04/2012

    Via that method, it still treats the two 2/04/2012 in the pivot table as independent values and doesn't total the figures attributed to them.

    There must be a formula that would change the value, going through 5000 entries individually deleting the time values off the end would be painful.

    I have attached the spreadsheet I have.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-26-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Changing date format

    Never mind solved using the round-down formula.

+ 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