Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default 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?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default 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?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default 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?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default 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?





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default 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?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot unhide rolls easy problem New Users to Excel 2 April 28th 07 03:52 PM
Mimic a watermark BusAdmAsst Excel Discussion (Misc queries) 2 April 11th 07 12:16 AM
Disable cursor from selecting whatever it rolls over. Captainupa Excel Discussion (Misc queries) 2 July 21st 06 10:09 PM
add rolls automatically at top Caroline Cook Excel Worksheet Functions 2 October 20th 05 02:40 PM
Probabilities, random numbers and dice throws Galamdring Excel Worksheet Functions 2 July 21st 05 03:01 PM


All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"