---
title: ZTEST – ทดสอบ Z-Test (เก่า)
url: https://www.thepexcel.com/functions/excel/compatibility/ztest/
type: function-explainer
program: Excel
syntax: "=ZTEST(array, x, [sigma])"
date: 2025-12-02
updated: 2025-12-17
scores:
  popularity: 2
  difficulty: 3
  usefulness: 2
---

# ZTEST – ทดสอบ Z-Test (เก่า)

> ทดสอบ Z-Test (เก่า)

## คำอธิบาย

ส่งกลับค่า P-value ของการทดสอบ z-test (เก่า)

## Syntax

```excel
=ZTEST(array, x, [sigma])
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| array | Yes | Range |  | ข้อมูล |

## ตัวอย่าง

### 1. ตัวอย่าง

```excel
=ZTEST(Data, 4)
```

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

แทนด้วย Z.TEST. ZTEST formula returns: 0.09

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

```excel
=ZTEST(Data, 6)
```

**ผลลัพธ์:** `Check formula`

Similar to previous example but with different input values. Formula: =ZTEST(Data, 6) returns Check formula.

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

```excel
=ZTEST(Data, 12)
```

**ผลลัพธ์:** `Check formula`

Similar to previous example but with different input values. Formula: =ZTEST(Data, 12) returns Check formula.

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

- [VALUE – แปลงข้อความเป็นตัวเลข](https://www.thepexcel.com/functions/excel/text/value/)
- [Z.TEST – ทดสอบสมมติฐาน Z-test](https://www.thepexcel.com/functions/excel/statistical/z-test/)

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

- [Official Documentation](https://support.microsoft.com/en-us/office/ztest-function-8f33be8a-6bd6-4ecc-8e3a-d9a4420c4a6a) _(official)_
- [ExcelJet](https://exceljet.net/excel-functions/excel-ztest-function) _(guide)_

---

_Source: [https://www.thepexcel.com/functions/excel/compatibility/ztest/](https://www.thepexcel.com/functions/excel/compatibility/ztest/)_
