I want to select specific columns by Column Name from a table in Excel Online Workbook and delete other unwanted columns. I want to do this using Office Scripts.
Categ_No | Position | Salary | Bonus | Increment_Percentage |
---|---|---|---|---|
CAT01 | Accountant | 100K | 25K | 5% |
CAT02 | Controller | 80K | 20K | 7% |
CAT03 | Tax Analyst | 70K | 15K | 6% |
CAT04 | Director | 200K | 35K | 8% |
As above table shows I want only Categ_No ,Position and Bonus columns to be selected by column name using Office Scripts and delete other two columns(Salary and Increment_Percentage).
I'm new to the Office Scripts and any help would be super appreciate!