I am working on an assignment and i am stuck writing a formula that i need to get done asap.
I have created a random number generator for a coin toss
[mycode]=RAND()<.5, "Heads","Tails")[mycode]
that works fine. so i have that ten times on the same row.
I need to make a formula that looks at those ten cells and finds if there are four "Heads" in a row and if so than it is a win condition if not then lose condition.
someone please help me. i do not need the answer i just need to know if theres a formula out there that will help my problem i will do my own work.
Bookmarks