Hi,
Greetings !
I would like to create another columns after existing table, based on value written by user.
I understand that the value can be input via 'Text Box' tools, but I have difficulties to sort back the column sequence.
For example, user input 'cost centre' : 123001-AB
If its match with any 'cost centre', it require to create another column on the right side ( only require for non-zero column ).
Input data :
| Cost Centre | Basic Salary | House Allowance | Car Allowance | Phone Allowance |
| 154001-DE | 5000 | 400 | 500 | 100 |
| 123001-AB | 4000 | 300 | | 100 |
| 123001-ZY | 3000 | | 500 | 100 |
| 154001-KU | 2000 | 300 | 500 | 100 |
Desired output :
| Cost Centre | Basic Salary | Basic Salary - 123001-AB | House Allowance | House Allowance - 123001-AB | Car Allowance | Phone Allowance | Phone Allowance - 123001-AB |
| 154001-DE | 5000 | | 400 | | 500 | 100 | |
| 123001-AB | | 4000 | | 300 | | | 100 |
| 123001-ZY | 3000 | | | | 500 | 100 | |
| 154001-KU | 2000 | | 300 | | 500 | 100 | |
The main issue is the column sequence is not on any sorting order.
Thank you in advance !