+ Reply to Thread
Results 1 to 12 of 12

Pivot Table : Planned and Actual Count Over Same Time Period

  1. #1
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Pivot Table : Planned and Actual Count Over Same Time Period

    Hi,

    ive been stuck on this pivot table from last 2 days...would appreciate any help...
    I've a list of boxes with planned and actual dates..( There are 8 sectors and 300 boxes each..)
    What I want to show on the pivot table is two rows for each sector: one row for total no of planned boxes and other for total no of actual boxes against Months in the column

    In the attached file,I have managed to show planned boxes against time but cant find a away to show actuals over the same time period.

    Please help...
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pivot Table : Planned and Actual Count Over Same Time Period

    I'm not following. Can you update your worksheet to show a dummy pivot table showing how you would like your data to be?

    I attached a pivot table with Sector in "Report Filter" and showing Planned (vertical) vs Actual (horizontal)
    So in May, 31 were planned but 10 were done in june and 21 in July
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Re: Pivot Table : Planned and Actual Count Over Same Time Period

    Wow ChemistB,

    That was a new level of insight to the data...
    never thought of it that way....
    could you explain how you did it??



    Actually what I wanted to show was something like this...

    Mar Apr May Jun Jul Aug

    Planned 50 40 30 20 10 15
    Actual 45 30 25 10 5 10
    Cumulative Planned 50 90 120 140 150 165
    Cumulative Actual 45 75 100 110 115 125
    Variance 5 15 20 30 35 40


    I thought of obtaining the first two rows from pivot,copying them as values and do the last three rows manually,but I guess its possible in pivots as calculated fieds(not sure about it)...

  4. #4
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Re: Pivot Table : Planned and Actual Count Over Same Time Period

    I have one more requirement actually....
    I have datas for 8 sectors ( 300 boxes in each;boxes are of 4 types ).
    So using conditional formatting,I would like to show the sector/box type with the highest delay...

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pivot Table : Planned and Actual Count Over Same Time Period

    I don't think that you can format a pivot table the way you want it. I could do it with formulas if that's acceptable? How are the 4 box types differentiated?

    could you explain how you did it??
    I have Actual in Columns Grouped by months and years, and Planned in Row Labels grouped by months and years
    Then in Values I have Box No (count of)

    I format everything as tablular and remove "Field Headers"

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pivot Table : Planned and Actual Count Over Same Time Period

    That was a new level of insight to the data...
    Yes, I think that's important. For example, looking at the way you set up the data, you planned 50 for march and did 45. that doesn't sound so bad. That's a good way to see if you are working to capacity. However, looking at my pivot table, the ones that were planned weren't done until April and May. This means you are constantly working on backlog. Data like this supports hiring temporary help (or approving overtime) to remove backlog.
    Last edited by ChemistB; 02-10-2016 at 11:00 AM.

  7. #7
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425
    I don't think that you can format a pivot table the way you want it. I could do it with formulas if that's acceptable? How are the 4 box types differentiated?


    Yes formulas are acceptable..
    The 4 box types are dry,wet,non typical and typical

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pivot Table : Planned and Actual Count Over Same Time Period

    The 4 box types are dry,wet,non typical and typical
    Okay, so we'll put them in a column in Data (or are they linked to the box ID somehow (i.e. if it has "G" then it's "wet")?

  9. #9
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425
    Quote Originally Posted by ChemistB View Post
    Yes, I think that's important. For example, looking at the way you set up the data, you planned 50 for march and did 45. that doesn't sound so bad. That's a good way to see if you are working to capacity. However, looking at my pivot table, the ones that were planned weren't done until April and May. This means you are constantly working on backlog. Data like this supports hiring temporary help (or approving overtime) to remove backlog.

    Yes,you are right.
    Actually this is data from a completed project and I'm assigned the task of submitting a detailed report of the delays.This clearly points out the backlog

  10. #10
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425
    Quote Originally Posted by ChemistB View Post
    Okay, so we'll put them in a column in Data (or are they linked to the box ID somehow (i.e. if it has "G" then it's "wet")?
    No they are not linked to the id

  11. #11
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pivot Table : Planned and Actual Count Over Same Time Period

    I created this dynamic named range for the box data
    Box =DATA!$A$2:INDEX(DATA!$A:$A, MATCH("zzz",DATA!$A:$A ))
    Then for the others, I used OFFSET like so
    Planned = OFFSET(Box, 0, 3)

    This makes the formulas modify themselves as the data expands (or contracts) and makes the formulas more clear.
    First draft.
    In C2 dragged right (out to Z)
    =IF(TODAY()< MAX($B$2:B$2),"", EDATE(B2,1))

    In B3 dragged right
    =IF(LEN(B$2)>0, COUNTIFS(Sector, $A$1,Planned, ">="&B$2, Planned, "<"&EDATE(B$2,1)),"")

    In B4 dragged right
    =IF(LEN(B$2)>0, COUNTIFS(Sector, $A$1,Actual, ">="&B$2, Actual, "<"&EDATE(B$2,1)),"")

    Similar type of formulas in rows 5 to 11. For the box types, I counted "Actual"
    Questions?
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Re: Pivot Table : Planned and Actual Count Over Same Time Period

    Quote Originally Posted by ChemistB View Post
    I created this dynamic named range for the box data
    Box =DATA!$A$2:INDEX(DATA!$A:$A, MATCH("zzz",DATA!$A:$A ))
    Then for the others, I used OFFSET like so
    Planned = OFFSET(Box, 0, 3)

    This makes the formulas modify themselves as the data expands (or contracts) and makes the formulas more clear.
    First draft.
    In C2 dragged right (out to Z)
    =IF(TODAY()< MAX($B$2:B$2),"", EDATE(B2,1))

    In B3 dragged right
    =IF(LEN(B$2)>0, COUNTIFS(Sector, $A$1,Planned, ">="&B$2, Planned, "<"&EDATE(B$2,1)),"")

    In B4 dragged right
    =IF(LEN(B$2)>0, COUNTIFS(Sector, $A$1,Actual, ">="&B$2, Actual, "<"&EDATE(B$2,1)),"")

    Similar type of formulas in rows 5 to 11. For the box types, I counted "Actual"
    Questions?

    Thanks for the effort ChemistB!!!
    The formulas seem to be too complex for my level of Excel expertise..
    I decided to stick to your old pivot table with a small tweak ( % values for Planned).I thought this would give a better picture.
    and moreover,the data in the way I requested ( variance) has already been presented before,so would be of a lesser value to the management.
    Thanks once more and I will get back once I get stuck again!!!!!!
    Cheers!!!

+ 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] Planned vs Actual Formula
    By juan.doe in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 05-01-2021, 07:27 AM
  2. Replies: 0
    Last Post: 09-03-2015, 07:31 AM
  3. Planned Time Vs Actual
    By namluke in forum Excel General
    Replies: 2
    Last Post: 01-06-2015, 06:52 AM
  4. Calculate time difference for planned v actual times
    By LawryA in forum Excel General
    Replies: 1
    Last Post: 06-30-2014, 01:46 PM
  5. Planned vs. Actual Gantt
    By mycon73 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-22-2011, 01:10 AM
  6. Excel 2007 : Gathering Planned and Actual hours
    By Kburtt in forum Excel General
    Replies: 0
    Last Post: 02-28-2011, 10:42 PM
  7. Pivot table issue (doesn't come out as planned)
    By koklok in forum Excel General
    Replies: 4
    Last Post: 10-08-2008, 04:29 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