+ Reply to Thread
Results 1 to 4 of 4

Filter

  1. #1
    Registered User
    Join Date
    03-17-2010
    Location
    Sebastopol, MS
    MS-Off Ver
    Excel 2007
    Posts
    14

    Filter

    Okay, this may be confusing, but I will do my best to explain it...

    I have a spreadsheet with data for about 12,000 products. I have a separate spreadsheet listing discontinued products (there happens to be quite a handful of them too). Not all of the discontinued products are in my spreadsheet, because I have a slightly up to date version, but some of them are. Is there a way that I can delete the discontinued products from my database without having to sort them by hand (that could take countless hours)? Another factor: the discontinued list only has the sku, or, the first column. But my spreadsheet has several columns of information after the sku, and for every discontinued product, I need to remove the entire row.

    This may not be possible, and if not that is okay, but it would also help if I could actually extract the discontinued rows from the data for another spreadsheet, rather than just deleting them.

    Any help on this would be highly appreciated.

    Thanks,
    Matt

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Filter Help!

    Let's say your products are on sheet1 and discontinued on sheet2. The sku is in column A of both sheets starting in A2.
    First, insert a new column before A on sheet1 (moving sku to col B). In A2,dragged down
    =ISNUMBER(MATCH(B2,sheet2!$A$2:$A200,0)),"Y","N")
    This gives a "Y" in every row that is discontinued.
    Filter on "Y" and delete those rows. Does this work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-17-2010
    Location
    Sebastopol, MS
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Filter Help!

    I get a return message that says, "The formula you typed contains an error."

    I'm not really sure how to troubleshoot this problem.

    Any help?

  4. #4
    Registered User
    Join Date
    03-17-2010
    Location
    Sebastopol, MS
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Filter Help!

    Oh, I figured out my problem! Thank you so much, I wouldn't have known where to start. You don't know how much time you have saved! Much appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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