formulas

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

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Formulas

Formulas

resolvedResolved · Low Priority · Version 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:

Missing Field handle

If your field handle goes missing all you need to do is go to tools > options > edit tab and then make sure that the check boxes for paste and insert buttons are checked.

View all Excel hints and tips


Server loaded in 0.1 secs.