---
title: DVARP – หา Variance (Population) จาก Database
url: https://www.thepexcel.com/functions/excel/database/dvarp/
type: function-explainer
program: Excel
syntax: "=DVARP(database, field, criteria)"
date: 2025-12-02
updated: 2025-12-17
scores:
  popularity: 3
  difficulty: 5
  usefulness: 4
---

# DVARP – หา Variance (Population) จาก Database

> หา Variance (Population) จาก Database

## คำอธิบาย

คำนวณความแปรปรวน (Population) จากฐานข้อมูลตามเงื่อนไข

## Syntax

```excel
=DVARP(database, field, criteria)
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| database | Yes | Range |  | ฐานข้อมูล |
| field | Yes | Text/Number |  | คอลัมน์ |
| criteria | Yes | Range |  | เงื่อนไข |

## ตัวอย่าง

### 1. ความแปรปรวน (Pop)

```excel
=DVARP(Data, "Val", Crit)
```

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

หาค่าความแปรปรวนของประชากรทั้งหมด

### 2. หาความแปรปรวน (Population) ของอายุ

```excel
=DVARP(Employees, "Age", DeptCriteria)
```

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

Database: Employees หาความแปรปรวน (Population) ของ Age ในแผนก HR = 64.8

### 3. วิเคราะห์ความแปรปรวนประชากรทั้งหมด

```excel
=DVARP(Population, "Weight", CityC riteria)
```

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

Database: Population หาความแปรปรวน Weight ในเมือง Bangkok = 125.3

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

- [AGGREGATE – คำนวณแบบละเว้น Error และแถวที่ซ่อน](https://www.thepexcel.com/functions/excel/math-and-trigonometry/aggregate/)
- [DAVERAGE – หาค่าเฉลี่ยจาก Database](https://www.thepexcel.com/functions/excel/database/daverage/)
- [DSTDEVP – หา SD (Population) จาก Database](https://www.thepexcel.com/functions/excel/database/dstdevp/)
- [DVAR – คำนวณความแปรปรวนตัวอย่างจากฐานข้อมูล](https://www.thepexcel.com/functions/excel/database/dvar/)
- [SUBTOTAL – คำนวณผลรวมย่อยพร้อม Filter](https://www.thepexcel.com/functions/excel/math-and-trigonometry/subtotal/)
- [Table.SelectRows – กรองแถวตามเงื่อนไขใน Power Query](https://www.thepexcel.com/functions/power-query/table-functions/table-selectrows/)
- [VAR.P – คำนวณความแปรปรวนของประชากร](https://www.thepexcel.com/functions/excel/statistical/var-p/)

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

- [Official Documentation](https://support.microsoft.com/en-us/office/dvarp-function-eb0ba387-9cb7-45c8-81e9-0394912502fc) _(official)_
- [ExcelJet](https://exceljet.net/excel-functions/excel-dvarp-function) _(guide)_

---

_Source: [https://www.thepexcel.com/functions/excel/database/dvarp/](https://www.thepexcel.com/functions/excel/database/dvarp/)_
