+ Reply to Thread
Results 1 to 3 of 3

How to sum counts from a certain pivot table

  1. #1
    Registered User
    Join Date
    11-05-2018
    Location
    Philippines
    MS-Off Ver
    microsoft office 2016
    Posts
    2

    How to sum counts from a certain pivot table

    Hello,

    I have the certain pivot table in the attached workbook.

    What I want to do is to use a formula that will choose certain dates in column A and sum the corresponding number in the adjacent column B.

    For exemple I want to look for all the dates listed during June of 2019 then it will show the sum of numbers for all those adjacent cells with those specified dates

    Currently the formula I use in the spreadsheet only counts the dates once and not repeating dates.

    =SUM(IF(ISTEXT($A$3:$A$10000),0,IF(ISBLANK($A$3:$A$10000),0,IF(YEAR($A$3:$A$10000)=2019,IF(MONTH($A$3:$A$10000)=6,1)))))

    So if for exemple if june 6, 2019 is listed in the pivot twice it will only show 1 not 2.

    Any one?

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: How to sum counts from a certain pivot table

    if you wish to sum a whole month and the dates are truly dates

    =SUMIFS(B:B,A:A,">="&G19,A:A,"<="&EOMONTH(G19,0))

    where g19 is the 1st of the month you are interested in as a date

  3. #3
    Registered User
    Join Date
    11-05-2018
    Location
    Philippines
    MS-Off Ver
    microsoft office 2016
    Posts
    2

    Re: How to sum counts from a certain pivot table

    Hello,

    Thanks davsth i don't know how this formula worked but it really did the trick!!!

    Have a nice day ahead

+ 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. [SOLVED] Pivot Table Help - Counts
    By degross77 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-09-2018, 04:01 PM
  2. Please help! How to tell which counts are the same in pivot table
    By dukepoco224 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-11-2015, 01:59 PM
  3. Replies: 2
    Last Post: 05-08-2013, 04:56 PM
  4. Pivot table - SUM of COUNTS?
    By nick_danger in forum Excel General
    Replies: 1
    Last Post: 03-10-2008, 11:43 PM
  5. Pivot Table - Average of counts
    By Dan in NY in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  6. Pivot Table - Average of counts
    By Dan in NY in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  7. Pivot Table - Average of counts
    By Dan in NY in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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