+ Reply to Thread
Results 1 to 3 of 3

Moving rows to another sheet based on a certain field's value

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Moving rows to another sheet based on a certain field's value

    Hi All, New poster and I have very little experience with VBA/Macros. As the title states I would like to move an entire row of data to a new sheet based on a certain fields value. This certain fields value will be generated using V-Lookup. Attached is my Spreadsheet. I am using Excel 2007.

    I am using Vlookup to compare EE SS numbers. If their is not a match I would like to pull that row to the new sheet, "Sheet 2".

    For example on the spreadsheet since ee SS #'s 8754, 5390, and 7071 do not have a match, I would like those copied to Sheet 2.

    If someone believes their is a better strategy than VLookup and Array Formulas please let me know. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Moving rows to another sheet based on a certain field's value

    Do you want the movement of rows to happen on the click of a button?

    Do you want the row that is being copied / moved to be deleted from the original sheet?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    09-25-2012
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Moving rows to another sheet based on a certain field's value

    A button is not necessary. I have no problem just running the macro once the spreadsheets have been populated. I would like the row to be copied to remain on the original sheet.

    Thanks for the response Arlu.

+ 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