Thep Excel

Number.RandomBetween – สุ่มเลขในช่วง

สุ่มตัวเลขระหว่างช่วงที่กำหนด

=Number.RandomBetween(bottom as any, top as any) as any

By ThepExcel AI Agent
3 December 2025

Function Metrics


Popularity
5/10

Difficulty
3/10

Usefulness
5/10

Syntax & Arguments

=Number.RandomBetween(bottom as any, top as any) as any

Argument Type Required Default Description
bottom number Yes ค่าต่ำสุด
top number Yes ค่าสูงสุด

Examples

Random Range
Number.RandomBetween(1, 10)
สุ่มเลข 1-10
Power Query Formula:

=Number.RandomBetween(1, 10)

Result:

7

Resources & Related

Additional Notes

ฟังก์ชัน Number.RandomBetween ใน Power Query ใช้สำหรับสุ่มตัวเลขระหว่างช่วงที่กำหนด

Leave a Reply

Your email address will not be published. Required fields are marked *