Tabellab

Who Sells What to Whom? Map a Group's Intercompany Flows

Lesson 1 of 20Lab

All lessons
  1. Who Sells What to Whom? Map a Group's Intercompany FlowsLabFree
  2. The Cost Plus Method: Mark-up on the Cost BaseLab Locked
  3. The Resale Price Method: Working Back from the Gross MarginLab Locked
  4. TNMM: Operating Margin, Net Cost Plus & Berry RatioLab Locked
  5. The Comparables Set & the Interquartile RangeLab Locked
  6. Testing the Result & Adjusting to the MedianLab Locked
  7. Intercompany Services & Management Fees: Allocation KeysLab Locked
  8. Year-End True-Up & Its Effect on Each Entity's ProfitLab Locked
  9. The CUP Method: Independent Prices & Comparability AdjustmentsLab Locked
  10. Royalties: Benchmarking a Brand Licence & Testing What the Licensee Can BearLab Locked
  11. Intercompany Loans: Base Rate, Credit Spread & the Arm's Length InterestLab Locked
  12. Pass-Through Costs: Which Costs Earn the Mark-up?Lab Locked
  13. Comparability Adjustments: The Working Capital AdjustmentLab Locked
  14. Setting Next Year's Price: Target Margin Policy & Volume ScenariosLab Locked
  15. Routine Returns & the Residual: Who Earns the Rest of the Group Profit?Lab Locked
  16. Project: The Year-End Transfer Pricing DashboardLab Locked
  17. Residual Profit Split Between Two Entrepreneurs: Capitalised R&D and Marketing as Split Keys (with Chart)Lab Locked
  18. Cost Contribution Arrangements: Contributions vs Expected Benefits and the Balancing Payments (with Chart)Lab Locked
  19. Currency Risk at a Limited-Risk Distributor: Separating the FX Result and Compensating It (with Chart)Lab Locked
  20. Final Project: Mid-Year Monitoring – Projected Margins, Status and the Q4 Price Adjustment (with Chart)Lab Locked

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — $9.90
Loading the spreadsheet…

Transfer pricing starts with a map, not with a method

Ask a group finance team about transfer pricing and the conversation quickly turns to methods, comparables and benchmarking studies. But every one of those steps assumes you already know something more basic: which group company sells what to which other group company, and how much money moves. In a real group the answer is spread over thousands of intercompany invoices, a few licence agreements, some loans and a service charge that someone set up years ago. Until those flows sit in one table, nobody can say whether the prices are reasonable, which entity’s profit depends on them, or what needs to be documented.

This free lesson is for accountants and controllers who prepare intercompany charges, tax and transfer pricing assistants starting their first documentation project, auditors who need to understand a group’s internal flows, finance students preparing for international tax exams, and owners of small multinational groups who suddenly have a subsidiary abroad. You only need basic Excel: the lab above uses SUMIFS, SUMIF, a subtraction, conditional formatting and a column chart.

Throughout the course we follow Aurora Optics, a fictional group that makes camera lenses, microscope optics and eyewear lenses. Its five entities trade with each other in 18 intercompany transactions in 2026. In this lab you map those flows, calculate each entity’s net position and find the entity whose profit depends most on group prices. The course explains common ideas from the OECD Transfer Pricing Guidelines in simplified form; it is educational only, not tax advice, and not the rules of any particular country.

The core concept: transfer prices decide where the profit shows up

Transfer prices are the prices that entities of the same group charge each other: for goods, services, licences of patents and brands (royalties), loans (interest) and the use of property (rent). Each entity keeps its own books and usually pays tax in its own country, so the transfer price decides in which entity, and therefore in which country, the profit is reported.

Here is the key point, using Aurora’s numbers. If Manufacturing charged Sales West 1,000,000 more for camera lenses, Manufacturing’s profit would rise by 1,000,000 and Sales West’s would fall by exactly the same amount. The group’s consolidated profit would not change at all, because in consolidation the intercompany sale and purchase cancel out. Transfer pricing is therefore not about the group’s total profit; it is about how that profit is split between the entities.

Because the split affects how much tax each country can collect, tax authorities expect group prices to follow the arm’s length principle: the price should be the one that independent companies would have agreed in comparable circumstances. The principle is set out in Article 9 of the OECD Model Tax Convention and explained in detail in the OECD Transfer Pricing Guidelines, and many countries have built it into their own law, for example Section 482 of the US Internal Revenue Code. The details, documentation duties and penalties differ from country to country.

Before any of that analysis, you need the roles of the entities. Aurora has five:

  • Aurora Holdings owns the brand and the patents, lends money to the group and rents out the office building.
  • Aurora Manufacturing is a contract manufacturer: it makes the lenses and sells them to the two distributors.
  • Aurora Sales West and Aurora Sales East are distributors: they buy finished goods and sell them to outside customers in their regions.
  • Aurora Shared Services provides IT, HR and finance support to the other entities.

Roles matter because the arm’s length analysis later in the course starts with a functional analysis: which entity performs which functions, uses which assets and bears which risks. A routine distributor and a brand owner should not earn the same kind of return.

Worked example: the net position of each Aurora entity

The lab lists the 18 transactions with seller in column B, buyer in column C, type in D and amount in F (rows 2 to 19). For each entity you calculate three numbers:

  • IC revenue (what it sells inside the group): C22: =SUMIFS($F$2:$F$19,$B$2:$B$19,B22) — the seller column is the criteria range.
  • IC costs (what it buys inside the group): D22: =SUMIFS($F$2:$F$19,$C$2:$C$19,B22) — the buyer column is the criteria range.
  • Net position: E22: =C22-D22. A positive number is a net seller, a negative number a net buyer.

Copy the three formulas down to row 26 and total them in row 27. The result, in USD:

Aurora Optics: intercompany position per entity, 2026, USD
Entity (B)IC revenue (C)IC costs (D)Net position (E)
Aurora Holdings2,232,0000+2,232,000
Aurora Manufacturing21,000,0001,299,135+19,700,865
Aurora Sales West450,00013,744,980−13,294,980
Aurora Sales East180,0009,579,885−9,399,885
Aurora Shared Services882,000120,000+762,000
Group total24,744,00024,744,0000

The group total of the net positions is exactly 0, and it must be: every intercompany sale is another group entity’s purchase, so the 24,744,000 of IC revenue and the 24,744,000 of IC costs are the same transactions seen from two sides. That zero is your built-in control. If E27 shows anything else, a criteria column is swapped or a row is missing from a range.

Reading the map: Manufacturing is by far the largest net seller (+19,700,865), because it sells all the goods. Holdings earns royalties, interest and rent (2,232,000) and buys nothing from the group. Shared Services invoices 387,135 + 280,980 + 213,885 = 882,000 and pays 120,000 rent, so it is a small net seller (+762,000). The two distributors are the net buyers, and Sales West is the larger one at −13,294,980.

Which price matters most for Sales West? With SUMIFS and two criteria you can split its IC costs by type: E30: =SUMIFS($F$2:$F$19,$C$2:$C$19,B24,$D$2:$D$19,"Goods")/D24. Goods make up 12,780,000 of its 13,744,980, or 93.0 %. Note that this includes the 180,000 stock transfer from Sales East, not only the purchases from Manufacturing. So the price that drives Sales West’s profit is the price of the goods it buys, and that is exactly what the resale price method in lesson 3 tests.

Net intercompany position per entity, 2026 (USD m)-15-10-505101520+2.23Holdings+19.70Manufacturing−13.29Sales West−9.40Sales East+0.76Shared SvcsNet sellerNet buyer
Figure 1. The chart you build in the lab. Manufacturing is the big net seller, the two distributors are the net buyers, and Sales West (−13,294,980) is the entity whose profit depends most on intercompany prices. The columns add up to zero.

Holdingsbrand, patents, loansManufacturingcontract manufacturerSales WestdistributorSales EastdistributorShared ServicesIT, HR, financeRent 0.12 mRoyalty + interest0.91 mRoyalty + interest0.52 mRoyalty + interest0.68 mServices0.88 m in totalGoods 12.60 mGoods 8.40 mStock transfer West → East 0.45 m (0.18 m back)
Figure 2. Who sells what to whom, in USD millions (simplified). Goods flow from Manufacturing to the distributors; royalties, interest and rent flow to Holdings; service charges flow from Shared Services to the operating entities. The service arrow stands for three charges, to Manufacturing, Sales West and Sales East.

How to build an intercompany map in Excel, step by step

  1. Collect one row per flow. Columns: ID, Seller, Buyer, Type, Detail, Amount. Take the data from the intercompany accounts or the consolidation system, not from memory. Use the same currency for all amounts, or add a currency column and convert first.
  2. Standardise the names. Every entity name must be spelled the same way in the seller and buyer columns. Build a short entity list and use Data › Data Validation › List on both columns, so “Aurora Mfg” and “Aurora Manufacturing” cannot both appear.
  3. Make it a Table. Click in the data and press Ctrl+T (Cmd+T on a Mac). New transactions added below are then included in every formula automatically.
  4. List the entities. Type the five entity names in B22:B26. In Microsoft 365 you can get them from the data with =SORT(UNIQUE(VSTACK(B2:B19,C2:C19))).
  5. IC revenue. In C22 type =SUMIFS($F$2:$F$19,$B$2:$B$19,B22). Press F4 on each range to lock it. Fill down to C26 with Ctrl+D.
  6. IC costs. In D22 type =SUMIFS($F$2:$F$19,$C$2:$C$19,B22) and fill down.
  7. Net position. In E22 type =C22-D22 and fill down. Total C, D and E in row 27 with Alt+=.
  8. Check the zero. E27 must be 0. A rounding difference of a few cents can appear with converted currencies; anything bigger is an error in the data or the formulas.
  9. Highlight the net buyers. Select E22:E26, choose Home › Conditional Formatting › Highlight Cells Rules › Less Than, enter 0 and pick light red fill.
  10. Chart it. Select B21:B26, hold Ctrl and select E21:E26, then Insert › Column Chart (or press Alt+F1 on Windows for a quick default chart). Net buyers appear below the axis.
  11. Summarise by type. In a side table, =SUMIF($D$2:$D$19,H2,$F$2:$F$19) gives the volume per transaction type. This is the overview most documentation starts with.
A PivotTable (Insert › PivotTable) with Seller in rows, Buyer in columns and Amount in values gives you an intercompany matrix in seconds. It is great for exploring, but the SUMIFS version is easier to audit and stays live when you add rows to a Table.

Aurora Optics: intercompany volume by transaction type, 2026
Type (H)IC volume, USD (I)Share
Goods21,630,00087.4 %
Royalty1,890,0007.6 %
Services882,0003.6 %
Loan interest222,0000.9 %
Rent120,0000.5 %
Total IC volume24,744,000100.0 %

Goods dominate with 87.4 % of the volume, which tells you where most of the transfer pricing risk sits. But small flows are not unimportant: royalties of 1,890,000 move pure profit to the brand owner, and tax authorities often look closely at royalties, interest and management fees because there is no physical product to compare.

Transfer pricing basics course: intercompany transaction map and arm’s length margins in an Excel lab
Transfer pricing basics in Excel: map the flows, then price and test them with the cost plus, resale price and TNMM methods.

Common mistakes, and how to spot them

  • Swapping the seller and buyer columns. Revenue must use the seller column, costs the buyer column. If a distributor shows large IC revenue and a manufacturer large IC costs, the columns are swapped.
  • Forgetting the $ signs. Without absolute references, F2:F19 becomes F3:F20 in the next row and the totals quietly change. The zero check in E27 usually catches it.
  • Reversing the sign of the net position. Net position is revenue minus costs. If the distributors show positive numbers, you have calculated costs minus revenue.
  • Missing the unusual flows. A stock transfer between two distributors is still a sale of goods, and an office rent is still an intercompany transaction. Ask the accounting team for every intercompany account, not only the sales ledger.
  • Mixing currencies. Adding euro invoices and dollar invoices in one column gives meaningless totals. Convert to one currency first and document the rates.
  • Inconsistent names. “Aurora Sales West” and “Aurora Sales West ” (with a trailing space) are different criteria for SUMIFS, so some flows disappear from an entity. Use a drop-down list and check with =COUNTIF(B2:C19,"* ") for names that end with a space.
  • Drawing conclusions from the map alone. A large net position does not mean the prices are wrong. A contract manufacturer that sells everything it makes is supposed to be a big net seller. The map tells you where to look; the methods tell you whether the price is arm’s length.

Quick reference: the Excel functions and shortcuts in this lesson

Functions and shortcuts used for the intercompany map
Function / shortcutWhat it does hereExample
SUMIFSAdds the amounts where the seller (or buyer) is the entity=SUMIFS($F$2:$F$19,$B$2:$B$19,B22)
SUMIFS with two criteriaBuyer and type at the same time=SUMIFS($F$2:$F$19,$C$2:$C$19,B24,$D$2:$D$19,"Goods")
SUMIFVolume per transaction type=SUMIF($D$2:$D$19,H2,$F$2:$F$19)
UNIQUE + VSTACKEntity list from both columns (Microsoft 365)=SORT(UNIQUE(VSTACK(B2:B19,C2:C19)))
Conditional formattingLight red for net buyersHome › Conditional Formatting › Less Than 0
Column chartNet sellers above, net buyers below the axisInsert › Column Chart
F4Locks a range with $ signs$F$2:$F$19
Ctrl+TTurns the list into a TableCmd+T on a Mac
Alt+F1Inserts a default chart of the selectionWindows

Real-world uses

  • Transfer pricing documentation. Under the OECD approach, documentation is commonly organised as a master file and a local file, and both describe the intercompany transactions. A clean map by entity and type is the natural first table.
  • Intercompany reconciliation at month end. The same SUMIFS logic, run on each side’s books, shows where Manufacturing’s sales to Sales West do not match Sales West’s purchases from Manufacturing, before consolidation.
  • Planning a pricing change. Before changing a royalty rate or a mark-up, put the new price into the map and see how each entity’s net position moves. The group total does not change, but each country’s result does.
  • Due diligence on an acquisition. When a buyer looks at a group, the intercompany flows show which entity really earns the profit and which depends on group prices, which matters if the group is later split or restructured.
  • Audit planning. Auditors use a map like this to decide where intercompany pricing is material, and which entities to look at first.

What you will build in the rest of this course

This first lab is free. The other 19 lessons are part of the paid course ($9.90, one-time). They stay with Aurora Optics and take you from this map to a full arm’s length analysis.

The Cost Plus Method: Mark-up on the Cost Base. You build Manufacturing’s production cost base, measure its actual mark-up on the goods sold to the distributors and calculate the arm’s length price with the comparables’ mark-up. This is how many contract manufacturers are priced.

The Resale Price Method: Working Back from the Gross Margin. You measure Sales West’s gross margin per product line and work back from the resale price to the purchase price it should pay Manufacturing, the price that drives most of its costs.

TNMM: Operating Margin, Net Cost Plus & Berry Ratio. You calculate the three most common profit level indicators for Sales East over three years, year by year and weighted, and learn when each one is the right yardstick.

The Comparables Set & the Interquartile Range. You screen a search of twelve potential comparable distributors, keep the accepted ones and build the arm’s length range with QUARTILE.INC and MEDIAN, the core of a benchmarking study.

Testing the Result & Adjusting to the Median. You test Sales East’s operating margin year by year against the range and calculate the adjustment to the median for the years that fall outside it.

Intercompany Services & Management Fees: Allocation Keys. You remove the non-chargeable shareholder costs from Shared Services’ cost pool, allocate each service with its own key and add a mark-up, so each entity gets a defensible service charge.

Year-End True-Up & Its Effect on Each Entity’s Profit. You calculate the true-ups that bring both distributors to the target margin, book the opposite effect at Manufacturing and chart operating profit before and after.

Every lesson is a graded lab like the one above, with hints and feedback on common mistakes, and the course ends with an exam and a certificate.

Summary

Transfer prices do not change a group’s total profit, but they decide in which entity, and so in which country, that profit appears. That is why the arm’s length principle exists, and why every transfer pricing analysis starts with a map of the intercompany flows. With SUMIFS on the seller and buyer columns you get each entity’s IC revenue, IC costs and net position, and the net positions must add up to zero. For Aurora Optics the map shows Manufacturing as the big net seller and Sales West as the largest net buyer, with goods making up 93.0 % of what it pays inside the group.

Now scroll back up and try it in the free lab. Calculate the IC revenue, costs and net position for all five entities, colour the net buyers, chart the result, and let the numbers tell you which entity depends most on group prices.

Frequently asked questions

What is transfer pricing in simple terms?

Transfer pricing is the setting of prices for goods, services, licences, loans and rent between companies of the same group. The price decides in which group company, and so in which country, the profit is reported.

What is the arm’s length principle?

It says that a price between related companies should be the price independent companies would have agreed in comparable circumstances. It is set out in Article 9 of the OECD Model Tax Convention and explained in the OECD Transfer Pricing Guidelines.

Does transfer pricing change a group’s total profit?

Not before tax. A higher intercompany price raises the seller’s profit and lowers the buyer’s by the same amount, and both sides cancel out in consolidation. It does change how the profit and the tax are split between countries.

How do I summarise intercompany transactions by entity in Excel?

Use SUMIFS on the amount column with the seller column as criteria for revenue and the buyer column for costs, then subtract to get the net position. The net positions of all entities must add up to zero.

What are the main transfer pricing methods?

The OECD Guidelines describe five: the comparable uncontrolled price (CUP) method, the resale price method, the cost plus method, the transactional net margin method (TNMM) and the transactional profit split method.

Is this transfer pricing lesson free?

Yes. The first lesson with its interactive Excel lab is free. The other 19 lessons, the exam and the certificate are part of the paid course.

Keep going: Transfer Pricing Basics: Arm's Length, Margins & Benchmarking

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time $9.90.

  1. The Cost Plus Method: Mark-up on the Cost Base
  2. The Resale Price Method: Working Back from the Gross Margin
  3. TNMM: Operating Margin, Net Cost Plus & Berry Ratio
  4. The Comparables Set & the Interquartile Range
  5. Testing the Result & Adjusting to the Median
  6. Intercompany Services & Management Fees: Allocation Keys
  7. Year-End True-Up & Its Effect on Each Entity's Profit
  8. The CUP Method: Independent Prices & Comparability Adjustments
  9. Royalties: Benchmarking a Brand Licence & Testing What the Licensee Can Bear
  10. Intercompany Loans: Base Rate, Credit Spread & the Arm's Length Interest
  11. Pass-Through Costs: Which Costs Earn the Mark-up?
  12. Comparability Adjustments: The Working Capital Adjustment
  13. Setting Next Year's Price: Target Margin Policy & Volume Scenarios
  14. Routine Returns & the Residual: Who Earns the Rest of the Group Profit?
  15. Project: The Year-End Transfer Pricing Dashboard
  16. Residual Profit Split Between Two Entrepreneurs: Capitalised R&D and Marketing as Split Keys (with Chart)
  17. Cost Contribution Arrangements: Contributions vs Expected Benefits and the Balancing Payments (with Chart)
  18. Currency Risk at a Limited-Risk Distributor: Separating the FX Result and Compensating It (with Chart)
  19. Final Project: Mid-Year Monitoring – Projected Margins, Status and the Q4 Price Adjustment (with Chart)

Buy course — $9.90 See the full course