跳到主要內容

如何在Excel中粘貼跳過的隱藏/過濾的單元格和行?

例如,您已經在Excel中過濾了表格,但是現在您需要復制一個範圍並將其粘貼到此過濾的表格中,您知道如何跳過跳過隱藏/過濾的單元格和行嗎? 幾種簡單的方法可以為您提供幫助。


僅選擇可見單元格粘貼跳過的隱藏/過濾單元格和行

如果您要粘貼的範圍與復制的範圍具有相同的過濾條件,例如您將復製過濾後的價格並粘貼到過濾後的G列中,則只需選擇可見的單元格,然後使用公式,即可跳過過濾的單元格和行輕鬆粘貼。 您可以執行以下操作:

1。 選擇已過濾的範圍G3:G24,然後按 其他 + ; 同時只選擇可見的單元格。

2。 在編輯欄中鍵入= C3(C3是過濾價格的第一個單元格),然後按 按Ctrl + Enter 同時填入所有選定的單元格。 然後,您將看到過濾的價格粘貼到指定的範圍,而忽略了隱藏的單元格和行。


粘貼跳過隱藏/過濾的單元格和行 Kutools for Excel

在大多數情況下,將粘貼到的範圍已被過濾,但是複制的範圍尚未被過濾,或者它們包含不同的過濾器。 因此,第一種方法無法幫助您解決問題。 在這裡我推薦 粘貼到可見範圍 的效用 Kutools for Excel.

Kutools for Excel - 使用 300 多種基本工具增強 Excel 功能。 享受功能齊全的 30- 天免費試用,無需信用卡! 立即行動吧!

1。 選擇要復制的範圍,然後單擊 庫工具 > 範圍 > 粘貼到可見範圍.

備註:您也可以點擊 企業 > 粘貼到可見範圍.

2。 在接下來的“粘貼到可見範圍”對話框中,選擇要粘貼跳過的已過濾單元格和行的單元格,然後單擊 OK 按鈕。

然後,您將看到復制的數據僅粘貼到指定的過濾範圍,如下面的兩個屏幕截圖所示。

Kutools for Excel - 使用 300 多種基本工具增強 Excel 功能。 享受功能齊全的 30- 天免費試用,無需信用卡! 立即行動吧!


演示:在Excel中粘貼跳過的隱藏/過濾的單元格和行


Kutools for Excel:超過 300 個方便的工具觸手可及! 開始你的 30今天免費試用一天,沒有任何功能限制。 現在就下載!

僅在指定範圍內對可見單元格進行求和/計數/平均,而忽略隱藏或過濾的單元格/行/列

通常的 SUM/Count/Average 函數將計算指定範圍內的所有單元格是否隱藏/過濾。 而小計功能只能在忽略隱藏行的情況下求和/計數/求平均值。 然而, Kutools for Excel 可見的/清晰可見/平均可見度 函數將忽略任何隱藏的單元格,行或列,輕鬆地計算指定範圍。


廣告總數僅計算平均可見單元格


相關文章:

最佳辦公生產力工具

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

增強您的 Excel 技能 Kutools for Excel,體驗前所未有的效率。 Kutools for Excel 提供 300 多種高級功能,可提高工作效率並節省時間。  點擊此處獲取您最需要的功能...

kte選項卡201905


Office Tab 為 Office 帶來選項卡式界面,讓您的工作更輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Kutools you are amazing, around 2 weeks I am using Kutools and it was fixed a lot of issues
You deserve your fee
This comment was minimized by the moderator on the site
Thank you so much
its help me in work
This comment was minimized by the moderator on the site
Hello,

The "Paste to Visible range" function doesn't work for me either. I see only blank cells and nothing pasted. I'm using Excel 2016 on Windows 10. Could you please advise?
This comment was minimized by the moderator on the site
Copy and paste in filtered mode (Alt + ; and Ctrl + Enter). Very Useful. Thanks a lot.
This comment was minimized by the moderator on the site
Steps to easily paste on visible cells only in excel without any macro or additional software is as follows:
Suppose original data is:
A
E 200
G
N 400
K

You have hidden two rows for E and N, now the visible data is:
A
G
K

You want to paste 100 for A, 300 for G and 500 for K to get the following results:
A 100
E 200

G 300
N 400

K 500

The procedure to get this result easily is given below:

1. Copy the visible cells from the excel sheet

2. Paste the copied cells in a new excel sheet. You will get:
A
G
K

3. Paste the data you want to paste, in new excel sheet. You will get
A 100
G 300
K 500

4. Use VLOOKUP formula in your original excel file on visible cells, with reference to data in new excel file. Then remove the filter from original file to see all hidden cells. You will get the following results:
A 100
E 200
G 300
N 400
K 500
This comment was minimized by the moderator on the site
Hi! I've tried the paste to visible range function and it doesn't work for me at all. I followed the steps above, but all I get are blank cells. Anyone knows what's wrong? Could use some help here. Thanks! :D
This comment was minimized by the moderator on the site
I Tried using Paste skipping hidden/filtered cells and rows with Kutools for Excel I downloaded your Kutools and installed but while doing it is not working.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations