+ Reply to Thread
Results 1 to 2 of 2

Grouping data in a pivot table

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    USA
    MS-Off Ver
    Excel2010
    Posts
    27

    Grouping data in a pivot table

    I have created a pivot table which contains each day of the year from 1/1/13 to 9/30/13. Column A contains each date and column B contains the total number of sales for that date. I have 3 such sheets, each representing sales of a different product. I need to make a line graph, with each product being a different colored line on the graph. My problem is I need the sales dates grouped together by week, not individual days. Is there an easy way to create this weekly grouping? In other words, I need to figure out how to make column A the week (1/1/13-1/7/13; 1/8/13-1/14/13 etc...) and column B the total for that week, as opposed to having individual days represented.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Grouping data in a pivot table

    You could try adding a helper to your data that uses =weeknum(cell-ref), and then add that to the PT?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Pivot Table Data Grouping
    By janschepens in forum Excel General
    Replies: 2
    Last Post: 09-08-2011, 11:16 AM
  2. Grouping Data in a Pivot Table
    By Newton1234 in forum Excel General
    Replies: 4
    Last Post: 10-31-2008, 08:35 AM
  3. Grouping Pivot Table Data
    By Maldoror in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-31-2007, 07:25 AM
  4. [SOLVED] Pivot table grouping of data
    By RichardMGreen in forum Excel General
    Replies: 2
    Last Post: 06-21-2006, 12:40 AM
  5. grouping data in a pivot table
    By William in forum Excel General
    Replies: 2
    Last Post: 04-06-2005, 06:06 PM

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