Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

formulas

ResolvedVersion 2010

Galina has attended:
Excel Intermediate course
PowerPoint Intermediate Advanced course
Multiple applications course

Formulas

Is there a formula in XL where you can select a random value from a list of text values?

RE: formulas

Hi Galina

Thank you for a question. How about

=RANDBETWEEN(1,50)

Where 1 is the starting figure and 50 is the maximum - change the max to suit your requirements.

This could then be combined with the Index function:

=index(array,randbetween(1,10))

where array is a column of 10 cells that contain the text items
to be selected.

If you press F9 this will force Excel to refresh its random number and you will see a different item selected from your list.

I hope this helps - let me know how you get on.


Kind regards,
Andrew

Excel tip:

Change Excel's default font

You can change the default font and font size for all spreadsheets created in Excel by:

1. Going to Tools on the menu bar.
2. Select Options, then General.
3. Next to Standard Font you can change the font and font size.
4. Click OK.

Each new file you start from this point onward should use the font and font size you have selected.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.