+ Reply to Thread
Results 1 to 6 of 6

How to calculate average without counting missing values in a pivot table?

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    2013
    Posts
    13

    How to calculate average without counting missing values in a pivot table?

    Hi,

    I have a problem when Im trying to calculate averages in my pivot table. I dont know how to handle my missing values. If I leave them blank I cant get the average at all because the values end up under the dates instead of in a column next to the dates where I want them to be. If I write 0 it uses it as a value, eg 2+2+0 and i get 1,33 instead of 2. Also the zero could be a value for some of the parameters, so itīs no good.

    I am new to pivot tables, can somebody please help?

    Anna

  2. #2
    Registered User
    Join Date
    11-20-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: How to calculate average without counting missing values in a pivot table?

    please attach sample x'le file to understand it better.

  3. #3
    Forum Contributor
    Join Date
    04-29-2012
    Location
    nuneaton, England
    MS-Off Ver
    Excel 2007
    Posts
    366

    Re: How to calculate average without counting missing values in a pivot table?

    Do you need to put in a 0 or can you just leave the cell blank. if the information is coming in from another sheet or cell (say zz99) you could use

    =if(zz99=0,"",zz99) that way it will return an empty cell for the average not to look at it.

  4. #4
    Registered User
    Join Date
    12-17-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate average without counting missing values in a pivot table?

    Here it is:
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-17-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate average without counting missing values in a pivot table?

    The thing is I dont want to put zeros instead of blanks because it messes up my data. But if I leave it blank I cant manage to make the table in columns because all values end up in one single column.

  6. #6
    Registered User
    Join Date
    12-17-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate average without counting missing values in a pivot table?

    Is there really no way of creating a pivot table with blanks (or something else than zeros as missing values)? OR if i cant use pivot tables, can I make a formula that allows me to calculate the mean only for 0-10 m of depth each sampling occation?

+ 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. How to calculate Average of daily data to fill missing values
    By mahjid in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2013, 05:46 AM
  2. [SOLVED] Can I calculate the average of subtotalled rows in a pivot table?
    By Stephd22 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-14-2013, 09:00 AM
  3. How can I calculate a weighted average in a Pivot Table?
    By petevang in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-23-2012, 12:56 PM
  4. Average of Pivot Table values (refreshable)
    By JuJuBe in forum Excel General
    Replies: 7
    Last Post: 07-19-2010, 09:46 PM
  5. Calculate weighted average with missing values
    By Deiseman in forum Excel General
    Replies: 9
    Last Post: 06-08-2010, 10:03 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