+ Reply to Thread
Results 1 to 2 of 2

Condition based on another Condition

Hybrid View

  1. #1
    Registered User
    Join Date
    10-17-2011
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Condition based on another Condition

    Hi all,

    N0 pj dj
    1  3  8
    2  2  5
    3  2  8
    4  1  7
    I need to know how is it possible to base a condition on another one. For example, in the column dj above If the number are greater or equal to 8, just for these lines I wanna choose the line that has the greater number in the column pj.
    so the answer for this exemple should be N0 1
    How can I do this with VBA?

    Thank you for your help
    Last edited by Leith Ross; 10-17-2011 at 11:04 PM.

  2. #2
    Registered User
    Join Date
    10-17-2011
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Condition based on another Condition

    I attached an excel Workbook to be make my issue clearer.

    First, what I want to do is to find the rows in which the column D has numbers greater or equal to 8. If there is more than one rows found, I want to find which one has the largest number in the column C. When i find this row (in this case: row number 4) I want to move this line to the end of the table.
    Then I want to repeat the same steps for the 3 remaining rows.

    Your help is highly appreciated (before this Thursday )
    Attached Files Attached Files

+ 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