I'm helping a group update a competition score sheet and need help converting a table with gaps to a list.
Before Example
| Number | Name | address | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|---|
| 1 | david | xxdavid | apples | potatos | |||
| 2 | helen | xxhelen | pears | ||||
| 3 | caroline | xxcaroline | pears | potatos | carrots | ||
| 4 | jacqui | xxjacqui | carrots | beans | |||
| 5 | Nigel | zznigel | pears | carrots |
After Example
I'm comfortable doing this in R, however this group is less tech savvy (I won't be able to help them every time), and so I was hoping to find a way to do this purely in excel with as few steps as possible. The after example is to be used for a mail merge which creates the entry cards.
In practice there are many more entrants/categories or I would just do it manually for 5 people!
Grateful for any advice, i'm sure I can scale up to the required table size if someone could suggest a step/function way forward.
EDIT: changed before example to markdown
