+ Reply to Thread
Results 1 to 3 of 3

How to let pivot chart ignore errors when the source is dynamic

  1. #1
    Registered User
    Join Date
    11-07-2019
    Location
    Ontario, Canada
    MS-Off Ver
    2013
    Posts
    15

    How to let pivot chart ignore errors when the source is dynamic

    Hello,
    I have a daily report and a pivot table/chart that is displaying stuff from a source tab that is dynamic.
    Every day the amount of rows jumps randomly +1...-1000. I want to expand the Pivot Source Data in advance to 99999 rows to accommodate the future expansion
    without re-mapping the source data every morning.
    My pivot has a source range - how to tweak it to ignore the empty values from the unoccupied cells in the dynamic source tab?
    There are also formulas that are converting dates to weeknum and if they are empty i get zeroes and/or ######## (if formatted as short date) or "-1" if formatted as general.

    I tried adding Label Filter to exclude (blank), but it's only a half of the problem - ###/-1 are still there.
    Thanks
    pivot.jpg
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: How to let pivot chart ignore errors when the source is dynamic

    Why make things difficult ?
    Select your range and make it an XL Table ( Insert - Table)
    Then base your Pivot on this table, thus your chart
    The PT will adapt automatically each time rows are added ( see here for how to)

  3. #3
    Registered User
    Join Date
    11-07-2019
    Location
    Ontario, Canada
    MS-Off Ver
    2013
    Posts
    15

    Re: How to let pivot chart ignore errors when the source is dynamic

    Quote Originally Posted by Pepe Le Mokko View Post
    Why make things difficult ?
    Select your range and make it an XL Table ( Insert - Table)
    Then base your Pivot on this table, thus your chart
    The PT will adapt automatically each time rows are added ( see here for how to)
    That truly helps BUT I didn't mention that my workflow involves copying a range from an Access database daily and pasting it to the spreadsheet (that feeds a couple pivot charts and tables).
    Above solution is brilliant, but works only if the range expands every time. In the case of a smaller range, the old data in the [Table1] will remain. I'll explain: the "last week's" range - 1000 rows, "this week's" range has 900 rows, keeping the "last week's" 100 rows in the [Table1] and "infecting" the pivot with old data.
    Would you be able to point me towards the solution, please?

+ 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. Have Excel ignore Pie Chart source data?
    By mrbusto71 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 09-07-2019, 04:28 AM
  2. Replies: 5
    Last Post: 05-11-2018, 08:54 PM
  3. Replies: 4
    Last Post: 06-25-2012, 03:25 PM
  4. [SOLVED] Dynamic Chart Data Source
    By MarianneBal in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-09-2012, 04:31 AM
  5. Chart with dynamic CSV data source
    By alecswan in forum Excel General
    Replies: 3
    Last Post: 09-29-2011, 03:59 PM
  6. How to ignore errors in a bar chart
    By titanium in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 01-29-2010, 12:43 PM
  7. Pivot Table Source Data Errors
    By maacmaac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2008, 09:34 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