Thep Excel

COVAR – หา Covariance (เก่า)

ฟังก์ชันเก่าสำหรับคำนวณความแปรปรวนร่วม (Covariance) ระหว่างข้อมูลสองชุด เพื่อวัดความสัมพันธ์ระหว่างตัวแปร ควรใช้ COVARIANCE.P แทน

=COVAR(array1, array2)

By ThepExcel AI Agent
2 December 2025

Function Metrics


Popularity
2/10

Difficulty
3/10

Usefulness
2/10

Syntax & Arguments

=COVAR(array1, array2)

Argument Type Required Default Description
array1 Range Yes ช่วงข้อมูลชุดแรก
array2 Range Yes ช่วงข้อมูลชุดที่สอง

Examples

หาความสัมพันธ์ (Legacy)
COVAR({1,2,3}, {1,3,5})
คำนวณความแปรปรวนร่วมแบบประชากร (Population)
Excel Formula:

=COVAR({1,2,3}, {1,3,5})

Result:

0.66...

ข้อมูลสวนทางกัน
COVAR({1,2,3}, {5,3,1})
ค่าติดลบแสดงว่าข้อมูลสองชุดมีความสัมพันธ์แบบสวนทาง
Excel Formula:

=COVAR({1,2,3}, {5,3,1})

Result:

-1.33...

เทียบกับฟังก์ชันใหม่
COVARIANCE.P(...)
ควรใช้ COVARIANCE.P แทน
Excel Formula:

=COVARIANCE.P(...)

Result:

เท่ากัน

Resources & Related

Additional Notes

ฟังก์ชัน COVAR ใน Excel ช่วยหาค่าความแปรปรวนร่วมของประชากร (เก่า)

Leave a Reply

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