+ Reply to Thread
Results 1 to 2 of 2

Pivot Table: Group by month splits weekly results

  1. #1
    Forum Contributor
    Join Date
    08-25-2015
    Location
    London
    MS-Off Ver
    MS 365
    Posts
    213

    Question Pivot Table: Group by month splits weekly results

    Hi all,

    I have a set of raw data (that I can't change at source) which I have tried to group by year, month and week using a pivot table. So far so good.
    I am using an index/match formula on a different sheet to lookup values on that pivot table (formula looks out for week vertically and both column labels horizontally, e.g. LC_RT_1&"Total Sends" and then returns the value from the cell it can find). Problem now is that the pivot seems to split the grouped weeks as a few days of some weeks fall into two months. E.g. week48 falls into Month 11 (M11) and Month 12 (M12) - see attached screenshot and example file.

    As the formula on the dashboard would only show the first value that it can find, it basically ignores the results from the 2nd time the same week shows up in the data.
    Is there any way I can change the pivot table to only show a week once and, for example, attribute the results of that week to either of the months (e.g. combine week48 results and attribute to M11 or M12)?
    Hope you understand what I mean All a bit complicated!

    Hope you can help.
    Thanks!
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Pivot Table: Group by month splits weekly results

    Hi, when you want a week overview you should ignore the month.
    The same happens with Week 1 in some cases the first part for week 1 falls in December of the previous year as well as the first days of January.
    So you either use months or weeks but both will get you in trouble.
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

+ 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. cant group pivot table by month for some reason
    By zazzz in forum Excel General
    Replies: 9
    Last Post: 12-29-2017, 11:55 PM
  2. Pivot Table - Howto Group by Month
    By TestMailinator in forum Excel General
    Replies: 3
    Last Post: 05-18-2015, 11:36 AM
  3. Group dates in Excel pivot table by month using VB.NET?
    By OldManExcellor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-13-2015, 09:11 AM
  4. [SOLVED] run time error creating pivot table and group dates by year and month
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2013, 07:25 AM
  5. Pivot Table - Need to group transactions by non standard month
    By chris.tinta in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-19-2012, 12:05 PM
  6. Pivot table - group dates per week or month
    By digicat in forum Excel General
    Replies: 1
    Last Post: 01-08-2006, 04:50 PM
  7. [SOLVED] Can't group pivot table items by month in Excel
    By scott_ensley in forum Excel General
    Replies: 1
    Last Post: 02-01-2005, 05: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