I would like to ask you for your help. For my thesis, i’m struggling with something that seems easy, but yet i don’t know how to deal with it.
I have data for more than thousand companies, that is organised as followed:

But I want to reshape it, so it looks like this (for importing it into Eviews):

I tried using a pivot table but I didn’t end up with the result I wanted. And transposing every balanssheet item for more than thousand companies doesn’t seem the right way as it is too time-consuming.
If anyone could help me with this, i would be so grateful as my deadline is getting closer and closer.
Thank you in advance :-)
