+ Reply to Thread
Results 1 to 3 of 3

Biggest Winner/Loser series

  1. #1
    Registered User
    Join Date
    01-21-2014
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    1

    Biggest Winner/Loser series

    Hello all!

    I'm looking for a way to calculate the number of elements in the biggest loser/winner series in a specified column.

    So for example, in



    A1

    +1,5%
    +4,5%
    +2%
    -2%
    -1,1%
    +1,5%
    +4,5%
    +2%
    +8%
    +4%
    -1%





    the result I'm looking for would be "5" for the calculated longest winner series, and "2" for the biggest loser series.

    Thanks very much in advance,
    NF414

  2. #2
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Biggest Winner/Loser series

    Hi NF414, could you share the logic on how you derived 5 and 2?
    Also what do you mean by "longest winner series" and "biggest loser series"?



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Biggest Winner/Loser series

    Hi,

    If I understand you correctly:

    Winning:

    =MAX(FREQUENCY(IF(A1:A11>0,ROW(A1:A11)),IF(A1:A11<0,ROW(A1:A11))))

    Losing:

    =MAX(FREQUENCY(IF(A1:A11<0,ROW(A1:A11)),IF(A1:A11>0,ROW(A1:A11))))

    Though you don't mention if a value of 0 is possible, nor how this should be considered in terms of Winning/Losing.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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. Winner board
    By shg in forum Suggestions for Improvement
    Replies: 1
    Last Post: 01-06-2014, 12:22 PM
  2. help for sorting winner
    By mmanuel99 in forum Excel General
    Replies: 5
    Last Post: 12-16-2012, 09:18 PM
  3. [SOLVED] how to return 2 winner
    By cboys00 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-05-2012, 08:22 PM
  4. how to return 2 winner
    By cboys00 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-03-2012, 09:36 PM
  5. The Biggest Loser ranking and Excel
    By Fatzillllla in forum Excel General
    Replies: 4
    Last Post: 02-08-2011, 12:09 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