Hello,

I would like to ask how I could match firms as follows. As you can see from the table on the left side of the picture, I have private-firms and public firms in my dataset. I am trying to match these two types of firms just like the table on the right side of the picture. I apologize for my poor explanations. I could not explain it well since I even could not get a hint of what command I have to use; instead, I chose to show the example. I appreciate any comments.

Array