Results 1 to 17 of 17

Remove Rows based upon list of search terms, copy removed rows to new sheet

Threaded View

sam103329 Remove Rows based upon list... 12-26-2013, 08:15 PM
sam103329 Re: Remove Rows based upon... 12-26-2013, 08:25 PM
Tony Valko Re: Remove Rows based upon... 12-26-2013, 10:32 PM
Fotis1991 Re: Remove Rows based upon... 12-27-2013, 02:42 AM
sam103329 Re: Remove Rows based upon... 12-28-2013, 07:35 AM
jindon Re: Remove Rows based upon... 12-28-2013, 08:15 AM
sam103329 Re: Remove Rows based upon... 12-29-2013, 07:54 PM
jindon Re: Remove Rows based upon... 12-29-2013, 08:36 PM
sam103329 Re: Remove Rows based upon... 12-29-2013, 08:42 PM
jindon Re: Remove Rows based upon... 12-29-2013, 08:49 PM
sam103329 Re: Remove Rows based upon... 02-19-2015, 05:19 PM
jindon Re: Remove Rows based upon... 02-19-2015, 05:36 PM
sam103329 Re: Remove Rows based upon... 02-19-2015, 06:46 PM
jindon Re: Remove Rows based upon... 02-19-2015, 06:57 PM
sam103329 Re: Remove Rows based upon... 02-19-2015, 08:38 PM
jindon Re: Remove Rows based upon... 02-19-2015, 08:41 PM
sam103329 Re: Remove Rows based upon... 02-19-2015, 08:47 PM
  1. #1
    Registered User
    Join Date
    12-21-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    28

    Remove Rows based upon list of search terms, copy removed rows to new sheet

    Hi

    I will start by saying I don't know if this is possible to do but I feel some very smart person on here will have a solution for me

    What I want to do is the below

    Please see the sample Sheet attached

    I would like to have a list of terms (Shown on the Request sheet)

    I would like Excel to search those terms on a the sheet called Stock Sheet

    Upon finding a matching result I would like Excel to Copy the entire row which the result occurs on to a Results sheet (Shown as results sheet)

    and that row to be removed from the Stock Sheet. (Example shown on sheet Stock sheet results) I would not want it to create a new sheet I would want it to remove them from the original Stock Sheet to end up looking like (Stock Sheet Results)

    If it cannot locate a corresponding result, it simply skips that search term but leaves empty row in that result

    Basically its like the below


    Say this is my search terms


    Avatar: The Burning Earth (Xbox 360)
    Avatar: The Burning Earth (Xbox 360)
    Bakugan: Battle Brawlers (Xbox 360)
    Battle Fantasia (Xbox 360)
    Battle for the Pacific (Xbox 360)


    on my stock sheet they appear as this


    Bakugan: Battle Brawlers (Xbox 360) Pre-Owned X360 £2.96
    Avatar: The Burning Earth (Xbox 360) Pre-Owned X360 £8.59
    Bakugan: Battle Brawlers (Xbox 360) Pre-Owned X360 £2.9
    Avatar: The Burning Earth (Xbox 360) Pre-Owned X360 £8.51
    Battle-Fantasia (Xbox 360) Pre-Owned X360 £4.00
    Bakugan: Battle Brawlers (Xbox 360) Pre-Owned X360 £2.90
    Battle for the Pacific (Xbox 360) Pre-Owned X360 £5.21
    Avatar: The Burning Earth (Xbox 360) Pre-Owned X360 £11.27


    I would want it to search the stock sheet and generate the below Results Sheet


    Avatar: The Burning Earth (Xbox 360) Pre-Owned X360 £8.59
    Avatar: The Burning Earth (Xbox 360) Pre-Owned X360 £8.51
    Bakugan: Battle Brawlers (Xbox 360) Pre-Owned X360 £2.90
    (None Found)
    Battle for the Pacific (Xbox 360) Pre-Owned X360 £5.21


    Leaving the stock sheet looking like this


    Bakugan: Battle Brawlers (Xbox 360) Pre-Owned X360 £2.96



    Battle-Fantasia (Xbox 360) Pre-Owned X360 £4.00
    Bakugan: Battle Brawlers (Xbox 360) Pre-Owned X360 £2.90

    Avatar: The Burning Earth (Xbox 360) Pre-Owned X360 £11.27



    As you can see Battle-Fantasia (Xbox 360) is spelled differently here, this would be an error and I would want the results sheet to show (None Found instead)

    It is crucial that it removes the full row and there will be multiple of each so it must only remove the amount shown in the search terms so if 6 appear on the search terms 6 would be removed from the stock sheet and finally its crucial the results sheet is in the exact same order as the search terms sheet leaving gaps (Such as (None found)) when a result cannot be located.

    If somone can come up with a way to do this for me I would be eternally grateful and you would officially be extremely smart haha

    Thanks for anyone who has taken the time to read this and of course an extra thank you to anyone that can offer me a solution

    Hope everyone had a Great Xmas and hope everyone has a great new years!

    Thanks

    Samuel
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-06-2013, 02:03 AM
  2. Remove rows based on list of words
    By jewseboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2013, 09:00 AM
  3. Replies: 1
    Last Post: 02-27-2013, 10:33 PM
  4. Search Rows and Copy Based on certain string?
    By wibbsy in forum Excel General
    Replies: 4
    Last Post: 02-10-2012, 07:42 AM
  5. Search for rows in one sheet and copy into another sheet based on customer id
    By excel_chi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2007, 04:18 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