ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I mimic random dice rolls in a sheet (https://www.excelbanter.com/excel-discussion-misc-queries/190941-how-do-i-mimic-random-dice-rolls-sheet.html)

MarkV

How do I mimic random dice rolls in a sheet
 
I have created a virtual business project on a xcell sheet and require some
help on how to mimic values rolled from 2 dies.
ie. manually casting two real game dies and both the values are random.
I want the above to reflect on a sheet upon pressing a button.

Can anyone help?

Bob Phillips

How do I mimic random dice rolls in a sheet
 
=RANDBETWEEN(1,6)+RANDBETWEEN(1,6)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Markv" wrote in message
...
I have created a virtual business project on a xcell sheet and require some
help on how to mimic values rolled from 2 dies.
ie. manually casting two real game dies and both the values are random.
I want the above to reflect on a sheet upon pressing a button.

Can anyone help?




Mike H

How do I mimic random dice rolls in a sheet
 
Hi,

Put this in 2 cells

=RANDBETWEEN(1,6)

Tap F9 to roll the dice again

Mike

"Markv" wrote:

I have created a virtual business project on a xcell sheet and require some
help on how to mimic values rolled from 2 dies.
ie. manually casting two real game dies and both the values are random.
I want the above to reflect on a sheet upon pressing a button.

Can anyone help?


MarkV

How do I mimic random dice rolls in a sheet
 
Thanks Mike, Bob It works, can this work with a button in the sheet ie.
"Press to Roll"?
If so can you assist.

"Mike H" wrote:

Hi,

Put this in 2 cells

=RANDBETWEEN(1,6)

Tap F9 to roll the dice again

Mike

"Markv" wrote:

I have created a virtual business project on a xcell sheet and require some
help on how to mimic values rolled from 2 dies.
ie. manually casting two real game dies and both the values are random.
I want the above to reflect on a sheet upon pressing a button.

Can anyone help?


Bob Phillips

How do I mimic random dice rolls in a sheet
 
Just drag a button from the forms toolbar and assign a simple macro

Sub Recalc
Activesheet.Calculate
End Sub

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Markv" wrote in message
...
Thanks Mike, Bob It works, can this work with a button in the sheet ie.
"Press to Roll"?
If so can you assist.

"Mike H" wrote:

Hi,

Put this in 2 cells

=RANDBETWEEN(1,6)

Tap F9 to roll the dice again

Mike

"Markv" wrote:

I have created a virtual business project on a xcell sheet and require
some
help on how to mimic values rolled from 2 dies.
ie. manually casting two real game dies and both the values are random.
I want the above to reflect on a sheet upon pressing a button.

Can anyone help?




MarkV

How do I mimic random dice rolls in a sheet
 
Thanks Bob

"Bob Phillips" wrote:

Just drag a button from the forms toolbar and assign a simple macro

Sub Recalc
Activesheet.Calculate
End Sub

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Markv" wrote in message
...
Thanks Mike, Bob It works, can this work with a button in the sheet ie.
"Press to Roll"?
If so can you assist.

"Mike H" wrote:

Hi,

Put this in 2 cells

=RANDBETWEEN(1,6)

Tap F9 to roll the dice again

Mike

"Markv" wrote:

I have created a virtual business project on a xcell sheet and require
some
help on how to mimic values rolled from 2 dies.
ie. manually casting two real game dies and both the values are random.
I want the above to reflect on a sheet upon pressing a button.

Can anyone help?






All times are GMT +1. The time now is 02:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com