+ Reply to Thread
Results 1 to 2 of 2

Automatic sorting/ranking problem

  1. #1
    Registered User
    Join Date
    10-27-2008
    Location
    Stockholm
    Posts
    6

    Automatic sorting/ranking problem

    Hi,

    I have 2 columns, A and B. A contains names, B contains values which I'm using to rank the names in the column A. I get the values in column B from another part of the sheet. I can easily rank the names in column A from the largest to the smallest value in colomn B. But when I change the data source ,and by doing so changing the values in column B, I have to manually re-rank the names. Is there anyway I can set it to automatically rank column A if the values in column B are changed?

    Thank you in advance.

    /Karl

  2. #2
    Forum Contributor
    Join Date
    06-14-2008
    Posts
    153
    Hi,

    Switch to Visual basic editor and put the following code in the Worksheet_Change event for the relevant worksheet.

    Please Login or Register  to view this content.
    I hope that helps.

    Regards.
    Welcome to: http://www.exceldigest.com/myblog/
    "Excel help for the rest of us"

+ 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