Home >Software Tutorial >Office Software >How to make a random roll call table in Excel_one function

How to make a random roll call table in Excel_one function

WBOY
WBOYOriginal
2024-06-02 12:21:551138browse

Do you know how to make a random roll call table using Excel? PHP editor Strawberry brings you a simple and efficient method, which can be easily implemented with only one function. This article will introduce in detail how to use the RANDBETWEEN function to randomly select names, allowing you to easily manage roll call work in classes or activities. Come and find out!

First we list everyone’s names into a table, and then create a table in the following style.

How to make a random roll call table in Excel_one function

Then enter the function in the roll call box:

=INDIRECT("a"&RANDBETWEEN(3,12))

This RANDBETWEEN (3,12) means randomly selecting 3 to 12, with an A merged in front, indicating A3 to A12, which corresponds to the cells of all the names in the name column. Putting an INDIRECT on the outside means that the contents of cells A3 to A12 are randomly selected.

How to make a random roll call table in Excel_one function

After filling in the form, press Enter, and then click F9 to draw a random drawing. You can also hold down F9 to simulate the lottery scene.

How to make a random roll call table in Excel_one function

The above is the detailed content of How to make a random roll call table in Excel_one function. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn