---
title: LCM – หา ค.ร.น.
url: https://www.thepexcel.com/functions/excel/math-and-trigonometry/lcm/
type: function-explainer
program: Excel
syntax: "=LCM(number1, [number2], ...)"
date: 2025-12-02
updated: 2025-12-17
scores:
  popularity: 5
  difficulty: 2
  usefulness: 6
---

# LCM – หา ค.ร.น.

> ส่งกลับค่าคูณร่วมน้อยที่สุดของจำนวนเต็มตั้งแต่หนึ่งจำนวนขึ้นไป

## คำอธิบาย

ฟังก์ชัน LCM ใน Excel ใช้สำหรับคำนวณค่าคูณร่วมน้อยที่สุด (Least Common Multiple หรือ ค.ร.น.) ของจำนวนเต็มตั้งแต่หนึ่งจำนวนขึ้นไป มีประโยชน์ในการแก้ปัญหาที่เกี่ยวข้องกับการจับเวลาหรือการจัดตารางเวลา.

## Syntax

```excel
=LCM(number1, [number2], ...)
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| number1 | Yes | Number |  | ตัวเลขที่ 1 |
| number2 | No | Number | number1 | ตัวเลขที่ 2 |

## ตัวอย่าง

### 1. หา ค.ร.น. ของ 24 และ 36

```excel
=LCM(24, 36)
```

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

จำนวนเต็มบวกที่น้อยที่สุดที่หารด้วยทั้ง 24 และ 36 ลงตัวคือ 72

### 2. หา ค.ร.น. ของ 5 และ 2

```excel
=LCM(5, 2)
```

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

10 หารด้วย 5 และ 2 ลงตัว

### 3. จัดตารางเวลา

```excel
=LCM(Cycle_A, Cycle_B)
```

**ผลลัพธ์:** `รอบเวลาพร้อมกัน`

หาว่าเครื่องจักร A (ทุก 4 ชม.) และ B (ทุก 6 ชม.) จะซ่อมบำรุงพร้อมกันเมื่อไหร่ (LCM(4,6)=12)

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

- [GCD – หา ห.ร.ม.](https://www.thepexcel.com/functions/excel/math-and-trigonometry/gcd/)
- [PRODUCT – หาผลคูณของตัวเลข](https://www.thepexcel.com/functions/excel/math-and-trigonometry/product/)
- [QUOTIENT – หารเอาส่วน (ไม่เอาเศษ)](https://www.thepexcel.com/functions/excel/math-and-trigonometry/quotient/)
- [MOD – หาเศษเหลือจากการหาร](https://www.thepexcel.com/functions/excel/math-and-trigonometry/mod/)

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

- [Official Documentation](https://support.microsoft.com/en-us/office/lcm-function-7152b67a-8bb5-4075-ae5c-06ede5563c94) _(official)_
- [ExcelJet](https://exceljet.net/excel-functions/excel-lcm-function) _(guide)_

---

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