跳到主要內容

如何在Excel中通過X增加或增加單元格引用?

默認情況下,當將公式向下填充到一列或整個行中時,公式中的單元格引用只會增加一個。 如下面的屏幕截圖所示,填寫公式時如何將相對單元格引用增加3或大於1? 本文將向您展示實現它的方法。

在Excel中使用公式通過X增加或增加單元格引用


在Excel中使用公式通過X增加或增加單元格引用

以下公式可以幫助您在Excel中通過X增加單元格引用。 請執行以下操作。

要填充到列,您需要:

1.選擇一個空白單元格放置第一個結果,然後輸入公式 =偏移量($ A $ 3,(ROW()-1)* 3,0) 進入編輯欄,然後按 Enter 鍵。 看截圖:

備註:在公式中,$ A $ 3是您需要在特定列中獲得的第一個單元格的絕對引用,數字1表示輸入公式的單元格的行,數字3是您將增加的行數。

2.繼續選擇結果單元格,然後將“填充手柄”向下拖動到該列以獲取所有需要的結果。

要跨行填充,您需要:

1.選擇一個空白單元格,輸入公式 =偏移量($ C $ 1,0,(COLUMN()-1)* 3) 進入公式欄,然後按 Enter 鍵。 看截圖:

2.然後將結果單元格拖到行中以獲取所需的結果。

備註:在公式中,$ C $ 1是您需要在特定行中獲得的第一個單元格的絕對引用,數字1表示要輸入公式的單元格的列,數字3是您將增加的列數。 請根據需要更改它們。


在Excel中輕鬆批量轉換公式引用(例如相對於絕對引用):

Excel的Kutools's 轉換參照 實用程序可幫助您輕鬆地在選定範圍內批量轉換所有公式參考,例如在Excel中一次轉換所有相對於絕對值的參考。
立即下載 Kutools for Excel! (30 天免費試用)

doc錨定單元4


相關文章:

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (20)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I want to decrease a date in a cell by 1 when I insert a row 3 rows above the reference cell. Example: I have a date in cell D7, that reads the date in A7 and when I insert a row at 4, I want the date in Cell D7 to change to the date in A6. I know this sounds crazy. I hope I explained what I want to do clearly enough to that you can understand what I want to do.
This comment was minimized by the moderator on the site
I just want to say thank you so much for this super clear explanation. This is simply awesome!!
This comment was minimized by the moderator on the site
Hi,

Is it possible to do it from column to rows in offset?

Suppose i have the data in Column M1,2,3,4,5,6,7,8,9,10 and i wanted to put the offset in M1->A1, M2->B1, M3->C1
This comment was minimized by the moderator on the site
Hi,
I have the days in columns in one sheet and another sheet i have to select the Monday to friday cell range manually, is there any formula to drag horizontally so that can auto-update the cell reference range or number

Example :
=sum(Raw!B2:D2) (adding five working days date range)
=sum(Raw!E2:I2)
=sum(Raw!J2:M2)


Thanks in Advance
This comment was minimized by the moderator on the site
Thank you! The OFFSET function was exactly what I was looking for to increment cell locations within a formula. It helped simplify my spreadsheet.
This comment was minimized by the moderator on the site
=OFFSET($A$3,(ROW()-1)*3,0)

What's the "0" for?

I copied this exactly and it just posted the formula instead of the result.
This comment was minimized by the moderator on the site
Hi Kim,
The Excel OFFSET function returns a reference to a cell or a range of cells that is offset from a specific cell by a given number of rows and columns.
The number "0" here means that it will move 0 column right from cell A3 (still stay in column A).
This comment was minimized by the moderator on the site
I have a formula that has brackets CHASSIS_STRING[12,1],L1,C1'. I want to increase the 1 to 2 to 3, etc. in the same column. What's the best way to do that?
This comment was minimized by the moderator on the site
Dear John,
Sorry can’t help with this, you can post your question in our forum: https://www.extendoffice.com/forum.html to get more Excel supports from our professional.
This comment was minimized by the moderator on the site
Hi. Hi hope you can help.
cell A1 has a formula =C1
I want to copy the formula of cell A1 to cell A13 but only to increase row by 1, (=C2)
What I get is =C13. It increments by the number of rows it skipped. I only want to increment it by one. Need some help.
This comment was minimized by the moderator on the site
Good Day,
Sorry I can’t help with this, you can post your question in our forum: https://www.extendoffice.com/forum.html to get more Excel supports from our professional.
This comment was minimized by the moderator on the site
I want to do the same thing. Did you get through?
This comment was minimized by the moderator on the site
hey please help me with this,
First i created simple text like this:
name------ id----ad_id
abc 5 a10
bcd 2 b10


now i want to create a form that shows me:
how many ad_id do u need? so than i enter 2. thannnn
than it will ask me for the name and id.. so here what it should do. it will check the name or match the name and then it will subtract from the id.
NOTE: i need it like this:


how many ad_id do u need?
2 (in the box)
than submit

than

name(in the box) id(in the box)
name(in the box) id(in the box)
submit
This comment was minimized by the moderator on the site
Sorry didn’t get your point.
This comment was minimized by the moderator on the site
What I want to do is slightly different. The Excel table displayed on a website page has some text, say "Done" in cell B2. The B2 text is part of a dynamic function and when it is clicked on the web page it increments the value in C2 by 1.Is there a function or combination of functions that will do these actions? I can do the basic increment in just the spreadsheet using formulas. The tricky part for me is having the text cell fire off the increment in another cell. How do you do increment from a text "link" that is really a function to increment another cell?
This comment was minimized by the moderator on the site
Dear Robert,
I am so sorry as i have never tested anything in a google sheet. Can't help to solve this problem.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations