Hi,
i have two scenario, my main object to fill the External city blank from Internal city by using reference.
1st Scenario
i have only one internal row, with using ref column i want to bring the city to external row
| leg | Value | City | ref |
| External | 2 | | 253 |
| External | 3 | | 253 |
| External | 1 | | 253 |
| Internal | 6 | Chennai | 253 |
2nd scenario
i have two internal line by using ref column and value, i need to bring the city to external, like for Chennai we have value 4 for external any number which sum to 4 i need to give Chennai and remaining I need to give Delhi
| leg | Value | City | ref |
| External | 2 | | 253 |
| External | 3 | | 253 |
| External | 1 | | 253 |
| External | 1 | | 253 |
| Internal | 4 | Chennai | 253 |
| Internal | 3 | Delhi | 253 |
kindly help how to achieve this using Alteryx