Skip to main content
 

How to generate random text in Word document?

Author: Siluvia Last Modified: 2024-08-12

If you want to generate random text in Word document, method in this article can help you.

Generate random text in Word with formula


Generate random text in Word with formula

The formula =rand(X,Y), =lorem(X,Y) and =rand.old(X,Y) can help to generate random text in Word document.

In above formulas, X means number of paragraphs, and Y indicates number of sentences each paragraph should have.

For example:

1. Typing =rand(3,2) and pressing the Enter key, three random paragraphs are created, and each paragraph contains two sentences. See screenshot:

Random paragraphs are created

2. Typing =lorem(3,2) and pressing the Enter key, three Latin text paragraphs are created and each paragraph also has two sentences.

Latin text paragraphs are created

3. Typing =rand.old(3,2) and pressing the Enter key, three duplicate paragraphs are created as below screenshot shown.

Duplicate paragraphs are created

Note: if you only type =rand() and press the Enter key, Word will just generate five paragraphs of three sentences.

Best Office Productivity Tools

Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!

🤖 Kutools AI Features: Generate Content / Rewrite Text / Document Q&A / Get Quick Answers / Translate documents / Polish Document (Preserve Format)...

📘 Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...

Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...

🧹 Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...

Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group...

🔍 Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...

Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...

Kutools and Kutools Plus tabs on the Word Ribbon
👉 Want to try these features? Download Kutools for Word now! 🚀
 

Best Office Productivity Tools

Kutools for Word - 100+ Tools for Word