+ Reply to Thread
Results 1 to 11 of 11

Need help showing rows that DO NOT contain a certain term

  1. #1
    Registered User
    Join Date
    05-09-2018
    Location
    Tampa, FL
    MS-Off Ver
    2016
    Posts
    5

    Need help showing rows that DO NOT contain a certain term

    I have a spreadsheet that has two columns, OrderNumber and SKU.

    I am trying to find OrderNumbers that DO NOT contain a specific SKU in them.

    For example:

    OrderNumber SKU
    1018 BCM-USA
    1018 BBC-12-PP
    1018 SB-WG
    1019 BCM-FL

    As you can see, the OrderNumber is repeated numerous times if the customer ordered more than 1 SKU.

    In the above example, I would NOT want to see ANY of the OrderNumber 1018's because there is an instance of SKU BBC-12-PP so I would want to filter that out...

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,984

    Re: Need help showing rows that DO NOT contain a certain term

    Only one SKU or a selection of SKUs to be matched?

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    05-09-2018
    Location
    Tampa, FL
    MS-Off Ver
    2016
    Posts
    5

    Re: Need help showing rows that DO NOT contain a certain term

    Unfortunately, I am unable to attach a sample workbook, I am sorry, not sure why it won't work.

    Basically, I am trying to take this:
    OrderNumber SKU
    1018 BCM-USA
    1018 BBC-12-PP
    1018 SB-WG
    1019 BCM-FL

    And turn it into this:
    OrderNumber SKU
    1019 BCM-FL

    ALL instances of OrderNumber 1018 are removed as it contains SKU BBC-12-PP

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Need help showing rows that DO NOT contain a certain term

    To attach an Excel file to your post,
    • desensitize data
    • remeber that your example should reflect structure and type of data and contain the result what you want to achieve (manually created if necessary)
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  5. #5
    Registered User
    Join Date
    05-09-2018
    Location
    Tampa, FL
    MS-Off Ver
    2016
    Posts
    5

    Re: Need help showing rows that DO NOT contain a certain term

    I understand how to attach a file, however the interface isn't working. No dialogue box is appearing. I have tried Chrome and IE to no avail.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help showing rows that DO NOT contain a certain term

    Maybe try right click on Manage Attachments and choose: Open link in new tab
    and turn off block pop-up window (or AdBlock, NoScript... etc...)
    Last edited by sandy666; 05-09-2018 at 11:34 AM.

  7. #7
    Registered User
    Join Date
    05-09-2018
    Location
    Tampa, FL
    MS-Off Ver
    2016
    Posts
    5

    Re: Need help showing rows that DO NOT contain a certain term

    I tried that. Tried incognito. Tried on another computer. I am literally unable to either attach an image OR attach a file. I can provide a link to a file on dropbox if that helps?

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help showing rows that DO NOT contain a certain term

    Probably yes

  9. #9
    Registered User
    Join Date
    05-09-2018
    Location
    Tampa, FL
    MS-Off Ver
    2016
    Posts
    5

    Re: Need help showing rows that DO NOT contain a certain term

    docs.google.com/spreadsheets/d/1fgM44j6lO_xooogyfMI2wiD3IY01Mt0k_xR5efpFBIQ/edit?usp=sharing

    Here is the spreadsheet with one tab showing the data we have, and the other showsing how we want it to look.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Need help showing rows that DO NOT contain a certain term

    .
    dsabot's file

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,984

    Re: Need help showing rows that DO NOT contain a certain term

    Helper in C "Data we have"

    in C2

    =IF(COUNTIFS(A:A,A2,B:B,"BCM-USA"),"",1)

    in A2 of "Output"

    =IFERROR(INDEX('Date we have'!A2:A24,SMALL(IF('Date we have'!$C$2:$C$24=1,ROW('Date we have'!$A$2:$A$24)-ROW($A$2)+1,""),ROWS(A2:A2))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Copy across and down

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] SUM number of VISIBLE occurrences of a given term, filtered rows
    By RandyStone in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-23-2018, 01:35 PM
  2. Replies: 1
    Last Post: 05-27-2014, 07:00 AM
  3. Replies: 3
    Last Post: 04-01-2014, 05:54 PM
  4. Calculating short term and long term moving average in VBA
    By ixthus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2013, 02:40 AM
  5. Using Macro to separate credit term and non credit term
    By gingank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2012, 02:22 AM
  6. Replies: 3
    Last Post: 07-15-2009, 06:13 AM
  7. [SOLVED] deleting hidden rows so i can print only the rows showing??????
    By jenn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-06-2005, 12:05 PM

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