+ Reply to Thread
Results 1 to 37 of 37

Need help find longest group of numbers

Hybrid View

  1. #1
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Need help find longest group of numbers

    The first one is correct, we already know this because I stated earlier that there are 88 1-streaks and 42 2-streaks
    The second size/appearances you listed are from the incorrect code that was "ignoring" 1-streaks. It wasn't ignoring them, but it wasn't outputting the display properly which is what I fixed in the most recent code.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  2. #2
    Forum Contributor
    Join Date
    05-12-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    219

    Re: Need help find longest group of numbers

    Thank you very much!!!
    VBisgreat!!

  3. #3
    Forum Contributor
    Join Date
    05-12-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    219

    Re: Need help find longest group of numbers

    keep getting error here sometimes

    dAvg(i) = dAvg(i) + rngArea.Offset(-1).Cells(1).Value

+ 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