Hello!
Would appreciate your help.I have source data as below.
| Name | Date | ABC_Type | ABC_Quantity | ABC_Model | DEF_Type | DEF_Quantity | DEF_Model |
| XXX | 1000 | Type1 | 100 | A | Type2 | 200 | C |
| YYY | 2000 | Type2 | 200 | A | Type3 | 200 | A |
| ZZZ | 2000 | Type1 | 300 | B | Type1 | 200 | A |
| | | | | | | | |
I want to make above table result in a table below in the simplest way with these traits/needs:
1. ABC, DEF columns are fixed/consitent in all source files, so I want the new column "Category" to be able to get the data derived directly from the column titles via some kind of dynamic formula.
2. The suffixes (Type, Quantiy, Model) are also consistent for each ABC, DEFs.
| Name | Date | Category | Type | Quantity | Model |
| | | ABC | Type1 | 100 | A |
| | | ABC | Type2 | 200 | A |
| | | ABC | Type1 | 300 | B |
| | | DEF | Type2 | 200 | C |
| | | DEF | Type3 | 200 | A |
| | | DEF | Type1 | 200 | A |
Thank you very much for your time and help.