Pivottable display multiple matching rows

cactus12

New Member
Joined
Apr 29, 2020
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
I have two tables with the following headers/data, where the first table has one result per ID and the second table has multiple results per ID, e.g.:

NAME, DATA1, DATA2, DATA3, ID
Joe Smith, M, New York, 10101, 9898
Mary Jones, F, New York, 10110, 2424

NAME, ID, DATA4, DATA5, DATA6
Joe Smith, 9898, 1/1/20, active, B
Joe Smith, 9898, 2/1/20, active, B
Joe Smith, 9898, 3/1/20, active, B
Joe Smith, 9898, 4/1/20, not active, (null)
Joe Smith, 9898, 5/1/20, not active, (null)
Mary Jones, 2424, 1/1/20, not active, (null)
Mary Jones, 2424, 2/1/20, active, C
Mary Jones, 2424, 3/1/20, active, C
Mary Jones, 2424, 4/1/20, active, A
Mary Jones, 2424, 5/1/20, active, A


I have a relationship set up on ID, and the pivottable will show summed vaues correctly, but I cannot get it to display something like:

Joe Smith
M
New York
10101
9898
1/1/20
active
B
2/1/20
active
B
3/1/20
active
B
4/1/20
not active
5/1/20
not active
Mary Jones
F
New York
10110
2424
1/1/20
not active
2/1/20
active
C
3/1/20
active
C
4/1/20
active
A
5/1/20
active
A

Is this possible? Thanks in advance.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Here is a better representation of the data display I am looking for:
VBA Code:
Joe Smith 
    M
        New York
            10101
                9898
                    1/1/20
                        active
                            B
                    2/1/20
                        active
                            B
                    3/1/20
                        active
                            B
                    4/1/20
                        not active
                    5/1/20
                        not active
Mary Jones 
    F
        New York
            10110
                2424
                    1/1/20
                        not active
                    2/1/20
                        active
                            C
                    3/1/20
                        active
                            C
                    4/1/20
                        active
                            A
                    5/1/20
                        active
                            A
 
Upvote 0

Forum statistics

Threads
1,215,460
Messages
6,124,949
Members
449,198
Latest member
MhammadishaqKhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top