+ Reply to Thread
Results 1 to 5 of 5

How to do automatic sort in Excel

  1. #1
    Registered User
    Join Date
    02-03-2015
    Location
    Hyderabad
    MS-Off Ver
    2013
    Posts
    14

    Exclamation How to do automatic sort in Excel

    I am wondering what function or code for a macro I need to do an automatic sort in MS Excel. I have names in column A and corresponding Starts in Column B. I want columns A and B to be sorted in descending order automatically every time I enter a value in column B so that I don't need to click on "Sort Descending" in the tool bar.Excel screen shot.JPG
    Last edited by mukesh123; 02-04-2015 at 11:48 AM.

  2. #2
    Forum Contributor
    Join Date
    06-28-2004
    MS-Off Ver
    Home/Office 2016
    Posts
    246

    Re: How to do automatic sort in Excel

    Took a shot..see if this what you are looking for. Next time upload a sample file.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-03-2015
    Location
    Hyderabad
    MS-Off Ver
    2013
    Posts
    14

    Re: How to do automatic sort in Excel

    Hello Sender,

    It is working for numbers. As numbers are changing and starting with priority high numbers. But It is not applicable for names and names are not changing as it doesn't follow the correct order. could please do a favour for me to change the names and numbers at a time.

    Thank you,
    K.Mukesh
    Last edited by mukesh123; 02-04-2015 at 11:46 AM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,956

    Re: How to do automatic sort in Excel

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff)

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    06-28-2004
    MS-Off Ver
    Home/Office 2016
    Posts
    246

    Re: How to do automatic sort in Excel

    mukesh123 - it seems to be working for me...both numbers and names
    like FDibbins said, please upload a sample of data and what you are expecting to see
    (thanks FD!)

+ 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. Automatic data sort in MS-Excel - HELP
    By web835 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-05-2013, 04:55 AM
  2. Automatic Sort in Excel 2007
    By excelluv in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-25-2012, 01:35 PM
  3. [SOLVED] Looking for automatic sort in excel 2010
    By akalien in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-24-2012, 10:51 AM
  4. Automatic Update of Sort Key Column in Excel VBA
    By makku in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-03-2011, 04:56 AM
  5. Excel 2007 : Excel 2007 "Automatic Sort" question
    By Mark53 in forum Excel General
    Replies: 3
    Last Post: 10-05-2010, 10:29 PM

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