I've come across another issue related to my probability simulator.
I'm using the following:
to generate a row of numbers to represent a series of dice rolls The row argument is a cell in which I type the number of series I want to simulate.
What I am looking for is a formula that will check each row and return counts of the results to a given criteria, such as all results equal to one, or greater than 1, or equal three. Preferably this formula would be some kind of sequence that automatically spills down to match the size of the test array.
So far the only thing I could think to try was =COUNTIF(INDEX(A5#,SEQUENCE(ROWS(A5#)),0),">1"), but this just returns an array of #VALUE! errors equal in size to the number of tests
I'm using the following:
Excel Formula:
=RANDARRAY($A$4,6,1,6,TRUE)
What I am looking for is a formula that will check each row and return counts of the results to a given criteria, such as all results equal to one, or greater than 1, or equal three. Preferably this formula would be some kind of sequence that automatically spills down to match the size of the test array.
So far the only thing I could think to try was =COUNTIF(INDEX(A5#,SEQUENCE(ROWS(A5#)),0),">1"), but this just returns an array of #VALUE! errors equal in size to the number of tests