We all know that Excel It is often used in RAND function , It can generate random numbers , The usage can be seen below .
Excel Generating random number functions RAND and RANDBETWEEN
So in Word You can also use RAND Function? ？ Yes , stay Word We can use it to generate random text automatically . When you need a copy of Word When you're practicing with documents , You can use it .
One 、 Basic grammar
The basic syntax is =rand( Number of paragraphs , Sentences per paragraph ), Pay attention to english State input . It means to generate random text according to the specified number of paragraphs and sentences .
For example, to generate 6 Paragraph text 、 Each paragraph contains 3 Sentence , Then input. =rand(6,3), Press enter , The results are shown in the following figure .
Two 、 Omit parameters
When omitting 1 When the parameters , The grammar is =rand( Number of paragraphs ). For example, formula =rand(2), Represents random generation 2 Paragraph text , The number of sentences is random , The results are shown in the following figure .
When omitting all parameters, write it directly as =rand(), Then the number of paragraphs and the number of sentences in each paragraph will be random , You can try it on your own .
3、 ... and 、 Input formula, press enter, no response ？
If there is no response after entering the formula , Click Word Top left Icon -【 Options 】-【 proofreading 】-【 AutoCorrect Options 】- Check 【 Automatically replace as you type 】, Sure you can. , Here's the picture .