[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-326246-105":59,"doc-detail-326246-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","array-formulae-in-excel-how-to-use-dsum-and-avoid-array-crawl","Array Formulae in Excel - How to Use DSUM and Avoid Array Crawl","","Guidance for intermediate Excel users on mastering array formulae, explaining how array calculations combine multiple conditions and how the curly-brace syntax requires Ctrl+Shift+Enter. The article then addresses performance problems caused by “array crawl,” where volatile arrays force frequent recalculation and slow file operations. A practical alternative is provided using database functions such as DSUM and DCOUNT, including setup of advanced-filter criteria ranges and examples of DSUM(database, field, criteria) usage with clearer debugging via column-title references.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/array-formulae-in-excel-how-to-use-dsum-and-avoid-array-crawl/326246/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/array-formulae-in-excel-how-to-use-dsum-and-avoid-array-crawl/326246.png","ImageObject",300,407,{"name":92,"@type":93},"Logic","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-09-21",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How do you enter an array formula in Excel?","Question",{"text":112,"@type":113},"After typing the formula, enter it with Ctrl+Shift+Enter instead of just Enter. Excel adds the curly brackets automatically.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why can array formulae make an Excel file slow?",{"text":117,"@type":113},"Array formulae are volatile, so Excel forces them to recalculate whenever many actions occur, even if the changes don’t affect those arrays.",{"name":119,"@type":110,"acceptedAnswer":120},"What is DSUM and how does it replace array formulae?",{"text":121,"@type":113},"DSUM is a database function that sums a chosen field based on criteria. It uses a database range plus a criteria range similar to Excel advanced filters.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},326246,1790449270,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":19,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":52,"preview_page_count":19,"preview_urls":144},1099513958762,"https://ap-avatar.wpscdn.com/avatar/1000023916a998db790?x-image-process=image/resize,m_fixed,w_180,h_180&k=1784791008015729253","It’s something of a rite of passage, really, the day when the intermediate Excel user discovers array formulae. If you haven’t got to that stage just yet, stop reading now, but keep this article handy. When you get to the point (and you will) when you can’t imagine life again without array formulae, take out this article and read it.  \nArray formulae are without doubt one of Excel’s crown jewels. Few features in any programme can offer the kind of magic which is possible with arrays.  \nLook at this data for instance:  \nWe can, of course, total the columns. We can even use functions like SUMIFand COUNTIF to add up the data based on conditions, like the number of occasions four or more units were sold, or the total income on or after a particular date.  \nBut as soon as we want to combine 2 or more conditions, these basic functions let us down, since they are limited to on ly a single condition.  \nSo, if we want to know the total number of units sold by South Branch on 2 August, we can use:  \n{=SUM(IF(B2:B17=\"South\",IF(E2:E17=DATEVALUE(\"02/08/03\"),C2:C17,0)))}  \nAt its heart, of course, this is a sum command. If we were to render the command into English, it might say something like this:  \nAdd up where it says ‘South’ in column B and where the date in column E is 02/08/03 whatever is in the corresponding row of column C.  \nNote the interesting framing of this function by the curly brackets. This is required of every array formula, but you can’t just type them. After typing in the rest of the formula, you simply type [Ctrl]+[Shift]+Enter, rather than just Enter, as you usually would. Excel will add the curly brackets automatically. Also remember that whenever you edit the cell with an array formula in it, you should exit with the same 3-key combination.  \nThe power of the array formula soon becomes apparent once you start playing with more fields and bigger, more complex lists. Some time ago, infatuated with arrays, I built a large spreadsheet to track results of 3,000 salespeople going through a number of assessments. I had array formulae to show how many people had passed how many assessments mapped against dates, assessment centres and case studies. In all, there were several hundred array formulae across a few worksheets in the one file. I was delighted with my achievement, and installed the file on the client’s network.  \nAs more and more data came in, though, it started taking longer and longer for the file to open, close or save. Before long, users were having to wait 4 minutes or more to get their statistics, and another 4 to close the file again. Clearly, this wasn’t acceptable and I determined to find out what was happening and what I had done wrong.  \nThe answer turned out to be nothing; I hadn’t made any mistakes, and the sheet was working exactly as I’d designed it to. But I’d had my first taste of“array crawl”. It seems that array formulae are highly volatile. In Excel terms this means that they will be forced to recalculate at the drop of a hat.  \nVirtually anything you do in Excel will cause a chain reaction forcing all your arrays to recalculate, whether or not whatever you’ve done has any impact on them – and remember that each individual array formula could represent thousands of calculations. I was using far too many of them and they had togo.  \nBut my sheet depended on them utterly. How could I do without them? The answer actually turned out to be quite easy. I knew about the Database functions – DSUM, DCOUNT and the like – but they’d never seemed terribly useful to me. I was about to be enlightened in a big way.  \nThe basic syntax of a D formula (taking DSUM as an example) is:  \nDSUM(database,field,criteria)  \n‘Database’ is the range of cells which contains the data you want to query. It should contain a title row and look pretty much like the example we’re using, although it can be any number of columns wide, and any number of rows long. Often, you will want to define a dynamic range name for it.  \n‘Field’i","cbCailsEssP4PFsA","https://ap.wps.com/l/cbCailsEssP4PFsA","pdf",97351,"English","# Understanding array formulae\n## Syntax and calculation behavior\n# Combining multiple conditions\n## Example with SUM and IF\n# Performance: array crawl problem\n## Why arrays slow down workbooks\n# Using DSUM and related functions\n## DSUM(database, field, criteria)\n## Building the criteria table (advanced filters)\n## Example: DSUM with numeric field index and column title","[{\"question\":\"How do you enter an array formula in Excel?\",\"answer\":\"After typing the formula, enter it with Ctrl+Shift+Enter instead of just Enter. Excel adds the curly brackets automatically.\"},{\"question\":\"Why can array formulae make an Excel file slow?\",\"answer\":\"Array formulae are volatile, so Excel forces them to recalculate whenever many actions occur, even if the changes don’t affect those arrays.\"},{\"question\":\"What is DSUM and how does it replace array formulae?\",\"answer\":\"DSUM is a database function that sums a chosen field based on criteria. It uses a database range plus a criteria range similar to Excel advanced filters.\"}]","Array Formulae in Excel - How to Use DSUM and Avoid Array Crawl | PDF",1789973752,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9bd1daf2e9448bf7396576b263b0adf8.webp",983,1390,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/3bcef127ae33cc3621a241fa1a1160f0.webp",982,1389,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/6c176a5c1a4ef3af08edecdbef464fec.webp",981,1387,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f0f4ed13216092fc1482d1c331c73151.webp",980,1386]