Create many to many relationship between list and table, evaluate function, apply grouping and print results

regresss

Board Regular
Joined
May 20, 2015
Messages
68
Hello, I have a list and a table. Could I create a data model between these two objects, with relationship between each list element and each element of one column in table? This leads table of list length and table length width.

pivot.png

Note: ignore that formula above could be applied on table2 to reduce the dimensions.


Furthermore, I would like to evaluate a function for each element of new table and run some arbitrary grouping logic on top of the results. All this in memory with data model, displaying only the last output.


For instance, row C can be grouped X for C_1 to C_2, Y for C_3 to C_7, Z for C_8 to C_10. And for these categories I want to sum up the results, for each row of original list. Final output is then original list with three columns (X, Y, Z).


I am fine if you just point me in direction where to look.
 
Last edited:

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,223,757
Messages
6,174,322
Members
452,555
Latest member
colc007

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