+ Reply to Thread
Results 1 to 2 of 2

Pivot Table - How to Add Formula to Exclude Row if a Cell is Blank

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Fenton Missouri
    MS-Off Ver
    Excel 2007
    Posts
    54

    Pivot Table - How to Add Formula to Exclude Row if a Cell is Blank

    I don't use Pivot Tables often so I am not sure if this is even possible.

    My pivot table consists of data found in Columns A and C.
    Column C cells are always populated
    Column A cells may or may not be populated

    When I created the pivot table I included Columns A and C
    Column A Header is "ID" and Column C Header is "Model"

    What i am trying to do is to exclude from the table any rows where a blank cell exists in Column A (ID)
    Only rows where a value exists in Column A (ID) are included in the table.

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

    Re: Pivot Table - How to Add Formula to Exclude Row if a Cell is Blank

    There are two ways to do this. Use the filter built into the pivot table to "turn off" (blank). The problem with this is the way pivot table filters work.

    If you have (All) selected as a filter and a new item comes into the source data, Excel assumes you want to show the new item.

    If you have any item unselected, then when a new item comes into the source data, Excel assumes you do not want to show the item. So new items are untracked unless you look for them manually and turn them on.

    The other way of doing this is to use a helper column in the source data with the formula =ISBLANK(A2). This will evaluate to true if the ID is blank and false otherwise. You can use this new column 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.

+ 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. Replies: 3
    Last Post: 03-24-2016, 01:49 PM
  2. Pivot table picks up empty cell from formula which returns BLANK
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2013, 08:37 PM
  3. I want to exclude blank cell in index match formula with multiple criteria
    By NOOR8225 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-16-2013, 06:51 AM
  4. Copy values from Pivot Table but exclude certain data based on cell value
    By FellowofJest in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-04-2013, 04:59 AM
  5. Exclude Blank Cell from Formula
    By Executive in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2012, 03:53 PM
  6. Replies: 12
    Last Post: 08-23-2012, 08:16 AM
  7. Exclude (blank) from Pivot table?
    By asdzc2000 in forum Excel General
    Replies: 2
    Last Post: 01-18-2011, 06:30 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