Excelのパフォーマンス – パフォーマンスと制限の改善

Excel M365は、大規模または複雑なワークブックでのパフォーマンスを向上させる新機能を導入しました。SUMIFSやAVERAGEIFSなどの関数が大幅に高速化され、キャッシュインデックスを利用することで計算時間が短縮されます。リアルタイムデータ機能も改善され、スレッドセーフ化により複数の計算を同時に実行できるようになりました。VLOOKUPやHLOOKUPの検索速度も向上し、大量のデータの処理が迅速化されました。これらの改善により、Excel 2016はより効率的に大規模データを扱えるようになりました。

Excel M365のパフォーマンス改善:大型または複雑なワークブックの編集を効率化する新機能

適用対象

  • Excel | Excel M365 | Excel 2016 | Excel 2013 | Excel 2010 | Office 2016 | SharePoint Server 2010 | VBA

Excel M365は、大型または複雑なExcelワークブックを操作する際のパフォーマンス向上のための新機能を導入しています。以下に、いくつかの主要な改善点を紹介します。

SUMIFS、AVERAGEIFS、COUNTIFS、MAXIFS、MINIFSの改善

Office 365バージョン2005以降では、Excelの各種集計関数(SUMIFS、AVERAGEIFS、COUNTIFS、MAXIFS、MINIFS)やそれぞれの単一バージョン(SUMIF、AVERAGEIF、COUNTIF)は、Excel 2010に比べて大幅に高速化されました。これらの関数は内部的にキャッシュされたインデックスを作成し、それを再利用することでパフォーマンスを向上させています。たとえば、1200のSUMIFSやAVERAGEIFSの計算が1百万セルを対象に行われた場合、Excel 2010では20秒かかりますが、Excel M365 2006ではわずか8秒で計算が完了します。

RealTimeData関数(RTD)の改善

Excel M365バージョン2002以降では、RTD関数の計算が大幅に高速化され、スレッドセーフが確保されました。これにより、全スレッドで同時に計算が可能になり、株価データのような高頻度更新において効率が飛躍的に向上しています。たとえば、125,000のRTD更新を行った場合、Excel 2010では47秒かかりますが、Excel M365ではわずか7秒で済みます。

VLOOKUP、HLOOKUP、MATCHの改善

Office 365バージョン1809以降では、VLOOKUP、HLOOKUP、およびMATCH関数が、無作為なデータの正確な一致を検索する際の速度が大幅に向上しました。これらの関数でも内部のキャッシュインデックスが作成され、同じテーブル範囲からの複数列の検索がより効率的に行えるようになりました。たとえば、5つの異なる列を検索するVLOOKUPの集計は、Excel 2010では37秒を要したのに対し、Excel 2016では12秒に短縮されています。

32ビットExcelのLAAメモリ改善

Excel 2013および2016の32ビットバージョンでは、Large Address Aware(LAA)が有効化され、利用可能な仮想メモリが増加しました。これにより、ユーザーはより多くのデータを扱うことが可能になります。

完全列参照の改善

Excel 2016では、多数の完全列参照を使用したワークブックのメモリ使用量が最適化され、CPU使用率も低下しました。たとえば、6百万の数式が含まれるワークブックでは、Excel 2016では仮想メモリを2GBしか使用しませんでした。

構造化参照の改善

Excel 2013以前のバージョンでは、構造化参照を使用したテーブルの編集が遅く、大量の行と組み合わせることが避けられていましたが、Excel 2016ではこの問題が解決されました。

フィルタリング、並べ替え、およびコピー/ペーストの改善

Excel 2013では、フィルタリングや並べ替え、コピー&ペーストの操作が遅かったが、Excel 2016ではその応答時間が大幅に改善されました。たとえば、44,000行から22,000行をコピーした場合、Excel 2016では処理時間が高速になっています。

結論

Excel 2016は、大型で複雑なワークブックの取り扱いにおいて、パフォーマンスや制限を改善し、ハードウェアの能力に応じて効率的な計算を可能にしています。これにより、ユーザーはより快適にExcelを利用できるようになりました。

これらの改善によって、Excel M365はさまざまな業務ニーズに応えるツールとなり、利用者にとって一層価値のあるアプリケーションとなっています。 Excelの新しい機能と改善点を活用し、作業の効率をさらに高めていきましょう。

————-

Excel performance – Performance and limit improvements

Source link

Excel M365 and its preceding versions, including Excel 2016, 2013, 2010, and Office 2016, have undergone significant performance enhancements, particularly when handling large and complex workbooks. Here’s a summary of key improvements across various functions and features:

  1. Optimized Calculation Functions:

    • Functions like SUMIFS, AVERAGEIFS, COUNTIFS, MAXIFS, and MINIFS have been improved in M365 versions from 2005 onwards, utilizing internal cached indexes to drastically reduce calculation times when aggregating large data sets. For example, calculating these functions over 1 million cells dropped from 20 seconds in Excel 2010 to just 8 seconds in Excel M365.
  2. RealTimeData (RTD) Function:

    • Enhancements in M365 version 2002 have made RTD calculations faster by eliminating memory bottlenecks and making it thread-safe. This allows for concurrent calculations, improving execution time significantly (from 47 seconds in Excel 2010 to just 7 seconds in M365).
  3. VLOOKUP, HLOOKUP, and MATCH Improvements:

    • In Office 365 versions from 1809 onwards, these lookup functions became much faster by using cached indexes for exact matches on unsorted data. This enhancement can lead to lookup performance increases up to four times compared to Excel 2010.
  4. Large Address Awareness (LAA):

    • Both Excel 2013 and 2016 (32-bit) have enabled LAA, effectively increasing virtual memory availability from 2 GB to up to 3 GB, thus reducing out-of-memory errors during intensive tasks.
  5. Performance for Full Column References and Structured References:

    • Excel 2016 has optimized memory and CPU usage when using full column references and structured references, making table edits much faster compared to earlier versions.
  6. Improvements in User Interface Operations:

    • Notable enhancements have been made in response times for filtering, sorting, and copy/pasting operations, particularly in large workbooks. For instance, one test showed that copy/pasting operations went from 39 seconds in Excel 2013 to just 2 seconds in Excel 2016.
  7. Graphical Object Performance:

    • Excel 2010 introduced improvements for rendering graphics and managing shapes, particularly in large datasets. Hardware acceleration assists in rendering 3D objects faster.
  8. Multithreaded and Asynchronous Calculations:

    • Excel 2010 made advancements in utilizing multi-core processors and allowing user-defined functions to run asynchronously, which enhances the speed of complex calculations.
  9. Enhanced Copy/Paste Capabilities:

    • The performance of copying and pasting cells with conditional formats improved significantly in Excel 2016, showcasing time reductions from previous versions.
  10. Innovative Functions:
    • New functions such as MAXIFS and MINIFS in Excel 2016 aim to provide efficient solutions for aggregating data with improved performance.

In conclusion, these enhancements across various versions of Excel focus on improving overall performance, particularly for users handling larger datasets and complex calculations, allowing Excel to leverage modern hardware capabilities effectively.

関連記事