I need to build a table based on the following data:
| Ref | Product |
|---|---|
| R1 | ProdA |
| R2 | ProdC |
| R1 | ProdB |
| R3 | ProdA |
| R4 | ProdC |
And here the result I need:
| My Product | All Ref |
|---|---|
| ProdA | R1#R3 |
| ProdC | R2#R4 |
The particularity is that the 'My Product' column is computed elsewhere. So I need an arrayformula based on 'My Product' column to look in the first table to build the 'All Ref' column. You follow me?
I know that Arrayformula is not compatible with filter and join ... I expect a solution like this one Google sheet array formula + Join + Filter but not sure to understand all steps and if really adapted to my case study.
Hope you can help.

