Hi
I have a file which contains 2 tabs. The first tab (called "data") has 6 columns and 3 rows on it.
Row Number Date Name Type Value VAT
1 1 01/04/2015 ABC Limited Invoice 2,400 400
2 2 10/04/2015 DEF Limited Invoice 1,200 200
3 3 01/05/2015 JKL Limited Invoice 2,100 350
I want to transpose this data onto the second tab (called "result") however the structure in tab 2 (called "result") should be as follows:
Row No Column A Column B Column C Column D Column E
1 1 01/04/2015 ABC Limited
2 Invoice 2,400 400
3 2 10/04/2015 DEF Limited
4 Invoice 1,200 200
5 3 01/05/2015 JKL Limited
6 Invoice 2,100 350
The data on the first tab (called "data") can be any number of rows hence dynamic.
Can someone please help with a VB code which can transpose data from the first tab (called "data") to the second tab (called "result") on the above format? I am using Excel 2010.
Any help would be appreciated.
Regards
Bookmarks