I am planning on making a sufficient dice generator sheet for my excel document. But so far, I am only able to create one dice generator per cell. I want to create the interactive option of throwing 1 to 20 times the same dice and have the result in only two cells (the number of dices, and the sum). And that option should be able for more than one type of dice (standard roleplaying set). Basically, I want to be able to replicate the RANDBETWEEN function. So, A2 being my number of dice column: if A2=x, then RANDBETWEEN repeated X times (and not X*RANDBETWEEN, which only multiplies x times the first dice throw). I cannot believe that what I want to do is not possible on excel. Anyone can help?
My table has a column for the number of dices I want to throw, the type of dice, and then the sum: number, type, sum.
I was able to use an IF function to be able to roll up to three dice at a time and add the total in the last column. But it says I have too much variable when I try to get past 3 dice at the same time. Also, I do this while using the RANDBETWEEN function quite primitively. Here's what the equation looks like (RANDBETWEEN=ALEA.ENTRE.BORNES since my version is french against my will):
=IF(A2=1,ALEA.ENTRE.BORNES(1,4), SI(A2=2,ALEA.ENTRE.BORNES(1,4)+ALEA.ENTRE.BORNES(1,4)))
I will look up vlookup, concatenation and nested ifs, but I am looking more precisely for something that will happen directly through the formula in the cell, and not referencing other cells or tables (like vlookup seems to do).
Basically, I want to be able to replicate the RANDBETWEEN function. So, A2 being my number of dice columb: if A2=x, then XRANDBETWEEN (and not X*RANDBETWEEN, which only multiplies x times the first dice throw). I cannot believe that what I want to do is not possible on excel. Anyone can help?
Bookmarks