How to add multiple columns when adding new row to dropdown list

This is what I am talking about How to open a row for editing (modal) from a different table using a formula - #2 by Bobby_Ritter? I tried alternative approaches but I couldn’t get it work without this approach.

If I just add a company it is easy to open a row. But if I want to edit it then I haven’t been successful at filtering it to choose the right row. That is why I chose above method.