+ Reply to Thread
Results 1 to 3 of 3

pivot table to ignore data where n<2

  1. #1
    Registered User
    Join Date
    06-19-2010
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    8

    pivot table to ignore data where n<2

    I have a pivot table giving the sum and deviation of a column of data. How can I get the pivot to exclude data where the count of a batch is less than 2? Sample attached
    Attached Files Attached Files
    Last edited by Lourens; 07-18-2011 at 08:52 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: pivot table to ignore data where n<2

    Hi

    I have added a new column to the source data with a formula of
    =IF(COUNTIF($B:$B,B7)=2,FALSE,TRUE)

    In the attached workbook, I called this column Include and added it to the Page field area, and selected TRUE
    Attached Files Attached Files
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  3. #3
    Registered User
    Join Date
    06-19-2010
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: pivot table to ignore data where n<2

    Thanks Roger - looks like it will solve my problem

+ 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