Closed Thread
Results 1 to 3 of 3

Number of days per month if a column has a consecutive value above "x"

  1. #1
    Registered User
    Join Date
    01-30-2018
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2016
    Posts
    3

    Number of days per month if a column has a consecutive value above "x"

    Hi all!

    Can't figure this one out. I need to find the number of days by month when the speed of wind is above 10 for different consecutive time frames (1 to 2 hours, 2 to 4 hours. 4 to 6 hours). I've tried many formulas in various threads and none seem to work.

    Ultimately, I need a table showing the days per month with these two criterias 1) above 10 mph 2) within consecutive time frames


    2015.12 2016.01 2016.02
    1 to 2 hours 8
    2 to 4 hours 1
    4 to 6 hours 0
    6 to 8 hours 0


    Any Ideas?

    Thanks in advance!

    FZ
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Number of days per month if a column has a consecutive value above "x"

    Hi Nando24. Welcome to the forum.

    I can't seem to come up with the same figures you post. Array enter this in cell K4, fill down and across. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It returns this:


    H
    I
    J
    K
    L
    M
    N
    1
    Days by month with wind Speed above 10
    2
    3
    Hours
    2015.12
    2016.01
    2016.02
    4
    1
    2
    1 to 2 hours
    11
    0
    0
    0
    5
    2
    4
    2 to 4 hours
    1
    0
    0
    0
    6
    4
    6
    4 to 6 hours
    0
    0
    0
    0
    7
    6
    8
    6 to 8 hours
    0
    0
    0
    0
    8
    9
    10
    Posted:
    2015.12
    2016.01
    2016.02
    11
    Hours
    1 to 2 hours
    8
    12
    2 to 4 hours
    1
    13
    4 to 6 hours
    0
    14
    6 to 8 hours
    0
    Dave

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Number of days per month if a column has a consecutive value above "x"

    OP has posted in the CS forum, so I am closing this thread now
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  2. [SOLVED] Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]
    By MrsCharmy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-31-2017, 08:40 AM
  3. Getting month number from week based on number of "work days"
    By bergsorensen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-11-2014, 07:21 AM
  4. Find id"" and replace with id"consecutive number" 3071 entries
    By RoyLittle0 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-19-2012, 07:27 AM
  5. Replies: 1
    Last Post: 02-07-2010, 12:44 AM
  6. Replies: 3
    Last Post: 09-29-2009, 06:42 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