---
title: COMPLEX – สร้างจำนวนเชิงซ้อน
url: https://www.thepexcel.com/functions/excel/engineering/complex/
type: function-explainer
program: Excel
syntax: "=COMPLEX(real_num, i_num, [suffix])"
date: 2025-12-02
updated: 2025-12-17
scores:
  popularity: 3
  difficulty: 5
  usefulness: 4
---

# COMPLEX – สร้างจำนวนเชิงซ้อน

> สร้างจำนวนเชิงซ้อน

## คำอธิบาย

สร้างจำนวนเชิงซ้อน (Complex Number) ในรูป "x + yi"

## Syntax

```excel
=COMPLEX(real_num, i_num, [suffix])
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| real_num | Yes | Number |  | ส่วนจริง |
| i_num | Yes | Number |  | ส่วนจินตภาพ |
| suffix | Yes | Text |  | สัญลักษณ์ (i หรือ j) |

## ตัวอย่าง

### 1. สร้างจำนวนเชิงซ้อน

```excel
=COMPLEX(3, 4)
```

**ผลลัพธ์:** `3+4i`

สร้างเลขที่มีส่วนจริง = 3 และส่วนจินตภาพ = 4

### 2. เปลี่ยนตัวห้อย (Suffix)

```excel
=COMPLEX(3, 4, "j")
```

**ผลลัพธ์:** `3+4j`

วิศวกรรมไฟฟ้านิยมใช้ 'j' แทน 'i' เพื่อไม่ให้สับสนกับกระแสไฟ (current i)

### 3. ส่วนจินตภาพเป็น 0

```excel
=COMPLEX(5, 0)
```

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

ถ้าส่วนจินตภาพเป็น 0 ผลลัพธ์คือจำนวนจริงปกติ

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

- [IMABS – หาค่าสัมบูรณ์ (Complex)](https://www.thepexcel.com/functions/excel/engineering/imabs/)
- [IMCOSH – หา Cosh (Complex)](https://www.thepexcel.com/functions/excel/engineering/imcosh/)
- [IMCOT – หา Cot (Complex)](https://www.thepexcel.com/functions/excel/engineering/imcot/)
- [IMCSC – หา Cosec (Complex)](https://www.thepexcel.com/functions/excel/engineering/imcsc/)
- [IMCSCH – หา Csch (Complex)](https://www.thepexcel.com/functions/excel/engineering/imcsch/)

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

- [Official Documentation](https://support.microsoft.com/en-us/office/complex-function-f0b8f3a9-51cc-4d6d-86fb-3a9362fa4128) _(official)_
- [ExcelJet](https://exceljet.net/excel-functions/excel-complex-function) _(guide)_

---

_Source: [https://www.thepexcel.com/functions/excel/engineering/complex/](https://www.thepexcel.com/functions/excel/engineering/complex/)_
