+ Reply to Thread
Results 1 to 2 of 2

Pivot table with 2 overlapping filter

  1. #1
    Registered User
    Join Date
    06-09-2022
    Location
    Montreal
    MS-Off Ver
    365
    Posts
    1

    Question Pivot table with 2 overlapping filter

    let's say I have a table for the hours put by team members on each project with the name of the resource responsible for the project

    Project Reporter Worked Hours
    Project A Bob Nancy 2
    Project B Nancy John 5
    Project B Nancy Bob 6
    Project C Bob John 3
    Project C Bob Nancy 4
    Project D John Bob 1
    Project E Nancy John 2
    Project F Nancy Bob 4


    I'm trying to have a pivot table, for Bob, that would list the hours spent on projects where Bob is designed as reporter but also Bob's hours in the other projects. So the result would be something like

    Project A:
    -Nancy 2hres

    Project B:
    -Bob 6hres

    Project C:
    -John 3hre
    -Nancy 4hre

    Project D:
    -Bob 1h

    Project F:
    -Bob 4hres

    I can't wrap my head around how to use the filters to get that. If I filter only the project where Bob is reporter, I'm missing all of Bob's hours in other projects. If I filter on lines where Bob has hours, I'm missing all the other resources' hours in Bob's projects.

    I'm starting to thing I'll to create another column with a calculated value, but that would be a lot of rework when adding or removing new ressources that would need their report.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Pivot table with 2 overlapping filter

    Hello JDominicLT and Welcome to Excel Forum.
    Not a pivot table, however it will produce the results listed in post #1.
    This proposal uses Advanced Filter (Data tab)
    The formula used for the filter is: =OR(B2=F$1,C2=F$1)
    Not that the user will need to put the name of the Reporter/Worker in cell F1 and rerun Advanced Filter if the name is changed.
    The linked video explain how this works starting at the 5:46 mark: https://www.youtube.com/watch?v=k25Dev9CUas
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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: 1
    Last Post: 02-25-2018, 09:47 PM
  2. Two pivot tables with the filter of pivot table 2 to automatically update to filter 1
    By StefaniaLa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-13-2018, 06:19 PM
  3. Expanding cell in a pivot table without overlapping the pivot below it
    By telecaster23 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-17-2015, 08:40 AM
  4. Replies: 6
    Last Post: 07-31-2014, 12:56 PM
  5. Pivot table, assigning a cell wo be change the Pivot table filter
    By jwongsf in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2012, 05:00 PM
  6. Pivot table bar graph- overlapping with percentages?
    By Blake-Oregon in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-29-2012, 11:06 PM
  7. Chart data from pivot table using overlapping years
    By SueWithQuestion in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-18-2011, 12:20 PM

Tags for this Thread

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