Combining data sources with only unique values & calculations

Darkzler

New Member
Joined
Sep 25, 2015
Messages
26
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

I'm stuck to put it mildly.

I got three data sources:
File #1 Volume - Transport level
File #2 Finances
File #3 Volume - Shipment level

My task is to combine the three sources so that our production team get a fair view of all the elements. For example, a transport that is "owned" (Majority of the freight cost) by a specific haulier. I then want to add the shipments that are allocated to this specific transport, i.e. collect the income but also show what customers that owned the shipments. I also have to spread the transport cost (900€) based on the allocated shipments weight so I can follow the customer and haulier profitability.

How can I best combine and link the data?

Transport: XXXXXX
Cost: 900€
Haulier: ABC

Allocated on transport XXXXX is:
Shipment A
- Inc: 110€
- Customer: A1
- Weight: 1kg
Shipment B
- Inc: 220€
- Customer: A2
- Weight: 2kg
Shipment C
- Inc: 330€
- Customer: A3
- Weight: 3kg

The data structure is as attached.

My thought was to add all three sources into Power Query and then start linking the information but I'm not sure how to do it, both efficient and at all actually.
 

Attachments

  • Structure.PNG
    Structure.PNG
    11.5 KB · Views: 25

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,226,730
Messages
6,192,708
Members
453,748
Latest member
akhtarf3

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