+ Reply to Thread
Results 1 to 3 of 3

Formula/function that counts amount of rows between specific number.

  1. #1
    Registered User
    Join Date
    12-12-2012
    Location
    California
    MS-Off Ver
    Excel 2011
    Posts
    2

    Post Formula/function that counts amount of rows between specific number.

    I'm not sure how to explain this, sorry. I want to know the maximum/most number of rows that are between a specific number in a column, even though there would be many of that specific number.

    Example:

    1.jpg

    I want a formula/function that would give me (4).

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Formula/function that counts amount of rows between specific number.

    Hi

    probably the easiest way to do this is with a helper column. If your numbers are in cells A2:A101, in cell B2 enter the formula:
    Please Login or Register  to view this content.
    and copy down to cells B3:B101

    then in any cell, the fomula

    Please Login or Register  to view this content.
    will yield the greatest number of rows between two zeros

  3. #3
    Registered User
    Join Date
    12-12-2012
    Location
    California
    MS-Off Ver
    Excel 2011
    Posts
    2

    Re: Formula/function that counts amount of rows between specific number.

    Thank you. I'm not too well versed in excel and even though I don't understand what you just did, it worked.

    Thanks a bunch. I'll try to dissect your formulas.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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