+ Reply to Thread
Results 1 to 5 of 5

How to automatically sort the columns (move the columns around)

  1. #1
    Registered User
    Join Date
    08-18-2013
    Location
    Highlands
    MS-Off Ver
    Excel 2010
    Posts
    19

    How to automatically sort the columns (move the columns around)

    I have Excel 2010. I'm not an expert.

    I frequently receive a 40-column spreadsheet. I know how to move the columns manually. I'm wondering if it's possible to move columns automatically.

    Here's a simple 3-column example. I receive a spreadsheet with the headings H1, H2, and H3, from left to right.

    How can I move the columns so that the columns are H2, H3, H1 from left to right.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to automatically sort the columns (move the columns around)

    You get better and quicker result on your question, if you follow the advice in the link below.

    http://www.excelforum.com/the-water-...-question.html
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: How to automatically sort the columns (move the columns around)

    Hi,

    The simplest thing that I could suggest would be to keep a template worksheet with formulas setup to rearrange the columns, e.g. in cell A1 on the template sheet, enter the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy this formula down the column as far as is necessary to move column 3 to column 1, then similarly for the other columns. Then each time you receive a new spreadsheet, paste the data into the template workbook on a different worksheet called "Data". Then your template worksheet should display the columns in the order that you desire.

    I hope this helps

  4. #4
    Registered User
    Join Date
    08-18-2013
    Location
    Highlands
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How to automatically sort the columns (move the columns around)

    Quote Originally Posted by ajryan88 View Post
    Hi,

    The simplest thing that I could suggest would be to keep a template worksheet with formulas setup to rearrange the columns, e.g. in cell A1 on the template sheet, enter the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy this formula down the column as far as is necessary to move column 3 to column 1, then similarly for the other columns. Then each time you receive a new spreadsheet, paste the data into the template workbook on a different worksheet called "Data". Then your template worksheet should display the columns in the order that you desire.

    I hope this helps
    Hi ajryan88,

    Thanks for your fast response. That works great

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: How to automatically sort the columns (move the columns around)

    You're welcome!

    Please don't forget to mark this thread as solved and click on the * next to my post to say thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Automatically Sort Columns
    By HeatherV in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-12-2012, 04:33 PM
  2. Replies: 1
    Last Post: 11-06-2012, 07:07 PM
  3. Formula to automatically move/copy data from rows to columns
    By thchughesmathews in forum Excel General
    Replies: 0
    Last Post: 02-03-2012, 06:10 PM
  4. Macro required to move Columns and addidng columns with headings
    By sponge_designs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2009, 08:20 PM
  5. Automatically sort new data by multiple columns
    By burtonlang in forum Excel General
    Replies: 3
    Last Post: 10-26-2009, 08:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1