+ Reply to Thread
Results 1 to 3 of 3

Problem formatting dates in pivot chart.

  1. #1
    Forum Contributor
    Join Date
    05-03-2004
    Location
    England
    MS-Off Ver
    2003 Excel
    Posts
    118

    Problem formatting dates in pivot chart.

    Hello, I am hoping someone can help with my problem.

    I am trying to create a pivot chart with data supplied to me weekly.

    The date format comes in custom dd/mm/yyyy/hh:mm:ss i.e 08/02/2008/11:12:22

    I want to show the amount of pieces of data from each day.

    I therefore only need the data to be in the dd/mm format. i.e 08/02

    I have tried a helper column and formatted it to dd/mm.

    The column looks as I want it too i.e 08/02

    When I use the date on the X axis of my pivot chart I cannot stop it reverting back to the original format. So instead of having say a count for each particular day I am getting multiple entries for the same day.

    Thanks for any help.
    Greg.

    "The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."

  2. #2
    Forum Contributor
    Join Date
    01-23-2006
    Posts
    194
    try
    =DATEVALUE(LEFT(A1,10))
    where A1 contains your long string.

  3. #3
    Forum Contributor
    Join Date
    01-23-2006
    Posts
    194
    "I therefore only need the data to be in the dd/mm format. i.e 08/02"
    ...and then use the group-by month function in the pivot table based on the proper date value.

    or a simple fix is a helper column
    =text(<date>,"yyyy-mm")
    its not a date but it sorts ok and is easily recognisable as a year and month.

+ 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