+ Reply to Thread
Results 1 to 6 of 6

Finding frequency of multiple negative period

  1. #1
    Registered User
    Join Date
    10-03-2014
    Location
    singapore
    MS-Off Ver
    2007
    Posts
    3

    Finding frequency of multiple negative period

    Hi,

    I've been trying to build a table that calculates frequency and average amount lost per period of losing streak for multiple negative periods.

    If you have data with 4 consecutive negative values, the frequency under period 4 should count as one whilst the rest should be zero.

    Frequency Consecutive Negative Period
    0 1
    0 2
    0 3
    1 4

    For now, I'm only able to do it via setting a 1 or 0 condition for each losing period, but it is very manual if I have to do up to 30 periods.

    Is there a way with other formulas? Or through frequency?

    I've attached the file I'm working on. Appreciate if I can get some help here.

    finding the frequency of multiple consecutive negative periods.xlsx

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

    Re: Finding frequency of multiple negative period

    Hi.

    Can you clarify what your desired results are and also where they are to be placed in this sheet?

    Regards
    Click * below if this answer helped

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

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Finding frequency of multiple negative period

    see the attached file
    1 helper column was created
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    10-03-2014
    Location
    singapore
    MS-Off Ver
    2007
    Posts
    3

    Re: Finding frequency of multiple negative period

    Thanks a lot guys! working well!

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Finding frequency of multiple negative period

    If your question is resolved, mark it SOLVED using the thread tools and add reputation by clicking on the star for some one helped you.

  6. #6
    Registered User
    Join Date
    10-03-2014
    Location
    singapore
    MS-Off Ver
    2007
    Posts
    3

    Re: Finding frequency of multiple negative period

    Thanks nflsales, i've marked it solved. Just a quick one, could you walk me through the logic used in cell E6?

    Don't really understand how it works to derive the value of 14. I broke down the formula to each part but {(countifs(c2:c270,c2:c270)} gives me a value of 3, and {(c2:c270<0)=2} gives me FALSE.

    Thanks a lot!

+ 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: 8
    Last Post: 02-28-2022, 04:16 PM
  2. formula for date as per given frequency period
    By vrumapathy in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-28-2014, 02:35 AM
  3. Get maximum frequency in 9 weeks rolling period
    By baltblue in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-15-2013, 11:37 AM
  4. Frequency of Negative Numbers
    By carhw in forum Excel General
    Replies: 2
    Last Post: 04-04-2012, 02:49 PM
  5. Finding frequency
    By mac_see in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2005, 03:06 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