Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Excel equivalent of F9

I generate student worksheets (in Excel) using the Rand() function and the F9 key to update cells. I cannot find the equivalent key strokes (or short cut) for numbers! Does it exist?

New iMac, Mac OS X (10.5.1)

Posted on Jan 11, 2008 2:34 AM

Reply
5 replies

Jan 11, 2008 3:11 AM in response to Geoff Mansfield

Hello

There is a RAND() function in Numbers.

The Help describes it by:

The RAND function generates a random number equal to or greater than 0 and less than 1.
RAND()
• No arguments (but you must include the parentheses).
Notes
Any time you change a value in the table, a new random number is generated.

As far as I know, there is no specific tool available to update cells (like the Recalculate menu item in AppleWorks). Numbers is always in Autocalc mode.

An easy way to mimic the F9 key is to install a checkbox somewhere in the table.
Every click in the box will force a re-calculation.

Yvan KOENIG (from FRANCE vendredi 11 janvier 2008 12:07:14)

Jan 11, 2008 5:57 AM in response to Wyodor

Wyodor wrote:
A1 is a Checkbox
B1 is =IF(A1;RAND();RAND())

To change the number, check/uncheck A1.


I don't think this works. While the random number is regenerated when the by toggling the checkbox, it is still also regenerated when anything else is changed.

Here are two possible approaches to solving this:

(1) Generate the random numbers with a formula using RAND(), copy them and paste them back as values. When "fresh" values are needed, repeat these steps.

(2) Create a formula for a random number which takes a seed value. Change the seed value when you want "fresh" random numbers. For ideas of how such a formula might be constructed, see [wikipedia|http://en.wikipedia.org/wiki/Random numbergeneration].

Jan 11, 2008 8:09 AM in response to 5-vv

The OP mentions the random function.

It works the same as in Excel 2004 for Mac. Everytime you change something, the random number changes too.

The only difference is that Numbers hasn't the F9 key. So the checkbox serves the purpose.

And in the prefs of Excel you can set that calculations are automatically or manual. To re-calculate manually press Cmd-=. Numbers cannot do that.

Perhaps a feedback would change that.

Jan 11, 2008 9:51 AM in response to Wyodor

Hello

You wrote:


+A1 is a Checkbox+
+B1 is =IF(A1;RAND();RAND())+

As I wrote in my first message, there is no need for a formula related to the cell containing the check box.
a single =RAND()

would be sufficient.
Clicking the checkbox will force a re-calculation exactly as pressing the F9 key in XL.

Yvan KOENIG (from FRANCE vendredi 11 janvier 2008 18:51:38)

Excel equivalent of F9

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.