+ Reply to Thread
Results 1 to 5 of 5

How do I calculate an average and exclude the null values?

  1. #1
    Registered User
    Join Date
    03-08-2020
    Location
    Devon, UK
    MS-Off Ver
    14.0.7237.5000 (32 bit)
    Posts
    25

    How do I calculate an average and exclude the null values?

    I have a list of weekly earning values for which I calculate an average weekly value using the AVERAGE command. Some of the weeks have a null value as nothing was earnt. I want to do a comparative average just using the values above zero. Is there a way of using my original table of values that includes the null values and exclude them in some way in the formula or will I just have to create another table and not include the weeks showing nulls?

    Thanks for any help.

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

    Re: How do I calculate an average and exclude the null values?

    If you are OK with a formula try the AVERAGEIF(s) function

  3. #3
    Registered User
    Join Date
    03-08-2020
    Location
    Devon, UK
    MS-Off Ver
    14.0.7237.5000 (32 bit)
    Posts
    25

    Re: How do I calculate an average and exclude the null values?

    Wow, that was quick Pepe. Many thanks. So I'd just use AVERAGEIF in place of AVERAGE? My knowledge isn't brilliant so don't be afraid of setting out what I need to do in simple terms!

  4. #4
    Registered User
    Join Date
    03-08-2020
    Location
    Devon, UK
    MS-Off Ver
    14.0.7237.5000 (32 bit)
    Posts
    25

    Re: How do I calculate an average and exclude the null values?

    I think I've cracked it but I'm not allowed to post any links until I've posted a few more times.



    Thanks again.

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

    Re: How do I calculate an average and exclude the null values?

    What are you trying to post? If it is a sheet, no problem. See the yellow banner.

+ 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. [SOLVED] How to Calculate an Average to exclude zeros and the largest value
    By rslush91 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2018, 02:15 PM
  2. Exclude Values from Average formula
    By pavankumarbangaru in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-27-2018, 02:58 PM
  3. Calculate Rolling Average of exclude zero and Weekday
    By AmitSharma in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-22-2016, 05:04 PM
  4. Calculate an average based on criteria. Exclude some rows.
    By doublejsk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2015, 10:08 AM
  5. [SOLVED] Calculate average and standard deviation for each year and exclude 0s
    By excelas88 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-01-2015, 05:37 PM
  6. How to average cells but exclude 0 values?
    By Billznik in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-27-2008, 06:26 AM
  7. Average needed, but want to exclude some values
    By hibiscus27 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2007, 10:49 AM

Tags for this Thread

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