+ Reply to Thread
Results 1 to 3 of 3

Help please, trying to get a function to detect 4 cells in a row.

  1. #1
    Registered User
    Join Date
    06-17-2012
    Location
    Albany, New York
    MS-Off Ver
    Excel 2010
    Posts
    3

    Help please, trying to get a function to detect 4 cells in a row.

    I'm trying to get Microsoft Excel to check to see if this variable is true or not. Example would be that I would flip 10 coins and what I'd need it to do is to get it to tell me that if somewhere within those 10 coin flips, if 4 of them where in a row (not total).

    Example would be: (H for Heads, T for Tails)

    THTTHHHHTTT <--- How would I get Excel to look at that (in 10 different cells going from A-J) and tell me "yes, no, true or false?

    Thank you for taking the time to read this.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Help please, trying to get a function to detect 4 cells in a row.

    Duplicate thread: http://www.excelforum.com/excel-gene...-in-a-row.html

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Help please, trying to get a function to detect 4 cells in a row.

    Good day,

    Firstly, in column K get all values of A-J together using

    Please Login or Register  to view this content.
    Then use the following to determine whether there are 4 consecutive instances

    Please Login or Register  to view this content.

+ 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