Original table
I have this table in Excel or LibreOffice.
| Unit number | Type | Name |
|---|---|---|
| 1 | Object | Top |
| 1 | Object | Bottom |
| 1 | Object | Left |
| 1 | Object | Right |
| 1 | Object | Back |
| 1 | Object | Front |
| 1 | Property | Right-Fixed |
| 1 | Property | Left-Fixed |
| 1 | Property | 4-legs |
New table
I want to convert this table to a new one. I want to keep only the rows with the Type equal to Object and apply the Properties as new columns. Like below.
| Unit number | Type | Name | Right-fixed | Left-fixed | 4-legs |
|---|---|---|---|---|---|
| 1 | Object | Top | |||
| 1 | Object | Bottom | True | ||
| 1 | Object | Left | True | ||
| 1 | Object | Right | True | ||
| 1 | Object | Back | |||
| 1 | Object | Front |
Question
How can I do that in Excel or LibreOffice? My options are:
- Formula-based approaches.
- Will it get too complex?
- VBA macro programming.
- Is it overkill for this problem?
I'd appreciate any hint or help.
Note
Above, I have shown just the Unit number of 1 as a sample. But unit numbers could continue, like 2, 3, and more.


