Hi all,
I hope you're doing well.
I’m looking for some assistance with a task related to my current dataset.
The dataset contains around 5,000 rows and includes about 250 unique locations. Please see here a sample.
Sample of dataset
Problem:
- I have used index match to link the accommodation costs (from another dataset) to all the locations and associated units.
To avoid double counting of costs and to accurately divide the accommodation costs over the units: I want to divide the accommodation costs using the FTE for each 'unique' location.
- So for example in this sample dataset. I want to make a formula which for "Roosendaal, RES-123" will output me 0 and for "Roosendaal, RES-124 will output me 5.000, both in the accommodation column.
Due to the size of the data and reoccurence of steps, manually dividing the costs would be time-consuming. Therefore, I’m hoping you could provide guidance or a potential solution to automate this process.
Any help or suggestions on how to approach this would be greatly appreciated!
Thank you in advance for your support.
Best regards,
W
I hope you're doing well.
I’m looking for some assistance with a task related to my current dataset.
The dataset contains around 5,000 rows and includes about 250 unique locations. Please see here a sample.
Sample of dataset
Location | Unit | GP | FTE | Accommodation costs |
Roosendaal | RES-123 | - | - | 5.000 |
Roosendaal | RES-124 | 0 | 1,8 | 5.000 |
Amsterdam | 0 | 0 | 1,6 | - |
Amsterdam | RES-xxx | - | - | - |
Amsterdam | RES-xxx | - | - | - |
Amsterdam | 0 | - | - | - |
Breda | RES-xxx | - | - | 20.000 |
Breda | RES-xxx | 0 | 5,2 | 20.000 |
Breda | RES-xxx | - | - | 20.000 |
Breda | 0 | - | - | 20.000 |
Breda | 0 | - | - | 20.000 |
Breda | 0 | - | - | 20.000 |
Breda | 0 | - | - | 20.000 |
Breda | 0 | - | - | 20.000 |
Breda | 0 | - | - | 20.000 |
Breda | 0 | 0 | 0,1 | 20.000 |
Problem:
- I have used index match to link the accommodation costs (from another dataset) to all the locations and associated units.
To avoid double counting of costs and to accurately divide the accommodation costs over the units: I want to divide the accommodation costs using the FTE for each 'unique' location.
- So for example in this sample dataset. I want to make a formula which for "Roosendaal, RES-123" will output me 0 and for "Roosendaal, RES-124 will output me 5.000, both in the accommodation column.
Due to the size of the data and reoccurence of steps, manually dividing the costs would be time-consuming. Therefore, I’m hoping you could provide guidance or a potential solution to automate this process.
Any help or suggestions on how to approach this would be greatly appreciated!
Thank you in advance for your support.
Best regards,
W