Generate a matrix from two tables and manually populate values, preserving matrix relationships if the generating tables change

alexdi

New Member
Joined
Dec 30, 2019
Messages
9
Office Version
  1. 365
Platform
  1. Windows
I'm having some trouble creating a mechanism generates a matrix I can update and tracks value pairings in such a way that new or changed data doesn't corrupt the matrix relationships.

Starting with:
Group sheet and Role sheet:
1579193883780.png
1579193914410.png

Goal:
Generated matrix:
1579193953760.png


Change-tracking:
Matrix filled:
1579194007280.png

Group AB added, Group B removed, RoleA renamed, RoleBC added:
1579194198994.png
1579194548803.png

Matrix refreshed to update header rows and columns, preserving relationships:
1579194506713.png


Non-requirements:
The matrix does not need to preserve sorting or filtering on the Group or Role sheets.
The matrix does not need to 'remember' data associated with group/role pairs that have been deleted from the source sheets.

Also:
There is an ID column on the Group and Role sheets.

I'm not sure how best to achieve this. I can generate a pivot table, but I can't seem to update the values in the generated table (PT seems to be designed for data summary rather than data entry). I haven't been able to figure out how to make a query that uses the Groups table and then adds the Roles table as additional column headers, and then properly tracks manually-entered values. I have an inkling creating a data relationship might help, but unsure how to apply that.

Is there a 'best practice' or tool I should be using to achieve this? Thanks for any advice!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Cross posted Generate a matrix from two tables, manually populating values, preserving relationships

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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