+ Reply to Thread
Results 1 to 3 of 3

Sort 3 Columns in a defined range

  1. #1
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Sort 3 Columns in a defined range

    Hello Experts, need your help in sorting 3 columns..

    In a range from A to I, the columns Name (Account & Type & Price) can be anywhere..
    below code helps sort 2 columns (Account & Type) finding its name.. how can I add the third column (Price).. how do we modify the code.. I tried but failed on time.. please assist.


    Please Login or Register  to view this content.
    Last edited by Parth007; 12-26-2016 at 07:12 AM.
    Regards
    Parth

    I appreciate your feedback. Hit * if u Like.
    Rules - http://www.excelforum.com/forum-rule...rum-rules.html

  2. #2
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Sort 3 Columns in a defined range

    Not tested, but using same logic as for Account and Type

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Re: Sort 3 Columns in a defined range

    Thanks a lot kasan.. worked like charm

+ 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. Function - Count User Defined Columns in a Range
    By dspblues in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-16-2014, 09:10 AM
  2. [SOLVED] If word entered not in defined name range, copy & paste it to bottom of defined name range
    By Butcher1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-09-2014, 01:08 PM
  3. [SOLVED] Averaging a user input defined range based on values in columns
    By smit.etha in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-14-2014, 02:21 AM
  4. [SOLVED] VBA Sort Range - More than 3 Columns - Need a fourth
    By BeachRock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-19-2013, 05:11 PM
  5. Count columns and rows from a defined range
    By piercebrosnan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-22-2013, 02:59 PM
  6. [SOLVED] Copy Columns that the headers(dates) fall within a user defined date range...
    By Zoediak in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-06-2013, 11:27 AM
  7. [SOLVED] Macro to add defined text to the end of multiple defined columns of data
    By spikedog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-28-2012, 05:10 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