---
title: MDETERM – หาค่า Determinant
url: https://www.thepexcel.com/functions/excel/math-and-trigonometry/mdeterm/
type: function-explainer
program: Excel
syntax: =MDETERM(array)
date: 2025-12-02
updated: 2025-12-17
scores:
  popularity: 5
  difficulty: 2
  usefulness: 6
---

# MDETERM – หาค่า Determinant

> หาค่า Determinant

## คำอธิบาย

MDETERM ใช้คำนวณค่า Determinant (ดีเทอร์มิแนนต์) ของเมทริกซ์ในช่วงข้อมูล/อาร์เรย์ เหมาะกับงานเชิงเส้น เช่น ตรวจว่าเมทริกซ์เป็นเอกฐานหรือไม่ (Det=0) และใช้ประกอบการหาผกผันของเมทริกซ์ร่วมกับ MINVERSE

## Syntax

```excel
=MDETERM(array)
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| array | Yes | Range/Array |  | ช่วงข้อมูลเมทริกซ์ |

## ตัวอย่าง

### 1. ตัวอย่างที่ 1: หา Determinant ของเมทริกซ์ 2x2

```excel
=MDETERM({1,2; 3,4})
```

**ผลลัพธ์:** `-2`

คำนวณจาก (1*4) - (2*3) = 4 - 6 = -2

### 2. ตัวอย่างที่ 2: หา Determinant ของเมทริกซ์ 3x3

```excel
=MDETERM({2,0,1; 3,0,0; 5,1,1})
```

**ผลลัพธ์:** `3`

ตัวอย่างเมทริกซ์ 3x3: Det จะได้ 3 ซึ่งหมายความว่าเมทริกซ์นี้ไม่เป็นเอกฐาน (Det ≠ 0) และโดยหลักการสามารถหาอินเวอร์สได้

### 3. ตัวอย่างที่ 3: ตรวจว่าเมทริกซ์เป็นเอกฐานหรือไม่

```excel
=IF(MDETERM({1,2; 2,4})=0,"เมทริกซ์เอกฐาน","หาอินเวอร์สได้")
```

**ผลลัพธ์:** `เมทริกซ์เอกฐาน`

เมทริกซ์ {1,2;2,4} มีแถวที่เป็นสัดส่วนกัน ทำให้ Determinant = 0 จึงเป็นเมทริกซ์เอกฐานและไม่สามารถหาอินเวอร์สได้

## ฟังก์ชันที่เกี่ยวข้อง

- [MINVERSE – หาค่า Inverse Matrix](https://www.thepexcel.com/functions/excel/math-and-trigonometry/minverse/)
- [MMULT – คูณเมทริกซ์](https://www.thepexcel.com/functions/excel/math-and-trigonometry/mmult/)
- [TRANSPOSE – กลับตาราง (Transpose)](https://www.thepexcel.com/functions/excel/lookup-and-reference/transpose/)

## แหล่งข้อมูลเพิ่มเติม

- [เอกสาร Microsoft Support: MDETERM](https://support.microsoft.com/en-us/office/mdeterm-function-e7bfa857-3834-422b-b871-0ffd03717020) _(official)_
- [คำอธิบายและตัวอย่างเพิ่มเติม: MDETERM (ExcelJet)](https://exceljet.net/excel-functions/excel-mdeterm-function) _(guide)_

---

_Source: [https://www.thepexcel.com/functions/excel/math-and-trigonometry/mdeterm/](https://www.thepexcel.com/functions/excel/math-and-trigonometry/mdeterm/)_
