Hello, I'm new and currently DESPERATELY in need of some help. So here I go (this is for a simulation by the way):
I have a number (eg. 38) that is calculated by a =countif formula of a specific number (eg. 4) generated from a =randbetween formula for however many rows (eg. 50)
So, after this step, I need to generate a different set of numbers. I used =randbetween(1, 2) for two variables. The problem is, the range that I need needs to be between 1 and 38 (as the example). However, each time the set of numbers are different, therefore I cannot make 38 rows, and expect 38 to be the outcome from the =countif formula each time.
If I need to know the total number of 1s there are for the second random generation and is within the range 1 and the total number of the first generation, how would I go about doing this?
I have made a list that exceeds the number of possible outcomes, but the range is still different each time. So I figured that I could try (example) =countif(A2:A(H24), 1) expecting it to be like A2:A38 for the range, but that does not work... or should it? (h24 as in the cell that 38 is in).
Please include alternative suggestions or "the right way" (you can do so while shaking your head at this inconpetent highschooler) if there are any. (there must be right????) Even a "nope, sorry, you're dead meat" is okay too. At least I know.
I hope that this wouldn't be confusing, and I need an answer asap if possible. For a school project, I basically self taught myself with videos and simple instructions, but of course do not know the majority of it. So as a last resort, I came here for help. Thank you in advance!!
and I realized my title isn't exactly the same as the content (I apolgize)
Bookmarks