+ Reply to Thread
Results 1 to 3 of 3

copy and paste only highest percentage in a range

  1. #1
    Forum Contributor
    Join Date
    11-20-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007, Excel 2003, Excel 2010
    Posts
    284

    copy and paste only highest percentage in a range

    If I have a list of employees in column A2 to A13 and a list of percentages in col B2 to B13, how can I create a macro to select the highest percentage in the range B2 to B3 and then copy that entire row and paste it to a new sheet?


    I think a MAX and if statement could be used but I am not sure of how exactly to write the code.

    Something along the lines of:
    select max from B2 to B13 of (Sheet 1) and copy/paste entire row in first blank cell of col A in sheet 2


    Thanks for the help
    Last edited by rlsublime; 11-30-2011 at 07:31 PM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: copy and paste only highest percentage in a range

    Something like this?
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    11-20-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007, Excel 2003, Excel 2010
    Posts
    284

    Re: copy and paste only highest percentage in a range

    Thanks. Yes 100% like that. I am trying to edit to get it to post in A1 on another sheet (Sheet 2) and to post again in A2, A3, A4 and so on into sheet 2.

    Thanks

+ 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