搜索
首页专题excel在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

In this article, we will explore the reasons behind Excel crashes or freezes when highlighting cells in large datasets and provide effective solutions to avoid these issues.

If you frequently work with extensive spreadsheets, you've likely encountered a scenario where Excel becomes irresponsive or stops working when trying to select numerous cells at once. You may have also experienced the frustration of losing unsaved changes in your workbook. This can be highly bothersome, causing disruptions in your work. In this article, we'll look at why this happens and provide simple and straightforward solutions to resolve these problems.

Why Excel hangs or crashes when selecting cells in big files?

No one, not even Microsoft, can tell you the exact reason why Excel freezes and stops working when selecting large amounts of data at once. However, here's a typical scenario that many Excel users have run into:

You begin by searching for specific values in your Excel workbook using Excel's Find tool. The search itself is usually fast and efficient, even in massive files. After performing the search, you get a list of records that meet your search criteria. The goal seems to be almost reached. The problem arises when you attempt to select the found cells. At this point, Excel at best just freezes, and at worst, after hanging for some time, crashes unexpectedly.

在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

An incredibly frustrating outcome, especially if you haven't saved your most recent changes in the workbook before starting the search :( Fortunately, there are solutions to prevent Excel from hanging in such situations.

How to avoid Excel freezing and crashing when highlighting cells

The key to avoiding Excel crashing when selecting cells in big datasets is to use conditional formatting instead of Excel Find to highlight cells based on certain criteria. Here's a step-by-step guide:

Step 1: Highlight cells. Begin by creating a new conditional formatting rule to highlight cells that match your criteria. For example, let's highlight all cells containing an asterisk (*).

在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

Step 2: Group found cells. This needs to be done to prevent Excel from crashing when selecting the found data in the next step. You can group cells by sorting or filtering by color.

Here's how to sort data by color:

  1. On the Home tab, click Sort & Filter and choose the Custom Sort… option. The Sort dialog window will appear.
  2. In the Column drop-down list, select the target column.
  3. In the Sort On drop-down list, choose Cell Color.
  4. In the Order drop-down lists, set the color and sort order. We recommend selecting On bottom as it makes the selection process easier in the next step.

在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

Tip. How to restore the original row order on the result sheet after sorting, if your table lacks a dedicated column like No. or ID? Just create a helper column with sequential numbers before sorting. This can be easily done using the Excel Auto Fill feature or the SEQUENCE function.

If sorting by color is not suitable for your data for any reason, you can achieve a similar result using the filter by color option:

  1. Add an auto-filter to your dataset.
  2. Click the filter icon in the target column.
  3. In the menu that opens, click Filter by Color and pick the color you used for conditional formatting.

在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

Step 3: Make your selection. With your data neatly sorted or filtered by color and the desired values grouped, you can now effortlessly select them or perform various actions like copying, formatting, or transferring them to another worksheet without the worry of Excel crashing.

For instance, to select colored cells sorted at the bottom of the column, just click on the first colored cell and press the Ctrl + Shift + End key combination to extend your selection to the last used cell.

If your values are filtered by color, the process is even simpler – as only colored cells are visible, you can select them using your mouse as you normally do.

在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

Crash-free way to select cells in big worksheets with different colors

The Conditional Formatting method works nicely when your dataset contains only one color for highlighting. But what if your worksheet is already a colorful canvas with various shades? How can you find the specific values you need within this mosaic of colors? Fear not, Ablebits Ultimate Suite offers a few smart tools to tackle this challenge. Below, you’ll find the detailed guidance on utilizing each tool.

Note. The tools process only one column at a time. The result is displayed in a separate column, which is automatically inserted to the right of the column where the search was performed.

Find target data using Substring Tools

The Ultimate Suite for Excel offers a set of useful features for manipulating strings and substrings. The Extract Substrings option is particularly useful when you need to find and extract all values containing a specific character or text (substring). Here's how to do it:

  1. Enter your search criteria in an empty cell(s) on the current sheet or a new one.
  2. On the Ablebits Data tab, in the Text group, pick the Extract Substrings option from the Substring Tools menu.
  3. In the Source column box, specify the range where you want to perform the search.
  4. In the Substring range box, specify the cell or range containing your search criteria.
  5. If necessary, add a delimiter in the Split with box.
  6. For case-sensitive search, check the Case-sensitive checkbox.
  7. Click the Extract button.

在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

All the found values (asterisks in our case) are now in a separate column. To further analyze your original data, simply sort or filter your dataset based on that helper column.

在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

Find data at certain positions in strings using Regex Tools

For those comfortable with regular expressions, our Regex Tools are a boon. And for newcomers, we've created an Excel Regex cheat sheet to ease the learning curve.

The regular expression language is exceptionally versatile, allowing you to make patterns not just for finding all asterisks, but also for matching only those asterisks positioned at particular locations within a string.

To find data matching a certain pattern, follow these steps:

  1. Navigate to the Ablebits tab and, in the Text group, click on Regex Tools.
  2. Select a column to search for values. The selected range will be displayed in the topmost box on the Regex Tools pane.
  3. In the Regex box, enter your regular expression. For example, to match asterisks located in various positions in a string, you can use these patterns:
    • ^[*] - matches an asterisk at the beginning of the string.
    • .+[*].+ - matches an asterisk in the middle of the string.
    • [*]$ - matches an asterisk at the end of the string.
    • [*] - matches an asterisk in any position.
  4. Choose either the Match or Extract option. The former will mark the records that match / do not match the pattern with the TRUE / FALSE labels, while the latter will extract the matching values into a separate column.
  5. Click the Extract button.

在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

That's it! With the extracted asterisks in a separate column, you can easily sort or filter your data based on this new column, simplifying further processing of the original data.

在大型工作簿中选择细胞时,请防止Excel崩溃或冻结

For more examples of using this tool, see How to extract strings in Excel with regexes.

In conclusion, we've explored several effective techniques for searching and selecting extensive data within large datasets. Whether you opt for utilizing Excel's standard features or Ablebits tools, these approaches will shield you from the inconvenience of Excel freezing or experiencing unexpected crashes.

Available downloads

Ultimate Suite 14-day fully-functional version (.exe file)

以上是在大型工作簿中选择细胞时,请防止Excel崩溃或冻结的详细内容。更多信息请关注PHP中文网其他相关文章!

声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
Excel中的中位公式 - 实际示例Excel中的中位公式 - 实际示例Apr 11, 2025 pm 12:08 PM

本教程解释了如何使用中位功能计算Excel中数值数据中位数。 中位数是中心趋势的关键度量

Google电子表格Countif函数带有公式示例Google电子表格Countif函数带有公式示例Apr 11, 2025 pm 12:03 PM

Google主张Countif:综合指南 本指南探讨了Google表中的多功能Countif函数,展示了其超出简单单元格计数的应用程序。 我们将介绍从精确和部分比赛到Han的各种情况

Excel共享工作簿:如何为多个用户共享Excel文件Excel共享工作簿:如何为多个用户共享Excel文件Apr 11, 2025 am 11:58 AM

本教程提供了共享Excel工作簿,涵盖各种方法,访问控制和冲突解决方案的综合指南。 现代Excel版本(2010年,2013年,2016年及以后)简化了协作编辑,消除了M的需求

如何将Excel转换为JPG-保存.xls或.xlsx作为图像文件如何将Excel转换为JPG-保存.xls或.xlsx作为图像文件Apr 11, 2025 am 11:31 AM

本教程探讨了将.xls文件转换为.jpg映像的各种方法,包括内置的Windows工具和免费的在线转换器。 需要创建演示文稿,安全共享电子表格数据或设计文档吗?转换哟

excel名称和命名范围:如何定义和使用公式excel名称和命名范围:如何定义和使用公式Apr 11, 2025 am 11:13 AM

本教程阐明了Excel名称的功能,并演示了如何定义单元格,范围,常数或公式的名称。 它还涵盖编辑,过滤和删除定义的名称。 Excel名称虽然非常有用,但通常是泛滥的

标准偏差Excel:功能和公式示例标准偏差Excel:功能和公式示例Apr 11, 2025 am 11:01 AM

本教程阐明了平均值的标准偏差和标准误差之间的区别,指导您掌握标准偏差计算的最佳Excel函数。 在描述性统计中,平均值和标准偏差为interinsi

Excel中的平方根:SQRT功能和其他方式Excel中的平方根:SQRT功能和其他方式Apr 11, 2025 am 10:34 AM

该Excel教程演示了如何计算正方根和n根。 找到平方根是常见的数学操作,Excel提供了几种方法。 计算Excel中正方根的方法: 使用SQRT函数:

Google表基础知识:了解如何使用Google电子表格Google表基础知识:了解如何使用Google电子表格Apr 11, 2025 am 10:23 AM

解锁Google表的力量:初学者指南 本教程介绍了Google Sheets的基础,这是MS Excel的强大而多才多艺的替代品。 了解如何轻松管理电子表格,利用关键功能并协作

See all articles

热AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover

AI Clothes Remover

用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

AI Hentai Generator

AI Hentai Generator

免费生成ai无尽的。

热门文章

R.E.P.O.能量晶体解释及其做什么(黄色晶体)
3 周前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.最佳图形设置
3 周前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.如果您听不到任何人,如何修复音频
3 周前By尊渡假赌尊渡假赌尊渡假赌
WWE 2K25:如何解锁Myrise中的所有内容
3 周前By尊渡假赌尊渡假赌尊渡假赌

热工具

EditPlus 中文破解版

EditPlus 中文破解版

体积小,语法高亮,不支持代码提示功能

记事本++7.3.1

记事本++7.3.1

好用且免费的代码编辑器

SecLists

SecLists

SecLists是最终安全测试人员的伙伴。它是一个包含各种类型列表的集合,这些列表在安全评估过程中经常使用,都在一个地方。SecLists通过方便地提供安全测试人员可能需要的所有列表,帮助提高安全测试的效率和生产力。列表类型包括用户名、密码、URL、模糊测试有效载荷、敏感数据模式、Web shell等等。测试人员只需将此存储库拉到新的测试机上,他就可以访问到所需的每种类型的列表。

MinGW - 适用于 Windows 的极简 GNU

MinGW - 适用于 Windows 的极简 GNU

这个项目正在迁移到osdn.net/projects/mingw的过程中,你可以继续在那里关注我们。MinGW:GNU编译器集合(GCC)的本地Windows移植版本,可自由分发的导入库和用于构建本地Windows应用程序的头文件;包括对MSVC运行时的扩展,以支持C99功能。MinGW的所有软件都可以在64位Windows平台上运行。

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

功能强大的PHP集成开发环境