+ Reply to Thread
Results 1 to 3 of 3

Macro to sort data in descending order

  1. #1
    Registered User
    Join Date
    07-02-2008
    Location
    Winnipeg, MB
    Posts
    57

    Macro to sort data in descending order

    Is it possible to sort two different ranges of data on seperate tabs in descending order using a macro?

    I would like sort data in both tabs by order of volume while keeping all data in tact. Also I do not want to include the header or "total" row in the sort.

    Please refer to the .xls file for reference.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525
    Hi Vbort44,

    As long as the data consistently starts at cell A2 for both Sheets and the Volume Columns for Sheet1 and Sheet2 are B and D respectively, the following will do the job:

    Please Login or Register  to view this content.
    HTH

    Robert

  3. #3
    Registered User
    Join Date
    07-02-2008
    Location
    Winnipeg, MB
    Posts
    57
    Quote Originally Posted by Trebor76
    Hi Vbort44,

    As long as the data consistently starts at cell A2 for both Sheets and the Volume Columns for Sheet1 and Sheet2 are B and D respectively, the following will do the job:

    Please Login or Register  to view this content.
    HTH

    Robert

    Perfect! Many thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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