Hi,
I have a table like the one below, with banks from 70 countries.
Every variable name is composed by the bank name plus the iso code of the country (always three characters). All my variable names labels are the iso code.
I want to export to excel creating a sheet for each country, without using reshape.
Is there a way to create a loop for common labels or common ending of variables?
Thanks
Mattia
I have a table like the one below, with banks from 70 countries.
Every variable name is composed by the bank name plus the iso code of the country (always three characters). All my variable names labels are the iso code.
I want to export to excel creating a sheet for each country, without using reshape.
Is there a way to create a loop for common labels or common ending of variables?
date | WELLSFARGO_USA | BOA_USA | HSBC_GBR | BARCLAYS_GBR | SANTANDER_SPA |
1/1/01 | |||||
2/1/01 | |||||
3/1/01 | |||||
4/1/01 | |||||
5/1/01 |
Thanks
Mattia
Comment