Remember Me?

#1
January 18th 05, 09:51 PM
 Mr H Posts: n/a
Running Total of Random Number

Hi, I am trying to create a probablity simulation for a high school lesson.
It involves rolling 1/2 dice using the randbetween function to create the
die value.

I want to keep a running total of the outcomes 1-6 in a cell for each which
is linked to a chart.

Is this possible?

#2
January 18th 05, 10:35 PM
 Peo Sjoblom Posts: n/a

Do you mean a running total of all the values from the dice, if so do
toolsoptionscalculation and check iteration and change from 100 to 1,
assume randbetween formula is in A1 and you want the running total in B1,
in B1 put =A1+B1, press F9 to calculate

Regards,

Peo Sjoblom

"Mr H" wrote:

Hi, I am trying to create a probablity simulation for a high school lesson.
It involves rolling 1/2 dice using the randbetween function to create the
die value.

I want to keep a running total of the outcomes 1-6 in a cell for each which
is linked to a chart.

Is this possible?

#3
January 19th 05, 08:11 AM
 Bernd Plumhoff Posts: n/a

If I understand you correctly:

Enter =RANDBETWEEN(1,6) into cell A1 and copy down to
A100, for example.

Type 1,2,3,4,5,6 into cells B1,B2, ...,B6.

Enter =COUNTIF(A:A,B1) into cell C1 and copy down to cell
C6.

Select cells B1:C6, goto menu Insert/Chart and try some
charts you like.

HTH,
Bernd
#4
January 19th 05, 07:09 PM
 Mr H Posts: n/a

Thanks for your replies/help Peo Sjoblom & Bernd Plumhoff!

I tried both methods, the iteration method worked well but will this setting
affect any other worksheets I have? I don't have any other iterations or
circular references.

Bernd, I couldn't get yours to work. I did as you suggested but just got
the value 65535 appearing randomly in column C next to any of 1-6. However,
I would prefer a method that didn't use Tools Options, etc so that I can
share the worksheet with colleagues and students fairly novice at Excel.
Unless I have a macro that does it for me.

Thanks again!

Michael Aitchison

"Bernd Plumhoff" wrote in message
...
If I understand you correctly:

Enter =RANDBETWEEN(1,6) into cell A1 and copy down to
A100, for example.

Type 1,2,3,4,5,6 into cells B1,B2, ...,B6.

Enter =COUNTIF(A:A,B1) into cell C1 and copy down to cell
C6.

Select cells B1:C6, goto menu Insert/Chart and try some
charts you like.

HTH,
Bernd

#5
January 19th 05, 10:35 PM
 Mr H Posts: n/a

Thanks again, the finished worksheets (Coin Toss & Dice) are on

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post TEK Charts and Charting in Excel 1 January 13th 05 01:17 AM Ms Chewie Excel Discussion (Misc queries) 3 December 21st 04 05:35 AM Victor_alb Excel Discussion (Misc queries) 2 December 21st 04 04:21 AM JPC100 Excel Discussion (Misc queries) 5 December 18th 04 01:24 PM darebo Excel Discussion (Misc queries) 2 December 6th 04 05:01 PM

All times are GMT +1. The time now is 09:26 PM.