+ Reply to Thread
Results 1 to 4 of 4

In a pivot table, can the avg of a column include rows w/o data?

  1. #1
    Aaron
    Guest

    In a pivot table, can the avg of a column include rows w/o data?

    I have a pivot table set up that shows how many hours were spent on an
    activity in a given month for various people. The source data does not show 0
    if there were no hours, there is just no data. In my pivot table, when I
    average a column, blank entries are not included in the average, even though
    I have "For empty cells show 0"

    Is there a way for the average of columns to count empty cells as 0 and
    include them in the average?

  2. #2
    Debra Dalgleish
    Guest

    Re: In a pivot table, can the avg of a column include rows w/o data?

    For a pivot table average, just like the worksheet Average function,
    empty cells are ignored.

    Displaying a zero for empty cells won't affect the average, since it's
    an average of the underlying data, not the displayed values.

    Aaron wrote:
    > I have a pivot table set up that shows how many hours were spent on an
    > activity in a given month for various people. The source data does not show 0
    > if there were no hours, there is just no data. In my pivot table, when I
    > average a column, blank entries are not included in the average, even though
    > I have "For empty cells show 0"
    >
    > Is there a way for the average of columns to count empty cells as 0 and
    > include them in the average?



    --
    Debra Dalgleish
    Contextures
    http://www.contextures.com/tiptech.html


  3. #3
    Aaron
    Guest

    Re: In a pivot table, can the avg of a column include rows w/o dat

    Any suggestions? (I currently have a macro set up to mirror the data, but it
    seems horribly inefficient)

    "Debra Dalgleish" wrote:

    > For a pivot table average, just like the worksheet Average function,
    > empty cells are ignored.
    >
    > Displaying a zero for empty cells won't affect the average, since it's
    > an average of the underlying data, not the displayed values.
    >
    > Aaron wrote:
    > > I have a pivot table set up that shows how many hours were spent on an
    > > activity in a given month for various people. The source data does not show 0
    > > if there were no hours, there is just no data. In my pivot table, when I
    > > average a column, blank entries are not included in the average, even though
    > > I have "For empty cells show 0"
    > >
    > > Is there a way for the average of columns to count empty cells as 0 and
    > > include them in the average?

    >
    >
    > --
    > Debra Dalgleish
    > Contextures
    > http://www.contextures.com/tiptech.html
    >
    >


  4. #4
    Registered User
    Join Date
    10-29-2013
    Location
    Silly Khan Valley
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: In a pivot table, can the avg of a column include rows w/o data?

    You could copy a zero. Select the data range. Use Home / Editing / Find & Select / Go To Special / Blanks. Then,paste the zero into those selected blanks.

+ 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