Hi
There are very many different ways to do something like this.
So this solution would be just one of many ways.
Example:
Before:
_____ Workbook: 1.xlsx ( Using Excel 2007 32 bit )
Worksheet: Sheet1 (2)
Row\Col A B C D E F G H I J K L M 1Stock Name Data Data Data Data Data Data Data Data Data Data Data Data 2ACC 800 700 600 500 400 300 200 100 90 80 70 3ADANIENT 800 700 600 500 400 300 200 100 90 80 70 4ADANIPORTS 800 700 600 500 400 300 200 100 90 80 70 5ADANIPOWER 800 700 600 500 400 3 200 100 90 80 70 6AMARAJABAT 800 700 600 500 400 300 200 100 90 80 70 7AMBUJACEM 800 700 600 500 400 300 200 100 90 80 70 8ONGC 800 700 600 500 400 300 200 100 90 80 70 9
run macro here: http://www.excelfox.com/forum/showth...ll=1#post13059
Output results After running macro
_____ Workbook: 2.xlsx ( Using Excel 2007 32 bit )
Worksheet: Tabelle2
Row\Col A B C 1ACC 500 2ADANIENT 700 3AMARAJABAT 400 4
macro is here : https://imgur.com/Rs0EaVf , and also in uploaded file.
Attachment 2838
Bookmarks