+ Reply to Thread
Results 1 to 3 of 3

Label Filter - Does Not Contain

  1. #1
    Registered User
    Join Date
    04-12-2017
    Location
    London
    MS-Off Ver
    2013
    Posts
    4

    Label Filter - Does Not Contain

    Hey Folks,

    I have an issue with a pivot I have made.

    Basically the data pulls from a system which is daily updated with new "counterparty" names which have date which I want to see. However, the problem I have is that there are certain counterparties I do not want to see so I have unfiltered them. However, this means that any new counterparties which are added to the system and pulls through into the pivot are not automatically added and need to be individually added.

    Does anyone know a way around this? Only thing I can think of is to use instead of manually adding each one every day (can be 20+ a day) is to use the Label Filter - Does Not Contain - however this only works for one counterparty (as far as I can work out) and I have 15+ which do not need to be there.

    Any help is appreciated.

    Many Thanks
    Chris

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Label Filter - Does Not Contain

    You can work around this with the source data.

    First make an auxiliary table with the counter parties you don't want. I'll assume it's in an Excel Table called Table_Exclude and the header name is "Exclusions." I'll also assume your source data is in Table_Data and the field you want to check on is CounterParty. Change to suit your conditions.

    Then make a helper column in the source data called "Include". In this column use the formula = ISNA(Match([@[CounterParty]],Table_Exclude[Exclusions],0))

    This yields FALSE if the CounterParty is on the list you want to exclude and TRUE if it is not on the list. In other words, TRUE for those CounterParties you want to see. Use this new field as a report filter in the pivot table.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    04-12-2017
    Location
    London
    MS-Off Ver
    2013
    Posts
    4

    Re: Label Filter - Does Not Contain

    Excellent, it worked - thank you very much dflak!!!!

+ 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. Filter Pivot Table Label via VBA
    By cantona_lives in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-16-2015, 05:46 AM
  2. Combining a label filter with a (blank) filter
    By amphinomos in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-07-2014, 03:50 PM
  3. Replies: 6
    Last Post: 01-07-2014, 03:24 PM
  4. Need to filter multiple criteria in Label Filter
    By brassellc7994 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-04-2013, 12:54 PM
  5. Filter Pivot Table Row Label by Another Row Label
    By bdcelli in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-14-2013, 12:57 PM
  6. [SOLVED] Data Label Filter Out Zero in Bar Graph
    By JoshF in forum Excel General
    Replies: 2
    Last Post: 06-20-2012, 04:46 PM
  7. filter a pivot table row label from vba,
    By cesna123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-16-2010, 05:07 PM

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