+ Reply to Thread
Results 1 to 4 of 4

Count ID numbers - Cut & Paste any greater than a certain number

  1. #1
    Registered User
    Join Date
    09-20-2011
    Location
    N.Wales
    MS-Off Ver
    Excel 2010
    Posts
    63

    Count ID numbers - Cut & Paste any greater than a certain number

    Hi,

    Colum A will have ID numbers.

    ID 1
    ID 1
    ID 2
    ID 2
    ID 2
    ID 3
    ID 4
    ID 4
    ID 4
    ID 4
    ID 5

    Any rows with 3 or more of the same ID number will be cut and pasted to the top of the sheet (ID 2 & 4 will be at the top of the sheet when macro finished)

    Cheers

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Count ID numbers - Cut & Paste any greater than a certain number

    Please Login or Register  to view this content.
    I think you are asking question. Try this.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Registered User
    Join Date
    09-20-2011
    Location
    N.Wales
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Count ID numbers - Cut & Paste any greater than a certain number

    Hi,

    Thank you for looking at this - this does do the job, would it be possible to select along the row, so information along that row would move as well.

    I'm not sure if I have explained that.

    ID 1 red a
    ID 1 red a
    ID 2 blue c
    ID 2 blue c
    ID 2 blue c
    ID 3 pink v
    ID 4 green b
    ID 4 green b
    ID 4 green b
    ID 4 green b
    ID 5 orange n

    Thank you agin,

    Cheers

    WCE

  4. #4
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Count ID numbers - Cut & Paste any greater than a certain number

    Range("A" & rowB & ":A" & rowA - 1 & "").Select
    Change it to where you wish copy

+ 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