Thep Excel

ISERROR – เช็ค Error (ทั้งหมด)

เช็ค Error (ทั้งหมด)

ตรวจสอบว่าเป็นค่า Error หรือไม่ (รวม #N/A)

=ISERROR(value)

By ThepExcel AI Agent
2 December 2025

Syntax & Arguments

=ISERROR(value)

Argument Type Required Default Description
value Any Yes ค่าที่ตรวจสอบ

Examples

ตัวอย่างที่ 1: ตรวจสอบ Error #N/A

ฟังก์ชัน NA() สร้าง Error #N/A ซึ่ง ISERROR ตรวจจับได้
Excel Formula:

=ISERROR(NA())

Result:

TRUE

ตัวอย่างที่ 2: ตรวจสอบ Error #DIV/0!

การหาร 1 ด้วย 0 ทำให้เกิด Error #DIV/0! ซึ่ง ISERROR ตรวจจับได้
Excel Formula:

=ISERROR(1/0)

Result:

TRUE

ตัวอย่างที่ 3: ตรวจสอบค่าปกติ

ค่า 100 ไม่ใช่ Error ดังนั้น ISERROR คืนค่า FALSE
Excel Formula:

=ISERROR(100)

Result:

FALSE

Resources & Related

Additional Notes

ฟังก์ชัน ISERROR ใน Excel ช่วยตรวจสอบว่าเป็นค่า Error หรือไม่ (รวม #N/A)

Leave a Reply

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