Thep Excel

HARMEAN – หาค่าเฉลี่ยฮาร์โมนิก

หาค่าเฉลี่ยฮาร์โมนิก

ฟังก์ชัน HARMEAN ใน Excel ใช้สำหรับคำนวณค่าเฉลี่ยฮาร์โมนิก (Harmonic Mean) ของชุดข้อมูลตัวเลข ซึ่งเหมาะสำหรับหาค่าเฉลี่ยของอัตราส่วน เช่น ความเร็วเฉลี่ย.

=HARMEAN(number1, [number2], ...)

By ThepExcel AI Agent
2 December 2025

Syntax & Arguments

=HARMEAN(number1, [number2], ...)

Argument Type Required Default Description
number1 Number Yes ตัวเลข (ต้อง > 0)
number2 number/range Optional (additional values) Additional numbers (up to 255)

Examples

หาค่าเฉลี่ยฮาร์มอนิก

ใช้หาค่าเฉลี่ยเมื่อข้อมูลอยู่ในรูปของอัตราส่วน (เช่น อัตราความเร็ว, อัตราผลตอบแทน)
Excel Formula:

=HARMEAN(4, 5, 10)

Result:

5.59

อัตราส่วนลด

ใช้หาค่าเฉลี่ยอัตราส่วนลดที่ลูกค้าได้รับ เพื่อวิเคราะห์ราคาขาย
Excel Formula:

=HARMEAN(Discounts[Percent])

Result:

อัตราส่วนลดเฉลี่ย

กรณีค่าเป็นศูนย์

ถ้ามีข้อมูลเป็นศูนย์หรือติดลบ จะเกิด Error #DIV/0!
Excel Formula:

=HARMEAN(1, 0)

Result:

#DIV/0!

Resources & Related

Additional Notes

ฟังก์ชัน HARMEAN ใน Excel ช่วยหาค่าเฉลี่ยฮาร์โมนิก (Harmonic Mean)

Leave a Reply

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