+ Reply to Thread
Results 1 to 6 of 6

Pivot Table / Chart Ignore / Exclude blank "" cells created using IF formula

  1. #1
    Registered User
    Join Date
    04-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2016 + Excel Web App
    Posts
    8

    Pivot Table / Chart Ignore / Exclude blank "" cells created using IF formula

    Hi all,

    I've been looking online for a solution to this for a couple of hours now with no luck.

    I have an if formula that will show text based on project dates. The if formula checks to see if there is a date entered in Column B (Today's Date) and then check that against the project's due date.


    The problem I am having is that in my Pivot chart on "Results" sheet, the blank cells with the "" result are being counted as blanks.

    I've looked online and some people have has success with use #N/A or NA() instead of "" , but that isnt working for me.


    I also saw some suggestions online to use a VBA code, however this workbook will not support VBA as it will be used in a multi-user SharePoint online space.

    Attached is a sample of workbook. Any help will be appreciated. In the meantime will try to see why I cant upload the workbook
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by randomreflex; 05-23-2018 at 08:59 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Pivot Table / Chart Ignore / Exclude blank "" cells created using IF formula

    Hello,

    you are using an Excel table as the source for the pivot chart. Excel tables automatically apply formulas to new rows of data, so there is no reason whatsoever to pre-fill unused rows with formulas that deliver a blank or an #NA. Just delete these empty rows and refresh your pivot tables.

    If you insist on this unfortunate design, you can always edit your pivot table and filter out the unwanted elements. Click the filter button and untick the boxes for the data you don't want to include.

    pivotfilter.jpg

    cheers, teylyn

  3. #3
    Registered User
    Join Date
    04-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2016 + Excel Web App
    Posts
    8

    Re: Pivot Table / Chart Ignore / Exclude blank "" cells created using IF formula

    Hi Teylyn,

    Thanks for getting back to me.

    I am aware that the formulas creating the empty space in the empty cells are not needed. The workbook is going to be used weekly or monthly and I was trying to prevent user from having to create any additional rows and leaving the workbook preset with a couple hundred rows. If there is not way for the reporting to work out automatically then I suppose i will delete all the blank rows. Thank you for clearing that up.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Pivot Table / Chart Ignore / Exclude blank "" cells created using IF formula

    system glitch

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Pivot Table / Chart Ignore / Exclude blank "" cells created using IF formula

    if you insist of having it the way you currently have
    you could potentially use a named range as dynamic data source


    create named range - in example i have used PVTDATA
    make it refer to =OFFSET(InputSheet[#Headers],0,0,COUNTA(Entry!$B:$B))

    change all pivot data data sources to be PVTDATA (instead of the current INPUTSHEET)

    this formula COUNTA(Entry!$B:$B) controls how many rows to take into account
    if you have other items in column B you can either deduct them manually COUNTA(Entry!$B:$B) - how many items you have
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  6. #6
    Registered User
    Join Date
    04-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2016 + Excel Web App
    Posts
    8

    Re: Pivot Table / Chart Ignore / Exclude blank "" cells created using IF formula

    Hey humdingaling,

    Thanks, that works out perfectly!

+ 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. VBA Updates Pivot Table by cell contents, i want to show "blank" instead of "all"
    By mattinwpg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2017, 10:58 PM
  2. [SOLVED] Pivot table/chart - remove "<0 or (blank)" from grouping
    By michellepace in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 12-07-2015, 08:42 AM
  3. VBA to filter "(Blank)" cells in pivot table , but in foreign languages too.
    By MarMo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-07-2013, 11:27 AM
  4. Pivot Table Field - Blank Cells without text "(blank)"
    By WRX in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-19-2013, 12:10 PM
  5. Replies: 1
    Last Post: 03-16-2011, 11:59 PM
  6. Excel 2007 : Pivot table does not "see" blank cells.
    By TNelson29 in forum Excel General
    Replies: 2
    Last Post: 08-18-2009, 09:46 AM
  7. How do I filter "Blank" cells in Pivot Table
    By Felipe Brochier in forum Excel General
    Replies: 0
    Last Post: 07-31-2006, 09:18 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