I have table that looks like this from A1-B10
| A | B | |
|---|---|---|
| 1 | ID | Animal |
| 2 | TEST1 | Zebra |
| 3 | TEST2 | Zebra |
| 4 | TEST4 | Zebra |
| 5 | TEST1 | Giraffe |
| 6 | TEST2 | Giraffe |
| 7 | TEST4 | Monkey |
| 8 | TEST5 | Monkey |
| 9 | TEST5 | Cat |
| 10 | TEST1 | Cat |
Currently i look down the B1-B10 list and copy and paste to column C,D,E...etc
So a formula should be able to look for all the Animals associated with Tests and populate all results horizontally.
| ID | Animal | Animal | Animal |
|---|---|---|---|
| TEST1 | Zebra | Giraffe | Cat |
| TEST2 | Zebra | Giraffe | |
| TEST3 | |||
| TEST4 | Zebra | Monkey | |
| TEST5 | Monkey | Cat |






If you have Excel 365 you can use this formula in
F2to return all animals of TEST!