+ Reply to Thread
Results 1 to 2 of 2

sort entire row based on formula result in Column D

  1. #1
    Forum Contributor
    Join Date
    06-24-2013
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    199

    sort entire row based on formula result in Column D

    i need help...

    can somebody give me a code that with a click of a button all data will be sorted based on formula results in column D.

    i have a number of columns with different data... in column D, i put a formula that will result in either "1 Expired", "2 Critical", "3 High", "4 Medium" or "5 Low". What I am thinking is that when I click the button, the entire row will be sorted based on the results n clumn D. So all those with "1 Expired" will be at the top of the row.. while those with "5 Low" will be at the bottom.

    My data starts at row 5 and the number of rows varies. I tried using the custom sort but I have no luck.

    can somebody point me at the right direction.

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,067

    Re: sort entire row based on formula result in Column D

    Hi Melody10,

    Here's some code to sort the Row for Column 'D' from Row 5.

    Please Login or Register  to view this content.
    Hth
    Remember you are unique, like everyone else

+ 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. How can I sort one column and have the entire row sort. (binding)
    By Blue in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-07-2012, 05:26 AM
  2. Auto Hide/Unhide rows in Excel based on formula result in a column
    By crozierk in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-12-2012, 08:02 AM
  3. RE: my column is sorted in two sections. How do I sort entire column?
    By Bob Umlas, Excel MVP in forum Excel General
    Replies: 0
    Last Post: 02-13-2006, 04:45 PM
  4. Replies: 0
    Last Post: 02-13-2006, 04:45 PM
  5. Hiding column based on formula result.
    By Casey in forum Excel General
    Replies: 1
    Last Post: 04-13-2005, 11:36 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