• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to arrange multiple columns in single or two columns via macro

Hi,

Im using MS Excel 2007 and trying to find out a macro for arranging multiple columns in single or two columns.

I have two sheets
1. Sheet "Data" - Data table is available with name, month and percentage
2. Sheet "Result" - Required to arrange name , month and percentage as mentioned in "Result" sheet.

Sample Excel file attached for your reference.

Thanks

Nitesh
 

Attachments

  • Arrange multiple Column in one or two columns.xlsm
    8.7 KB · Views: 0
Hi Nitesh,

Attached is the file with the macro. You will have to run it after selecting the range which has the percentage values. So in this case, it would be B2:E9. Select this range. Press Alt+F8 and run the macro test.

Thanks,
BD
 

Attachments

  • Arrange multiple Column in one or two columns.xlsm
    15.3 KB · Views: 0
Hi Nitesh,

Attached is the file with the macro. You will have to run it after selecting the range which has the percentage values. So in this case, it would be B2:E9. Select this range. Press Alt+F8 and run the macro test.

Thanks,
BD

Thanks BD .... its working.
 
Back
Top