+ Reply to Thread
Results 1 to 3 of 3

How to find average number of continuous days of zero flow

  1. #1
    Registered User
    Join Date
    06-14-2017
    Location
    Vancouver, BC, Canada
    MS-Off Ver
    2010
    Posts
    1

    How to find average number of continuous days of zero flow

    Hi there,

    I'm trying to figure out what formula I could use to calculate the average number of continuous days with zero flow per month.

    Example data:
    In column G I have the date and in column H I have the rate of flow:

    11/1/2001 0
    11/2/2001 0
    11/3/2001 0
    11/4/2001 0
    11/5/2001 0
    11/6/2001 0
    11/7/2001 0
    11/8/2001 0
    11/9/2001 0
    11/10/2001 0
    11/11/2001 0
    11/12/2001 0
    11/13/2001 0
    11/14/2001 15.117
    11/15/2001 36.715
    11/16/2001 36.759
    11/17/2001 19.097
    11/18/2001 0
    11/19/2001 9.983
    11/20/2001 36.581
    11/21/2001 36.717
    11/22/2001 36.787
    11/23/2001 20.243
    11/24/2001 0
    11/25/2001 0
    11/26/2001 0
    11/27/2001 0
    11/28/2001 0
    11/29/2001 0
    11/30/2001 0

    My boss wants to know what the average number of continuous days with 0 flow each month (from 1987 to 2016). In the above example for November 2001, there are three periods of zero flow, for which the durations are : 13 days, 1 day and 7 days. Average duration would be 7.

    Is there a formula to help me figure this out?

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: How to find average number of continuous days of zero flow

    =AVERAGE(IF(LARGE(FREQUENCY(IF($B$1:$B$30=0,ROW($A$1:$A$30)),($B$1:$B$30<>0)*ROW($A$1:$A$30)),ROW(1:30))>0,LARGE(FREQUENCY(IF($B$1:$B$30=0,ROW($A$1:$A$30)),($B$1:$B$30<>0)*ROW($A$1:$A$30)),ROW(1:30)))) as array formula, in B:B there is a flow

  3. #3
    Forum Contributor
    Join Date
    01-05-2017
    Location
    New York
    MS-Off Ver
    Office 2016
    Posts
    206

    Re: How to find average number of continuous days of zero flow

    See also: https://www.mrexcel.com/forum/excel-...ml#post4760139

+ 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. Average Number of Days between Sales
    By MrIceBreaker in forum Excel General
    Replies: 1
    Last Post: 03-26-2014, 04:06 AM
  2. [SOLVED] Find Average, Return Column Header of Number Closest To Average
    By djmyers in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-07-2013, 04:19 PM
  3. Help on count the number of days in between dates and then average number of days
    By Barbara Excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2013, 12:13 PM
  4. [SOLVED] Excel 2007 : Average number of days between two events
    By CatherineCarey in forum Excel General
    Replies: 4
    Last Post: 04-16-2012, 05:54 PM
  5. Find average number of days taken
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-20-2011, 02:36 AM
  6. Average number of days
    By ncmal in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2009, 02:35 PM
  7. Average Number of Days in a Quarter
    By dvent in forum Excel General
    Replies: 11
    Last Post: 11-16-2007, 05:23 AM
  8. Continuous flow of information
    By BarbaraJean in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-12-2006, 05:23 PM

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