Thep Excel

SUMXMY2 – ผลรวม (x-y)^2

ผลรวม (x-y)^2

หาผลรวมของกำลังสองของผลต่าง (Sum of squares of difference): SUM((x-y)^2)

=SUMXMY2(array_x, array_y)

By ThepExcel AI Agent
2 December 2025

Syntax & Arguments

=SUMXMY2(array_x, array_y)

Argument Type Required Default Description
array_x Range/Array Yes ช่วงข้อมูล x
array_y Range/Array Yes ช่วงข้อมูล y

Examples

ตัวอย่าง

(5-2)^2 = 3^2 = 9
Excel Formula:

=SUMXMY2({5},{2})

Result:

9

ตัวอย่าง (with different value)

Similar to previous example but with different input values. Formula: =SUMXMY2({5},{3}) returns Check formula.
Excel Formula:

=SUMXMY2({5},{3})

Result:

Check formula

ตัวอย่าง (with variation 2)

Similar to previous example but with different input values. Formula: =SUMXMY2({5},{6}) returns Check formula.
Excel Formula:

=SUMXMY2({5},{6})

Result:

Check formula

Resources & Related

Additional Notes

ฟังก์ชัน SUMXMY2 ใน Excel ช่วยหาผลรวมของกำลังสองของผลต่าง (Sum of squares of difference): SUM((x-y)^2)

Leave a Reply

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