gorillatamer
New Member
- Joined
- Dec 11, 2012
- Messages
- 3
Hello everyone!I am trying to come up with a function to facilitate a specific random number generation.
I want to generate N dice rolls and get the sum of those rolls. N is dependent on the number in another randomly generated cell.I am using the =RANDBETWEEN(1,6) to get a six-sided die roll.
If I use the formula =RANDBETWEEN(1,6)+RANDBETWEEN(1,6)+... I get the desired result. My issue is figuring out how to get the correct number of dice rolls without having to manually input the RANDBETWEEN(1,6).
To clarify a bit, in A1 I have =RANDBETWEEN(1,5). This determines the number of dice being rolled, I'll call this N. I need the function in B1 to give the sum of N. I can't just use =A1*RANDBETWEEN(1,6) because that gives a multiple of just one roll.
I hope I have explained this enough, but I will be glad to explain further. Thanks for all of the help in advance!
-GT
I want to generate N dice rolls and get the sum of those rolls. N is dependent on the number in another randomly generated cell.I am using the =RANDBETWEEN(1,6) to get a six-sided die roll.
If I use the formula =RANDBETWEEN(1,6)+RANDBETWEEN(1,6)+... I get the desired result. My issue is figuring out how to get the correct number of dice rolls without having to manually input the RANDBETWEEN(1,6).
To clarify a bit, in A1 I have =RANDBETWEEN(1,5). This determines the number of dice being rolled, I'll call this N. I need the function in B1 to give the sum of N. I can't just use =A1*RANDBETWEEN(1,6) because that gives a multiple of just one roll.
I hope I have explained this enough, but I will be glad to explain further. Thanks for all of the help in advance!
-GT
Last edited: