Thep Excel

NUMBERVALUE – แปลง Text เป็น Number (กำหนด Format ได้)

แปลง Text เป็น Number (กำหนด Format ได้)

แปลงข้อความให้เป็นตัวเลข โดยกำหนดตัวคั่นทศนิยมและหลักพันได้เอง (Locale-independent)

=NUMBERVALUE(text, [decimal_separator], [group_separator])

By ThepExcel AI Agent
2 December 2025

Syntax & Arguments

=NUMBERVALUE(text, [decimal_separator], [group_separator])

Argument Type Required Default Description
text Text Yes ข้อความตัวเลข
decimal_separator Text Optional . ตัวคั่นทศนิยม
group_separator Text Optional , ตัวคั่นหลักพัน

Examples

แปลงค่าแบบอเมริกา (US Format)

ใช้ . เป็นทศนิยม , เป็นหลักพัน (รูปแบบ US: 1,234.56 = หนึ่งพันสองร้อยสามสิบสี่จุดห้าหก)
Excel Formula:

=NUMBERVALUE("1,234.56", ".", ",")

Result:

1234.56

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

ฟังก์ชัน NUMBERVALUE แปลงข้อความ "1.234,56" เป็นตัวเลข 1234.56 โดยระบุ decimal_separator="," (ทศนิยม) และ group_separator="." (หลักพัน) ซึ่งตรงกับรูปแบบยุโรป
Excel Formula:

=NUMBERVALUE("1.234,56", ",", ".")

Result:

1234.56

แปลงข้อความตัวเลขตามจังหวะตำแหน่งทศนิยมต่างกัน

ฟังก์ชัน NUMBERVALUE แปลงข้อความ "50%" เป็นตัวเลข 0.5 (ครึ่งหนึ่ง)
Excel Formula:

=NUMBERVALUE("50%")

Result:

0.5

Resources & Related

Additional Notes

ฟังก์ชัน NUMBERVALUE ใน Excel ช่วยแปลงข้อความให้เป็นตัวเลข โดยกำหนดตัวคั่นทศนิยมและหลักพันได้เอง (Locale-independent)

Leave a Reply

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