ไปยังเนื้อหาหลัก

จะเปลี่ยนการอ้างอิงสัมพัทธ์เป็นการอ้างอิงแบบสัมบูรณ์ใน Excel ได้อย่างไร

In Excel, cell references are relative by default, changing when formulas are copied to other cells. To copy a formula without changing its cell references, convert it to an absolute reference either by pressing F4 or adding a dollar sign ($) before the row and column numbers. When needing to copy multiple formulas with unchanged references, a specialized method is required. In this article, we will introduce three methods for changing relative reference to absolute reference in Excel.

-2

Change a formula from relative reference to absolute reference by pressing F4

Change multiple formulas’ cell references from relative to absolute with one click by using a handy tool

Change a formula from relative reference to absolute reference by manually adding dollar sign ($)


Change a formula from relative reference to absolute reference by pressing F4

สมมติว่าคอลัมน์ C กำลังใช้สูตร (= A1 * B1) to multiply column A by column B. When we copy the column C to other cells, the calculating results will change, because the formula (= A1 * B1) กำลังใช้การอ้างอิงเซลล์แบบสัมพัทธ์ หากเราต้องการคัดลอกคอลัมน์ C โดยไม่เปลี่ยนการอ้างอิงเซลล์ของสูตรเราสามารถเปลี่ยนการอ้างอิงเซลล์จากสัมพัทธ์เป็นค่าสัมบูรณ์ก่อนที่จะย้าย

If we don't change the cell references from relative to absolute, after moving the column C to Column E, all values will be changed. See screenshot:

-2

In this situation, we can press F4 to toggle relative references to absolute references. Please do as follows:

1. Put the cursor behind A1 in the formula bar, press F4 ครั้งเดียวมันจะกลายเป็น $ A $ 1 ดูภาพหน้าจอ:

2. Then put the cursor behind B1in the formula bar, press F4 ครั้งเดียวมันจะกลายเป็น $ B $ 1 ดูภาพหน้าจอ:

After changing the formula’s cell references to absolute address, we can copy the formula and move to other cell without changing cell reference. And get the value unchanged.

-2

Change multiple formulas’ cell references from relative to absolute with one click by using a handy tool

The above method is easy to change one or two formulas’ cell references, but if there are a range of formulas need to be changed, it may be troublesome and time-consuming. Kutools for Excel สามารถช่วยคุณเปลี่ยนการอ้างอิงเซลล์ของสูตรช่วงได้อย่างรวดเร็วและสะดวกสบาย

หลังจากการติดตั้ง Kutools for Excel, you can change relative reference to absolute reference quickly by following the next steps.

1. Go to select the range that contains formulas you want to change cell references in worksheet.

2 คลิก Kutools > More> แปลงข้อมูลอ้างอิง ใน สูตร group. In the แปลงการอ้างอิงสูตร โต้ตอบเลือก เป็นค่าสัมบูรณ์ ตัวเลือกจาก แปลง. จากนั้นคลิก OK.

It will convert cell references in formulas to absolute references. Now, we can copy and move the formula to any cells in current worksheet without changing cell references in formulas.

-2
ปลาย: หากต้องการใช้คุณสมบัตินี้ คุณควรติดตั้ง Kutools for Excel ก่อนอื่นโปรด คลิกเพื่อดาวน์โหลดและทดลองใช้ฟรี 30 วัน ขณะนี้

Change a formula from relative reference to absolute reference by manually adding dollar sign ($)

คลิกเซลล์สูตรที่คุณต้องการเปลี่ยนแปลงจากนั้นเพิ่ม เครื่องหมายดอลลาร์ $ ก่อนแถวและคอลัมน์ จากนั้นแตะ เข้าสู่และการอ้างอิงเซลล์ในสูตรจะเปลี่ยนจากการอ้างอิงสัมพัทธ์เป็นการอ้างอิงแบบสัมบูรณ์

1. Put the cursor before A in A2 in the formula bar, and add $ dollar sign.

2. Put the cursor before 2 in A2 in the formula bar, and add $ dollar sign.

3. Repeat above steps to add dollar sign ($) before row and column to change the formula’s cell references to absolute address.

After changing the formula’s cell references to absolute address, we can copy the formula and move to other cell without changing cell reference. And get the value unchanged.

-2
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations