+ Reply to Thread
Results 1 to 8 of 8

Pivot Table calculation

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Pivot Table calculation

    I would like to calculate in a pivot table, the number of calls per day based on the calendar days in the month. I have attached a sample file.
    Thanks in advance.
    Attached Files Attached Files
    Last edited by Aland2929; 02-09-2012 at 07:43 AM.

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Pivot Table calculation

    Hi,

    please see the file attached if it helps

    Regards
    Attached Files Attached Files
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Pivot Table calculation

    I don't think you understood what I am trying to do but thanks for the response. In my pivot table report, Mike did 62 calls in Jan & 34 calls in Feb. If there were 22 working days in Jan & 21 working days in Feb, then the calls per day would be 62/22 & 34/21. This is what I want to calculate in the pivot table? The formula is the total number of calls in the month divided by the working days.

  4. #4
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Pivot Table calculation

    Is it possible to insert a formula in the pivot table that divides a field by the working days in a particular month?

  5. #5
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Pivot Table calculation

    Is it possible to insert a formula in a pivot table that divides a field by the working days in a month?
    Month: Calls Calls/Day
    Jan 75 =75/22
    Feb 60 =60/21
    Thanks in advance

  6. #6
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Pivot Table calculation

    Hi,

    I would not use a calculated field, but some helper columns in your database.If you have a simple table with the number of working days per month, a Vlookup is sufficient to have first helper column.

    In the example attached I calculate the number of working days in a different way.

    I've used array formulas to calculate the days when Mike or Susan answered the customers

    =sum(if($A$2:$A$1000>0,if(month($A$2:$A$1000)=month(A2),1/Countif($A$2:$A$1000,$A$2:$A$1000))))
    Maybe it helps

    Ciao
    Attached Files Attached Files

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,455

    Re: Pivot Table calculation

    If you have a simple table with the number of working days per month
    You can also find the number of days of a given month using
    =day(eomonth(A1,0))
    where A1 contains a date

  8. #8
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Pivot Table calculation

    Thanks for your response but I want the working days, not calendar days?

+ Reply to Thread

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.6.0 RC 1