+ Reply to Thread
Results 1 to 5 of 5

Pivot table with blanks

  1. #1
    Registered User
    Join Date
    10-19-2010
    Location
    new mexico, US
    MS-Off Ver
    Excel 2007
    Posts
    14

    Pivot table with blanks

    All,

    I couldn't find an answer to this on a quick search so thought I would throw it out to all of you.

    I have a pivot table that is generated from constantly changing data, the number of columns stays the same, but the number of rows grows and shrinks depending on the amount of info pulled in each week. At the moment what I do is each week I go back and change the pivot table data source to the correct amount of rows each week. This is a bit of a pain and I would like to be able to use a different method. I had thought about using a formula to set up a dynamic named range but the only issue is that there are blank cells in basically every column. There may be a blank in a4 and then another in c8, etc....

    The pivot table is not grouped or manipulated in any way after it is generated, data is pulled out of it into another set of formulas.

    So to make a long question short.

    Can I just set up my pivot table to do 9999 rows and forget it or will this cause unforeseen difficulties?

    Thanks in advance.

    Tim
    Last edited by timlocke; 07-15-2011 at 02:19 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pivot table with blanks

    If there is at least one column with no blanks, then you can use that column to define the number of dynamic rows in your named range formula....

    ... setting to 9999 shouldn't be a problem, I don't think, until you surpass 9999. You will probably get a blank category in your PT, though....
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-19-2010
    Location
    new mexico, US
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Pivot table with blanks

    Each and every column has a blank cell at some point. It is a funky little sheet. Pulled in from Oracle (The most screwed up data program on the face of the earth.)

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pivot table with blanks

    Then probably the overestimation of rows is easiest way... unless you want a VBA method to determine last row containing any data... but that wouldn't be me, unfortunately, to supply that method....

  5. #5
    Registered User
    Join Date
    10-19-2010
    Location
    new mexico, US
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Pivot table with blanks

    Thanks so much for the help.

+ 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