跳到主要内容

如何在Excel中粘贴跳过的隐藏/过滤的单元格和行?

例如,您已经在Excel中过滤了一个表格,但是现在您需要复制一个范围并将其粘贴到此过滤的表格中,您知道如何跳过跳过隐藏/过滤的单元格和行吗? 几种简单的方法可以为您提供帮助。


仅选择可见单元格粘贴跳过的隐藏/过滤单元格和行

如果要粘贴的范围与复制的范围具有相同的过滤条件,例如,您将复制过滤后的价格并粘贴到过滤后的G列中,则可以通过跳过过滤的单元格和行来轻松粘贴,方法是仅选择可见的单元格,然后使用公式。 您可以执行以下操作:

1。 选择已过滤的范围G3:G24,然后按 其他 + ; 同时只选择可见的单元格。

2。 在编辑栏中键入= C3(C3是过滤价格的第一个单元格),然后按 按Ctrl + 输入 同时填入所有选定的单元格。 然后,您将看到过滤后的价格粘贴到指定范围,而忽略了隐藏的单元格和行。


使用 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 可见的/清晰可见/平均可见度 函数将忽略任何隐藏的单元格,行或列,轻松地计算指定范围。


广告总数仅计算平均可见单元格


相关文章:

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


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