+ Reply to Thread
Results 1 to 2 of 2

Counting the longest streak of negative numbers

  1. #1
    Registered User
    Join Date
    08-25-2014
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    1

    Counting the longest streak of negative numbers

    I've officially wasted the morning trying to solve this problem. I'm being asked to identify the longest streak of negative returns. I am given one column of returns and one cell to program in the answer. The remainder of the workbook is protected. I've attached an example.

    Example: Returns File.xlsx


    So far I'm trying formulas based on =MAX(FREQUENCY(B:B,<0),B:B) CSE

    The only thing that is clear to me is that I am clueless.

    HELP!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Counting the longest streak of negative numbers

    =max(frequency(if(a3:a24<0, row(a3:a24)), if(a3:a24>=0, row(a3:a24))))
    Entia non sunt multiplicanda sine necessitate

+ 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. Replies: 4
    Last Post: 08-21-2010, 09:09 PM
  2. Need help calculating the longest streak in a date series
    By SeanMulholland in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2010, 07:13 PM
  3. Calculating Longest winning and losing streak.
    By Lewis Koh in forum Excel General
    Replies: 2
    Last Post: 07-27-2009, 08:43 AM
  4. Requiring help calculating longest winning streak
    By kamran in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 12-06-2006, 02:51 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