+ Reply to Thread
Results 1 to 3 of 3

Count in Pivot Table by Month - with random dates in data source

  1. #1
    Registered User
    Join Date
    01-06-2015
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    5

    Count in Pivot Table by Month - with random dates in data source

    Hello,

    I am trying to pull pivot table information into a summary table on a new sheet. We are trying to count how many times an install was to happen in December 2014. On our data source, it comes up with a variety of dates in December (15-Dec-14, 24-Dec-14). I want to COUNT how many times in December these installs occur. On my Pivot Table, I have grouped the dates by "Month" for just the year 2014. Now I want to pull this number into my table on another sheet. I can use the formula =GETPIVOTDATA("COUNT OF ORIGINAL INSTALL DATE",'Pivot Tables'!$A$10,'Pivot Tables'!$A$11,'Pivot Tables'! $D$11). This works as I'm pulling straight to D11 on my "Pivot Table" sheet which is the months grouped to show just "Dec."

    My problem stems from, if no installs were scheduled in Dec. Then no Dec column will populate in my Pivot Table and my summary table where I use the =GETPIVOTDATA will come back as a "Ref."

    How can I get around this? Being able to create a formula to look at any and all months, whether they are in a Pivot Table or not.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Count in Pivot Table by Month - with random dates in data source

    Why not determine the month in the orignal datasheet.

    After that you can select that criteria in your pivot table.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    01-06-2015
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Count in Pivot Table by Month - with random dates in data source

    The original data sheet comes from our ERP system and the dates are any given day of the month. I was trying to make this less manual and just use a pivot table to grab all the instances in one month (regardless of the day it occurred) and count those instances using the GETPIVOTDATA formula.

+ 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. Replies: 0
    Last Post: 08-14-2013, 06:31 AM
  2. Excel 2007 : Pivot table sum dates by month
    By pansovic in forum Excel General
    Replies: 1
    Last Post: 08-09-2011, 01:20 AM
  3. Macro to change data source for Pivot every month
    By wish2excel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2011, 01:35 PM
  4. Replies: 1
    Last Post: 06-22-2010, 09:10 AM
  5. Replies: 1
    Last Post: 06-20-2010, 04:00 AM

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