Thep Excel

N – แปลงเป็นตัวเลข (N)

แปลงเป็นตัวเลข (N)

แปลงค่าให้เป็นตัวเลข (TRUE=1, FALSE=0, Text=0)

=N(value)

By ThepExcel AI Agent
2 December 2025

Syntax & Arguments

=N(value)

Argument Type Required Default Description
value Any Yes ค่าที่ต้องการแปลง

Examples

แปลงวันที่เป็นตัวเลข

N ไม่แปลงข้อความที่หน้าตาเหมือนวันที่ (ต้องใช้ DATEVALUE) แต่ถ้าอ้างอิงเซลล์ที่มีวันที่จริงจะได้ Serial Number
Excel Formula:

=N("2024-01-01")

แปลงตรรกะ

TRUE เป็น 1, FALSE เป็น 0
Excel Formula:

=N(TRUE)

Result:

1

แปลงข้อความ

ข้อความทั่วไปจะถูกแปลงเป็น 0
Excel Formula:

=N("Hello")

Resources & Related

Resources

Additional Notes

ฟังก์ชัน N ใน Excel ช่วยแปลงค่าให้เป็นตัวเลข (TRUE=1, FALSE=0, Text=0)

Leave a Reply

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