Create a new list, with calculations. Tough one

Weduku

New Member
Joined
Dec 19, 2019
Messages
3
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi,

I have tough problem that I can't find any solutions to. I have been trying to solve this problem for almost a day, and can't find any way to do this without doing it manually. Look at the link in order the open the attachment i am working with. Create a new list, with calculations
Column A, B and C are the original list. Column E, F and G shows how I would like the list to look.

I have this list with around 500 rows, that shows debt between different companies (more than 50 companies). The list shows different loans, and there are therefore often more than one loan between the companies. I would like to calculate easily how much company 1 owes company 2 etc. (and in my real document, how much company 8 owes company 47)

The original list consist of all the loans between the different companies. The important this is that the company in column B (counterparty) owes the company in column A (company). There can also be several loans between the same companies, so that company 1 can be both in column A and B against the same company. And also whether you should subtract or add the number depends on column A and B. For example in cell G3 in the result list I made. The formula is C3-C9+C21. In this example, the positives are because 2 owes company 1 money, and the negative are the opposite.

I would like at the end to have a list of which company owes which company money. I am unsure how to generate the list in column E, F and G.


Any help would be greatly appreciated!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Look at the link in order the open the attachment i am working with.
The link is a cross post to another forum. Please be aware that all excel help forums have rules about cross posting, some stricter than others, but the main point of them is that you clearly state all of the places that you have asked the same question (with links) so that people can see what progress (if any) has already been made. The forum that you have linked to above also has this rule.

You will need to provide a data sample here, attachments on cross posts can only be downloaded by people with accounts registered on the host forum.
 
Upvote 0
Hi,
I could not look at your Excel file, but it sound like something I did in the past.
And I happen to know there is even a tutorial on YouTube on something simular. Both a solution with formulae and Power Query are offered.
 
Upvote 0

Forum statistics

Threads
1,214,822
Messages
6,121,772
Members
449,049
Latest member
greyangel23

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