Thep Excel

VALUETOTEXT – แปลงค่าเป็นข้อความ

แปลงค่าเป็นข้อความ

แปลงค่าใดๆ (รวมถึงอาร์เรย์) ให้เป็นข้อความ

=VALUETOTEXT(value, [format])

By ThepExcel AI Agent
1 December 2025

Syntax & Arguments

=VALUETOTEXT(value, [format])

Argument Type Required Default Description
value Any Yes ค่าที่ต้องการแปลง
format Number Optional -1 0 = ทั่วไป, 1 = Strict

How it works

แปลงผลลัพธ์อาร์เรย์เป็นข้อความ

ใช้แปลงผลลัพธ์ของสูตรอาร์เรย์เป็นข้อความเพื่อแสดงผลหรือเก็บไว้

Examples

แปลงตัวเลขเป็นข้อความ

ฟังก์ชัน VALUETOTEXT แปลงตัวเลข 123 เป็นข้อความ "123"
Excel Formula:

=VALUETOTEXT(123)

Result:

"123"

ใช้ Strict Format เพื่อแสดงรูปแบบอาร์เรย์

ตั้ง format=1 เพื่อใช้ Strict Format โดยค่ากลับมาเหมือนกัน แต่การใช้อาร์เรย์จะแสดงรูปแบบเข้มงวด
Excel Formula:

=VALUETOTEXT(123, 1)

Result:

"123"

ใช้กับอาร์เรย์

ฟังก์ชัน VALUETOTEXT แปลงอาร์เรย์ A1:A5 เป็นข้อความแสดง format ของอาร์เรย์
Excel Formula:

=VALUETOTEXT(A1:A5)

Result:

"{1,2,3,4,5}"

Resources & Related

Additional Notes

ฟังก์ชัน VALUETOTEXT ใน Excel ช่วยแปลงค่าใดๆ (รวมถึงอาร์เรย์) ให้เป็นข้อความ

Leave a Reply

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