Excel Pivot Table Data Model Relation Ship Help

legenen

New Member
Joined
Jun 5, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I appreciate this forum for helping

I need help in combining data from two tables into a Pivot table in Excel My data are like given below

Table 1 that stores the stops between a start and end.
Table 2 that stores how much load was transferred between start and end.

I wanted to combine these table dynamically using pivot table and create a third table that shows the heading as the stops and sums the loads per stops like in table 3

Table 1
StartEndStops
ABA
ABA1
ABA2
ABB
CBC
CBA2
CBB
DEA1
DEE


Table 2
StartEndLoad
AB10000
CB5000
DE8000
AB9000
CB3000


I want table 3 to be created from these two tables and by linking start and end from table 1 and 2. I tried to setup relationship column but did not work due to duplicity,

I am trying to capture the Pivot or formula in table 3 and save it so I when I change the data in Table 1 or 2 and hit refresh, the table 3 changes automatically.

Really appreciate the help

Table 3

AA1A2BCE
10000+9000 = 1900010000+8000+9000=2700010000+5000+9000+3000=2700010000+5000+9000+3000=270005000+3000=80008000
 

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

Forum statistics

Threads
1,224,813
Messages
6,181,112
Members
453,021
Latest member
Justyna P

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