Results 1 to 9 of 9

ignore empty data across a range

Threaded View

ruberg ignore empty data across a... 07-22-2009, 10:55 AM
ruberg Re: ignore empty data across... 07-22-2009, 03:45 PM
martindwilson Re: ignore empty data across... 07-22-2009, 05:52 PM
ruberg Re: ignore empty data across... 07-23-2009, 11:40 AM
martindwilson Re: ignore empty data across... 07-23-2009, 12:01 PM
ruberg Re: ignore empty data across... 07-23-2009, 12:04 PM
martindwilson Re: ignore empty data across... 07-23-2009, 12:49 PM
ruberg Re: ignore empty data across... 07-23-2009, 12:54 PM
contaminated Re: ignore empty data across... 07-23-2009, 12:56 PM
  1. #1
    Registered User
    Join Date
    07-09-2009
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2003
    Posts
    11

    ignore empty data across a range

    I'd like to compute the average of a few numbers, but only if the data has a certain number of non-null values. I've attached my Excel sheet for reference.

    I have relevant data in columns B and D, where B represents a day and D represents temperature. I'd like to average the temperatures together for each day and place the result in column E. However, this must be done only if each day has at least 22 non-null values (null values are represented by -9999).

    A perfect example is day 296 - my average is thrown completely off by the existence of several null values in the last half of the day.

    In addition to the problem above, I'd also like to only compute the average using the non-null values (ie, if a day has 23 non-null values and 1 null value, I want to ignore the null value in the average calculation - see day 222 as an example).

    Thanks in advance for the help!
    Attached Files Attached Files
    Last edited by ruberg; 07-24-2009 at 01:13 PM. Reason: solved

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