+ Reply to Thread
Results 1 to 6 of 6

Pivot tables counting

Hybrid View

  1. #1
    Registered User
    Join Date
    01-31-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Pivot tables counting

    I have identical numbers in one excel, left is old report, right is new report.
    Now what I need is the differences between the two sitiuations. So, the difference between left and right.

    Left is A -- identical number with right next to it old usage in seconds.

    Right is D -- identical number with right next to it new usage in seconds.

    What I'm searching is the difference between thise two.

    So I need two new collums right next to it or in a new tab with:

    every number 1 time with total sec right behind it right minus left

    I made an example of the wanted results in G / H / I

    Hope someone can help me with this?


    oud rapp nieuw rapp draaitabelvb.xlsx

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Pivot tables counting

    Press Alt-D-P to run the pivot table wizard.

    Chose "Multiple Consolidation ranges" and "Pivot Table" then click Next.
    Choose "I will create the page fields" then click Next.
    Enter range Blad2!$A$3:$B$6700 and click Add.
    Enter range Blad2!$D$3:$E$8495 and click Add.
    Click Next.
    Choose "Existing worksheet" and enter range Blad2!$K$2.
    Click Finish.

    This will give you a third pivot table, which combines all the Rijlabels values from your first two pivot tables, and shows both Sec values.

    Right click on this new pivot table, choose "Pivot Table Options", select "Totals & Filters", and untick both Grand Totals boxes. Click OK.

    Now, in cell N4, enter:
    Formula: copy to clipboard
    =M4-L4
    and copy down.

    Done!
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    01-31-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Pivot tables counting

    Thanks a lot! It works great!

  4. #4
    Registered User
    Join Date
    01-31-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Pivot tables counting

    I can't get that one unfortunately, can you do that in the sheet and put it back here OllyXLS?
    Alt-D-P and nothing much happens here...

  5. #5
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Pivot tables counting

    Sorry - I can't upload files from this computer...

    Alt-D-P is the keyboard shortcut I used to open the Pivot Table Wizard - I'm guessing your Dutch keyboard shortcuts are a bit different!

    Unfortunately the Pivot Table Wizard was removed from the ribbon / menu from 2007 onwards. Microsoft provide the following tip, to get to this Wizard in 2007 onwards:

    To add the PivotTable and PivotChart Wizard to the Quick Access Toolbar, do the following:
    1.Click the arrow next to the toolbar and then click More Commands.
    2.Under Choose commands from, select All Commands.
    3.In the list, select PivotTable and PivotChart Wizard, click Add, and then click OK.

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Pivot tables counting

    Great

    If your question has been answered, please mark your thread SOLVED. You may also wish to add reputation to those who helped 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. Excel 2007 pivot tables counting dates help needed
    By petal522 in forum Excel General
    Replies: 1
    Last Post: 10-24-2012, 12:11 AM
  2. Counting Observations in Pivot Tables
    By epicentre in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2008, 01:53 AM
  3. Counting discrete references in pivot tables
    By kosciosco in forum Excel General
    Replies: 2
    Last Post: 08-24-2006, 11:12 AM
  4. Pivot Tables - counting instances of a number of words
    By Chris Segrave in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-08-2005, 01:05 AM
  5. Double Counting in Pivot Tables
    By CYB in forum Excel General
    Replies: 0
    Last Post: 08-10-2005, 07:18 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