+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    02-10-2010
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    8

    Manipulating Dates and Format

    I am attempting to analyse some sales data, what I want to do is create some stats re which days of the month are the most popular. So of a very large list I need to take the data which is displayed as below and reduce it to the day of the week ak the first part before the "/". The rest is surplus.


    So It would be good to end with a column with "5" or "day of month" then I'll filter and count them all up so I know that lets says 205 of all sales happen in the first few days of the month. Maybe later even the times of day but I am getting ahead of myself.

    Can anyone please help? maybe I am suggesting a more long winded way of doing it then is required.

    P
    05/11/2009 11:12
    05/11/2009 11:04
    Last edited by pdiminski; 03-07-2010 at 03:55 PM.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Manipulating Dates and Format

    Add your day of month field - eg:

    B1: DOM
    B2: =DAY(A2)
    copied down

    Then use a Pivot Table / Chart.

    Use your Day Field (DOM) as Row Label and Date Field as Data Field set to Count.

    You will now get a Matrix output giving you frequency by Day of Month.

    If needed post a sample file.
    Last edited by DonkeyOte; 02-16-2010 at 02:13 PM.

  3. #3
    Registered User
    Join Date
    02-10-2010
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Manipulating Dates and Format

    Thanks but I am afraid I am confused.
    If A1 says 01/01/2010 how do I reduce this to DOM?

  4. #4
    Forum Guru darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Colorado, US
    MS-Off Ver
    2007
    Posts
    2,140

    Re: Manipulating Dates and Format

    You would use DO's formula in a helper column and filter on the helper column. See attached example.

    I didn't do the Pivot Table part for you. DO's instructions should be fine for you on that.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-10-2010
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Manipulating Dates and Format

    Brilliant, perfect thanks all.

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.2.0