I'm Having the Data as below,
| Category |
| Home |
| Furniture |
| Dining |
| Office |
| Printers |
| Laptops |
| Library |
| Books |
| Pens |
And So on...
I need to split this "Category" column into Two Columns "Category1"and "Category2" .
Output:
| Category1 | Category2 |
| Home | Furniture |
| Home | Dining |
| Office | Printers |
| Office | Laptops |
| Library | Books |
| Library | Pens |
Can Somebody help on this please?. After splitting into two I need to left join both the output(which I'm aware).
Hey @kiotsuresh,
Cross tab is tool to go too when you want to make rows into column headers:
Any questions or issues please ask :)
HTH!
Ira
I have Data like this,
Name
Suresh
Kumar
Ram
Rajesh
and so on. will this solution work in this case?
@kiotsuresh Does the extra spaces mean its a second name?
Have Updated my Query
I have Updated the Post Sir.
