[{"data":1,"prerenderedAt":1624},["ShallowReactive",2],{"article-\u002Fexcel\u002Fdynamic-arrays-filter-sort-unique-sequence":3,"content-query-9Uz3yStQxl":890},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"category":10,"date":11,"readingTime":12,"tags":13,"body":20,"_type":884,"_id":885,"_source":886,"_file":887,"_stem":888,"_extension":889},"\u002Fexcel\u002Fdynamic-arrays-filter-sort-unique-sequence","excel",false,"","Excel Dynamic Arrays: FILTER, SORT, UNIQUE, and SEQUENCE Explained","Learn how Excel's modern dynamic array functions — FILTER, SORT, UNIQUE, and SEQUENCE — automatically spill results into multiple cells, replacing complex array formulas and manual updates.","Excel","2026-10-24",8,[14,15,16,17,18,19],"Dynamic Arrays","FILTER","SORT","UNIQUE","SEQUENCE","Excel 365",{"type":21,"children":22,"toc":865},"root",[23,31,38,43,57,86,92,102,116,127,141,162,169,179,193,203,217,223,228,242,262,268,282,287,301,306,320,326,337,351,356,362,376,381,395,407,421,427,432,474,479,485,499,504,518,523,537,543,548,562,567,581,587,592,606,619,624,638,644,846,859],{"type":24,"tag":25,"props":26,"children":27},"element","p",{},[28],{"type":29,"value":30},"text","Dynamic array functions, introduced in Microsoft 365 and Excel 2021, fundamentally changed how formulas work. Instead of returning a single value, these functions return a range of results that automatically \"spill\" into neighboring empty cells. No more Ctrl+Shift+Enter, no more dragging fill handles.",{"type":24,"tag":32,"props":33,"children":35},"h2",{"id":34},"what-is-a-spill-range",[36],{"type":29,"value":37},"What Is a Spill Range?",{"type":24,"tag":25,"props":39,"children":40},{},[41],{"type":29,"value":42},"When a dynamic array formula returns multiple values, they flow into adjacent cells automatically. This spill range is indicated by a blue border. The formula lives only in the top-left cell — the rest are read-only overflow.",{"type":24,"tag":25,"props":44,"children":45},{},[46,48,55],{"type":29,"value":47},"To reference an entire spill range in another formula, use the spill operator ",{"type":24,"tag":49,"props":50,"children":52},"code",{"className":51},[],[53],{"type":29,"value":54},"#",{"type":29,"value":56},":",{"type":24,"tag":58,"props":59,"children":62},"pre",{"className":60,"code":61,"language":5,"meta":7,"style":7},"language-excel shiki shiki-themes github-dark","=SORT(A2:A20)       ← formula in D2, results spill into D3:D21\n=D2#               ← references the entire spill range dynamically\n",[63],{"type":24,"tag":49,"props":64,"children":65},{"__ignoreMap":7},[66,77],{"type":24,"tag":67,"props":68,"children":71},"span",{"class":69,"line":70},"line",1,[72],{"type":24,"tag":67,"props":73,"children":74},{},[75],{"type":29,"value":76},"=SORT(A2:A20)       ← formula in D2, results spill into D3:D21\n",{"type":24,"tag":67,"props":78,"children":80},{"class":69,"line":79},2,[81],{"type":24,"tag":67,"props":82,"children":83},{},[84],{"type":29,"value":85},"=D2#               ← references the entire spill range dynamically\n",{"type":24,"tag":32,"props":87,"children":89},{"id":88},"filter-extract-rows-that-meet-conditions",[90],{"type":29,"value":91},"FILTER: Extract Rows That Meet Conditions",{"type":24,"tag":25,"props":93,"children":94},{},[95,100],{"type":24,"tag":49,"props":96,"children":98},{"className":97},[],[99],{"type":29,"value":15},{"type":29,"value":101}," is the dynamic replacement for complex combinations of INDEX\u002FMATCH or helper columns.",{"type":24,"tag":58,"props":103,"children":105},{"className":60,"code":104,"language":5,"meta":7,"style":7},"=FILTER(array, include, [if_empty])\n",[106],{"type":24,"tag":49,"props":107,"children":108},{"__ignoreMap":7},[109],{"type":24,"tag":67,"props":110,"children":111},{"class":69,"line":70},[112],{"type":24,"tag":67,"props":113,"children":114},{},[115],{"type":29,"value":104},{"type":24,"tag":25,"props":117,"children":118},{},[119,125],{"type":24,"tag":120,"props":121,"children":122},"strong",{},[123],{"type":29,"value":124},"Example:",{"type":29,"value":126}," Extract all rows from a sales table where Region is \"North\":",{"type":24,"tag":58,"props":128,"children":130},{"className":60,"code":129,"language":5,"meta":7,"style":7},"=FILTER(A2:D100, B2:B100=\"North\", \"No results found\")\n",[131],{"type":24,"tag":49,"props":132,"children":133},{"__ignoreMap":7},[134],{"type":24,"tag":67,"props":135,"children":136},{"class":69,"line":70},[137],{"type":24,"tag":67,"props":138,"children":139},{},[140],{"type":29,"value":129},{"type":24,"tag":25,"props":142,"children":143},{},[144,146,152,154,160],{"type":29,"value":145},"The ",{"type":24,"tag":49,"props":147,"children":149},{"className":148},[],[150],{"type":29,"value":151},"if_empty",{"type":29,"value":153}," argument prevents the ",{"type":24,"tag":49,"props":155,"children":157},{"className":156},[],[158],{"type":29,"value":159},"#CALC!",{"type":29,"value":161}," error when nothing matches.",{"type":24,"tag":163,"props":164,"children":166},"h3",{"id":165},"multiple-conditions-with-filter",[167],{"type":29,"value":168},"Multiple Conditions with FILTER",{"type":24,"tag":25,"props":170,"children":171},{},[172,177],{"type":24,"tag":120,"props":173,"children":174},{},[175],{"type":29,"value":176},"AND logic",{"type":29,"value":178}," (both conditions must be true — multiply conditions):",{"type":24,"tag":58,"props":180,"children":182},{"className":60,"code":181,"language":5,"meta":7,"style":7},"=FILTER(A2:D100, (B2:B100=\"North\")*(C2:C100=\"Widget A\"), \"No results\")\n",[183],{"type":24,"tag":49,"props":184,"children":185},{"__ignoreMap":7},[186],{"type":24,"tag":67,"props":187,"children":188},{"class":69,"line":70},[189],{"type":24,"tag":67,"props":190,"children":191},{},[192],{"type":29,"value":181},{"type":24,"tag":25,"props":194,"children":195},{},[196,201],{"type":24,"tag":120,"props":197,"children":198},{},[199],{"type":29,"value":200},"OR logic",{"type":29,"value":202}," (either condition — add conditions):",{"type":24,"tag":58,"props":204,"children":206},{"className":60,"code":205,"language":5,"meta":7,"style":7},"=FILTER(A2:D100, (B2:B100=\"North\")+(B2:B100=\"South\"), \"No results\")\n",[207],{"type":24,"tag":49,"props":208,"children":209},{"__ignoreMap":7},[210],{"type":24,"tag":67,"props":211,"children":212},{"class":69,"line":70},[213],{"type":24,"tag":67,"props":214,"children":215},{},[216],{"type":29,"value":205},{"type":24,"tag":163,"props":218,"children":220},{"id":219},"combining-filter-with-sort",[221],{"type":29,"value":222},"Combining FILTER with SORT",{"type":24,"tag":25,"props":224,"children":225},{},[226],{"type":29,"value":227},"Extract the top 5 highest-revenue rows from the North region:",{"type":24,"tag":58,"props":229,"children":231},{"className":60,"code":230,"language":5,"meta":7,"style":7},"=SORT(FILTER(A2:D100, B2:B100=\"North\"), 4, -1)\n",[232],{"type":24,"tag":49,"props":233,"children":234},{"__ignoreMap":7},[235],{"type":24,"tag":67,"props":236,"children":237},{"class":69,"line":70},[238],{"type":24,"tag":67,"props":239,"children":240},{},[241],{"type":29,"value":230},{"type":24,"tag":25,"props":243,"children":244},{},[245,246,252,254,260],{"type":29,"value":145},{"type":24,"tag":49,"props":247,"children":249},{"className":248},[],[250],{"type":29,"value":251},"4",{"type":29,"value":253}," means sort by column 4 (Revenue), ",{"type":24,"tag":49,"props":255,"children":257},{"className":256},[],[258],{"type":29,"value":259},"-1",{"type":29,"value":261}," means descending order.",{"type":24,"tag":32,"props":263,"children":265},{"id":264},"sort-and-sortby-order-your-data-dynamically",[266],{"type":29,"value":267},"SORT and SORTBY: Order Your Data Dynamically",{"type":24,"tag":58,"props":269,"children":271},{"className":60,"code":270,"language":5,"meta":7,"style":7},"=SORT(array, [sort_index], [sort_order], [by_col])\n",[272],{"type":24,"tag":49,"props":273,"children":274},{"__ignoreMap":7},[275],{"type":24,"tag":67,"props":276,"children":277},{"class":69,"line":70},[278],{"type":24,"tag":67,"props":279,"children":280},{},[281],{"type":29,"value":270},{"type":24,"tag":25,"props":283,"children":284},{},[285],{"type":29,"value":286},"Sort a product list alphabetically:",{"type":24,"tag":58,"props":288,"children":290},{"className":60,"code":289,"language":5,"meta":7,"style":7},"=SORT(A2:A50)\n",[291],{"type":24,"tag":49,"props":292,"children":293},{"__ignoreMap":7},[294],{"type":24,"tag":67,"props":295,"children":296},{"class":69,"line":70},[297],{"type":24,"tag":67,"props":298,"children":299},{},[300],{"type":29,"value":289},{"type":24,"tag":25,"props":302,"children":303},{},[304],{"type":29,"value":305},"Sort a multi-column table by the 3rd column in descending order:",{"type":24,"tag":58,"props":307,"children":309},{"className":60,"code":308,"language":5,"meta":7,"style":7},"=SORT(A2:D50, 3, -1)\n",[310],{"type":24,"tag":49,"props":311,"children":312},{"__ignoreMap":7},[313],{"type":24,"tag":67,"props":314,"children":315},{"class":69,"line":70},[316],{"type":24,"tag":67,"props":317,"children":318},{},[319],{"type":29,"value":308},{"type":24,"tag":163,"props":321,"children":323},{"id":322},"sortby-for-multi-level-sorting",[324],{"type":29,"value":325},"SORTBY for Multi-Level Sorting",{"type":24,"tag":25,"props":327,"children":328},{},[329,335],{"type":24,"tag":49,"props":330,"children":332},{"className":331},[],[333],{"type":29,"value":334},"SORTBY",{"type":29,"value":336}," sorts one array based on the values in another — useful when the sort column is not part of the returned array:",{"type":24,"tag":58,"props":338,"children":340},{"className":60,"code":339,"language":5,"meta":7,"style":7},"=SORTBY(A2:B50, B2:B50, -1, A2:A50, 1)\n",[341],{"type":24,"tag":49,"props":342,"children":343},{"__ignoreMap":7},[344],{"type":24,"tag":67,"props":345,"children":346},{"class":69,"line":70},[347],{"type":24,"tag":67,"props":348,"children":349},{},[350],{"type":29,"value":339},{"type":24,"tag":25,"props":352,"children":353},{},[354],{"type":29,"value":355},"This sorts by column B descending first, then by column A ascending as a tiebreaker.",{"type":24,"tag":32,"props":357,"children":359},{"id":358},"unique-deduplicate-lists-instantly",[360],{"type":29,"value":361},"UNIQUE: Deduplicate Lists Instantly",{"type":24,"tag":58,"props":363,"children":365},{"className":60,"code":364,"language":5,"meta":7,"style":7},"=UNIQUE(array, [by_col], [exactly_once])\n",[366],{"type":24,"tag":49,"props":367,"children":368},{"__ignoreMap":7},[369],{"type":24,"tag":67,"props":370,"children":371},{"class":69,"line":70},[372],{"type":24,"tag":67,"props":373,"children":374},{},[375],{"type":29,"value":364},{"type":24,"tag":25,"props":377,"children":378},{},[379],{"type":29,"value":380},"Extract a distinct list of products from a column:",{"type":24,"tag":58,"props":382,"children":384},{"className":60,"code":383,"language":5,"meta":7,"style":7},"=UNIQUE(C2:C100)\n",[385],{"type":24,"tag":49,"props":386,"children":387},{"__ignoreMap":7},[388],{"type":24,"tag":67,"props":389,"children":390},{"class":69,"line":70},[391],{"type":24,"tag":67,"props":392,"children":393},{},[394],{"type":29,"value":383},{"type":24,"tag":25,"props":396,"children":397},{},[398,400,405],{"type":29,"value":399},"Return items that appear ",{"type":24,"tag":120,"props":401,"children":402},{},[403],{"type":29,"value":404},"exactly once",{"type":29,"value":406}," (not duplicated at all):",{"type":24,"tag":58,"props":408,"children":410},{"className":60,"code":409,"language":5,"meta":7,"style":7},"=UNIQUE(C2:C100, FALSE, TRUE)\n",[411],{"type":24,"tag":49,"props":412,"children":413},{"__ignoreMap":7},[414],{"type":24,"tag":67,"props":415,"children":416},{"class":69,"line":70},[417],{"type":24,"tag":67,"props":418,"children":419},{},[420],{"type":29,"value":409},{"type":24,"tag":163,"props":422,"children":424},{"id":423},"building-a-dynamic-dropdown-with-unique",[425],{"type":29,"value":426},"Building a Dynamic Dropdown with UNIQUE",{"type":24,"tag":25,"props":428,"children":429},{},[430],{"type":29,"value":431},"Use the spill range from UNIQUE as the source for a data validation dropdown:",{"type":24,"tag":433,"props":434,"children":435},"ol",{},[436,458,463],{"type":24,"tag":437,"props":438,"children":439},"li",{},[440,442,448,450,456],{"type":29,"value":441},"Put ",{"type":24,"tag":49,"props":443,"children":445},{"className":444},[],[446],{"type":29,"value":447},"=UNIQUE(C2:C100)",{"type":29,"value":449}," in cell ",{"type":24,"tag":49,"props":451,"children":453},{"className":452},[],[454],{"type":29,"value":455},"F2",{"type":29,"value":457},".",{"type":24,"tag":437,"props":459,"children":460},{},[461],{"type":29,"value":462},"Select the dropdown target cell → Data → Data Validation → List.",{"type":24,"tag":437,"props":464,"children":465},{},[466,468],{"type":29,"value":467},"In Source enter: ",{"type":24,"tag":49,"props":469,"children":471},{"className":470},[],[472],{"type":29,"value":473},"=$F$2#",{"type":24,"tag":25,"props":475,"children":476},{},[477],{"type":29,"value":478},"The dropdown now updates automatically whenever new products appear.",{"type":24,"tag":32,"props":480,"children":482},{"id":481},"sequence-generate-number-or-date-series",[483],{"type":29,"value":484},"SEQUENCE: Generate Number or Date Series",{"type":24,"tag":58,"props":486,"children":488},{"className":60,"code":487,"language":5,"meta":7,"style":7},"=SEQUENCE(rows, [columns], [start], [step])\n",[489],{"type":24,"tag":49,"props":490,"children":491},{"__ignoreMap":7},[492],{"type":24,"tag":67,"props":493,"children":494},{"class":69,"line":70},[495],{"type":24,"tag":67,"props":496,"children":497},{},[498],{"type":29,"value":487},{"type":24,"tag":25,"props":500,"children":501},{},[502],{"type":29,"value":503},"Generate numbers 1 through 20:",{"type":24,"tag":58,"props":505,"children":507},{"className":60,"code":506,"language":5,"meta":7,"style":7},"=SEQUENCE(20)\n",[508],{"type":24,"tag":49,"props":509,"children":510},{"__ignoreMap":7},[511],{"type":24,"tag":67,"props":512,"children":513},{"class":69,"line":70},[514],{"type":24,"tag":67,"props":515,"children":516},{},[517],{"type":29,"value":506},{"type":24,"tag":25,"props":519,"children":520},{},[521],{"type":29,"value":522},"Create a 4-row by 3-column multiplication table starting at 1, step 1:",{"type":24,"tag":58,"props":524,"children":526},{"className":60,"code":525,"language":5,"meta":7,"style":7},"=SEQUENCE(4, 3, 1, 1)\n",[527],{"type":24,"tag":49,"props":528,"children":529},{"__ignoreMap":7},[530],{"type":24,"tag":67,"props":531,"children":532},{"class":69,"line":70},[533],{"type":24,"tag":67,"props":534,"children":535},{},[536],{"type":29,"value":525},{"type":24,"tag":163,"props":538,"children":540},{"id":539},"generating-a-date-series",[541],{"type":29,"value":542},"Generating a Date Series",{"type":24,"tag":25,"props":544,"children":545},{},[546],{"type":29,"value":547},"Create a full calendar month starting from a date in cell A1:",{"type":24,"tag":58,"props":549,"children":551},{"className":60,"code":550,"language":5,"meta":7,"style":7},"=SEQUENCE(31, 1, A1, 1)\n",[552],{"type":24,"tag":49,"props":553,"children":554},{"__ignoreMap":7},[555],{"type":24,"tag":67,"props":556,"children":557},{"class":69,"line":70},[558],{"type":24,"tag":67,"props":559,"children":560},{},[561],{"type":29,"value":550},{"type":24,"tag":25,"props":563,"children":564},{},[565],{"type":29,"value":566},"Format the results as dates. To limit to weekdays only, wrap in WORKDAY:",{"type":24,"tag":58,"props":568,"children":570},{"className":60,"code":569,"language":5,"meta":7,"style":7},"=WORKDAY(A1-1, SEQUENCE(23))\n",[571],{"type":24,"tag":49,"props":572,"children":573},{"__ignoreMap":7},[574],{"type":24,"tag":67,"props":575,"children":576},{"class":69,"line":70},[577],{"type":24,"tag":67,"props":578,"children":579},{},[580],{"type":29,"value":569},{"type":24,"tag":32,"props":582,"children":584},{"id":583},"practical-combined-example-dynamic-leaderboard",[585],{"type":29,"value":586},"Practical Combined Example: Dynamic Leaderboard",{"type":24,"tag":25,"props":588,"children":589},{},[590],{"type":29,"value":591},"Show the top 10 salespeople by revenue with their region, sorted highest first:",{"type":24,"tag":58,"props":593,"children":595},{"className":60,"code":594,"language":5,"meta":7,"style":7},"=TAKE(SORT(A2:D100, 4, -1), 10)\n",[596],{"type":24,"tag":49,"props":597,"children":598},{"__ignoreMap":7},[599],{"type":24,"tag":67,"props":600,"children":601},{"class":69,"line":70},[602],{"type":24,"tag":67,"props":603,"children":604},{},[605],{"type":29,"value":594},{"type":24,"tag":25,"props":607,"children":608},{},[609,611,617],{"type":29,"value":610},"Where column A = Name, B = Region, C = Product, D = Revenue. ",{"type":24,"tag":49,"props":612,"children":614},{"className":613},[],[615],{"type":29,"value":616},"TAKE",{"type":29,"value":618}," (Excel 365) returns the first N rows of the sorted spill.",{"type":24,"tag":25,"props":620,"children":621},{},[622],{"type":29,"value":623},"For Excel 2021 without TAKE:",{"type":24,"tag":58,"props":625,"children":627},{"className":60,"code":626,"language":5,"meta":7,"style":7},"=INDEX(SORT(A2:D100, 4, -1), SEQUENCE(10), {1,2,3,4})\n",[628],{"type":24,"tag":49,"props":629,"children":630},{"__ignoreMap":7},[631],{"type":24,"tag":67,"props":632,"children":633},{"class":69,"line":70},[634],{"type":24,"tag":67,"props":635,"children":636},{},[637],{"type":29,"value":626},{"type":24,"tag":32,"props":639,"children":641},{"id":640},"compatibility-notes",[642],{"type":29,"value":643},"Compatibility Notes",{"type":24,"tag":645,"props":646,"children":647},"table",{},[648,682],{"type":24,"tag":649,"props":650,"children":651},"thead",{},[652],{"type":24,"tag":653,"props":654,"children":655},"tr",{},[656,663,667,672,677],{"type":24,"tag":657,"props":658,"children":660},"th",{"align":659},"left",[661],{"type":29,"value":662},"Function",{"type":24,"tag":657,"props":664,"children":665},{"align":659},[666],{"type":29,"value":19},{"type":24,"tag":657,"props":668,"children":669},{"align":659},[670],{"type":29,"value":671},"Excel 2021",{"type":24,"tag":657,"props":673,"children":674},{"align":659},[675],{"type":29,"value":676},"Excel 2019",{"type":24,"tag":657,"props":678,"children":679},{"align":659},[680],{"type":29,"value":681},"Google Sheets",{"type":24,"tag":683,"props":684,"children":685},"tbody",{},[686,715,741,767,793,820],{"type":24,"tag":653,"props":687,"children":688},{},[689,697,702,706,711],{"type":24,"tag":690,"props":691,"children":692},"td",{"align":659},[693],{"type":24,"tag":120,"props":694,"children":695},{},[696],{"type":29,"value":15},{"type":24,"tag":690,"props":698,"children":699},{"align":659},[700],{"type":29,"value":701},"✅ Supported",{"type":24,"tag":690,"props":703,"children":704},{"align":659},[705],{"type":29,"value":701},{"type":24,"tag":690,"props":707,"children":708},{"align":659},[709],{"type":29,"value":710},"❌ Not available",{"type":24,"tag":690,"props":712,"children":713},{"align":659},[714],{"type":29,"value":701},{"type":24,"tag":653,"props":716,"children":717},{},[718,725,729,733,737],{"type":24,"tag":690,"props":719,"children":720},{"align":659},[721],{"type":24,"tag":120,"props":722,"children":723},{},[724],{"type":29,"value":16},{"type":24,"tag":690,"props":726,"children":727},{"align":659},[728],{"type":29,"value":701},{"type":24,"tag":690,"props":730,"children":731},{"align":659},[732],{"type":29,"value":701},{"type":24,"tag":690,"props":734,"children":735},{"align":659},[736],{"type":29,"value":710},{"type":24,"tag":690,"props":738,"children":739},{"align":659},[740],{"type":29,"value":701},{"type":24,"tag":653,"props":742,"children":743},{},[744,751,755,759,763],{"type":24,"tag":690,"props":745,"children":746},{"align":659},[747],{"type":24,"tag":120,"props":748,"children":749},{},[750],{"type":29,"value":17},{"type":24,"tag":690,"props":752,"children":753},{"align":659},[754],{"type":29,"value":701},{"type":24,"tag":690,"props":756,"children":757},{"align":659},[758],{"type":29,"value":701},{"type":24,"tag":690,"props":760,"children":761},{"align":659},[762],{"type":29,"value":710},{"type":24,"tag":690,"props":764,"children":765},{"align":659},[766],{"type":29,"value":701},{"type":24,"tag":653,"props":768,"children":769},{},[770,777,781,785,789],{"type":24,"tag":690,"props":771,"children":772},{"align":659},[773],{"type":24,"tag":120,"props":774,"children":775},{},[776],{"type":29,"value":18},{"type":24,"tag":690,"props":778,"children":779},{"align":659},[780],{"type":29,"value":701},{"type":24,"tag":690,"props":782,"children":783},{"align":659},[784],{"type":29,"value":701},{"type":24,"tag":690,"props":786,"children":787},{"align":659},[788],{"type":29,"value":710},{"type":24,"tag":690,"props":790,"children":791},{"align":659},[792],{"type":29,"value":701},{"type":24,"tag":653,"props":794,"children":795},{},[796,803,807,811,815],{"type":24,"tag":690,"props":797,"children":798},{"align":659},[799],{"type":24,"tag":120,"props":800,"children":801},{},[802],{"type":29,"value":616},{"type":24,"tag":690,"props":804,"children":805},{"align":659},[806],{"type":29,"value":701},{"type":24,"tag":690,"props":808,"children":809},{"align":659},[810],{"type":29,"value":710},{"type":24,"tag":690,"props":812,"children":813},{"align":659},[814],{"type":29,"value":710},{"type":24,"tag":690,"props":816,"children":817},{"align":659},[818],{"type":29,"value":819},"✅ Supported (2023+)",{"type":24,"tag":653,"props":821,"children":822},{},[823,830,834,838,842],{"type":24,"tag":690,"props":824,"children":825},{"align":659},[826],{"type":24,"tag":120,"props":827,"children":828},{},[829],{"type":29,"value":334},{"type":24,"tag":690,"props":831,"children":832},{"align":659},[833],{"type":29,"value":701},{"type":24,"tag":690,"props":835,"children":836},{"align":659},[837],{"type":29,"value":701},{"type":24,"tag":690,"props":839,"children":840},{"align":659},[841],{"type":29,"value":710},{"type":24,"tag":690,"props":843,"children":844},{"align":659},[845],{"type":29,"value":701},{"type":24,"tag":25,"props":847,"children":848},{},[849,851,857],{"type":29,"value":850},"For Excel 2019 backward compatibility, use the classic ",{"type":24,"tag":49,"props":852,"children":854},{"className":853},[],[855],{"type":29,"value":856},"INDEX \u002F MATCH",{"type":29,"value":858}," pattern or helper columns instead of dynamic array spills.",{"type":24,"tag":860,"props":861,"children":862},"style",{},[863],{"type":29,"value":864},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":79,"depth":79,"links":866},[867,868,873,876,879,882,883],{"id":34,"depth":79,"text":37},{"id":88,"depth":79,"text":91,"children":869},[870,872],{"id":165,"depth":871,"text":168},3,{"id":219,"depth":871,"text":222},{"id":264,"depth":79,"text":267,"children":874},[875],{"id":322,"depth":871,"text":325},{"id":358,"depth":79,"text":361,"children":877},[878],{"id":423,"depth":871,"text":426},{"id":481,"depth":79,"text":484,"children":880},[881],{"id":539,"depth":871,"text":542},{"id":583,"depth":79,"text":586},{"id":640,"depth":79,"text":643},"markdown","content:excel:dynamic-arrays-filter-sort-unique-sequence.md","content","excel\u002Fdynamic-arrays-filter-sort-unique-sequence.md","excel\u002Fdynamic-arrays-filter-sort-unique-sequence","md",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"category":10,"date":11,"readingTime":12,"tags":891,"body":892,"_type":884,"_id":885,"_source":886,"_file":887,"_stem":888,"_extension":889},[14,15,16,17,18,19],{"type":21,"children":893,"toc":1606},[894,898,902,906,916,936,940,949,962,970,983,999,1003,1011,1024,1032,1045,1049,1053,1066,1082,1086,1099,1103,1116,1120,1133,1137,1146,1159,1163,1167,1180,1184,1197,1206,1219,1223,1227,1259,1263,1267,1280,1284,1297,1301,1314,1318,1322,1335,1339,1352,1356,1360,1373,1383,1387,1400,1404,1592,1602],{"type":24,"tag":25,"props":895,"children":896},{},[897],{"type":29,"value":30},{"type":24,"tag":32,"props":899,"children":900},{"id":34},[901],{"type":29,"value":37},{"type":24,"tag":25,"props":903,"children":904},{},[905],{"type":29,"value":42},{"type":24,"tag":25,"props":907,"children":908},{},[909,910,915],{"type":29,"value":47},{"type":24,"tag":49,"props":911,"children":913},{"className":912},[],[914],{"type":29,"value":54},{"type":29,"value":56},{"type":24,"tag":58,"props":917,"children":918},{"className":60,"code":61,"language":5,"meta":7,"style":7},[919],{"type":24,"tag":49,"props":920,"children":921},{"__ignoreMap":7},[922,929],{"type":24,"tag":67,"props":923,"children":924},{"class":69,"line":70},[925],{"type":24,"tag":67,"props":926,"children":927},{},[928],{"type":29,"value":76},{"type":24,"tag":67,"props":930,"children":931},{"class":69,"line":79},[932],{"type":24,"tag":67,"props":933,"children":934},{},[935],{"type":29,"value":85},{"type":24,"tag":32,"props":937,"children":938},{"id":88},[939],{"type":29,"value":91},{"type":24,"tag":25,"props":941,"children":942},{},[943,948],{"type":24,"tag":49,"props":944,"children":946},{"className":945},[],[947],{"type":29,"value":15},{"type":29,"value":101},{"type":24,"tag":58,"props":950,"children":951},{"className":60,"code":104,"language":5,"meta":7,"style":7},[952],{"type":24,"tag":49,"props":953,"children":954},{"__ignoreMap":7},[955],{"type":24,"tag":67,"props":956,"children":957},{"class":69,"line":70},[958],{"type":24,"tag":67,"props":959,"children":960},{},[961],{"type":29,"value":104},{"type":24,"tag":25,"props":963,"children":964},{},[965,969],{"type":24,"tag":120,"props":966,"children":967},{},[968],{"type":29,"value":124},{"type":29,"value":126},{"type":24,"tag":58,"props":971,"children":972},{"className":60,"code":129,"language":5,"meta":7,"style":7},[973],{"type":24,"tag":49,"props":974,"children":975},{"__ignoreMap":7},[976],{"type":24,"tag":67,"props":977,"children":978},{"class":69,"line":70},[979],{"type":24,"tag":67,"props":980,"children":981},{},[982],{"type":29,"value":129},{"type":24,"tag":25,"props":984,"children":985},{},[986,987,992,993,998],{"type":29,"value":145},{"type":24,"tag":49,"props":988,"children":990},{"className":989},[],[991],{"type":29,"value":151},{"type":29,"value":153},{"type":24,"tag":49,"props":994,"children":996},{"className":995},[],[997],{"type":29,"value":159},{"type":29,"value":161},{"type":24,"tag":163,"props":1000,"children":1001},{"id":165},[1002],{"type":29,"value":168},{"type":24,"tag":25,"props":1004,"children":1005},{},[1006,1010],{"type":24,"tag":120,"props":1007,"children":1008},{},[1009],{"type":29,"value":176},{"type":29,"value":178},{"type":24,"tag":58,"props":1012,"children":1013},{"className":60,"code":181,"language":5,"meta":7,"style":7},[1014],{"type":24,"tag":49,"props":1015,"children":1016},{"__ignoreMap":7},[1017],{"type":24,"tag":67,"props":1018,"children":1019},{"class":69,"line":70},[1020],{"type":24,"tag":67,"props":1021,"children":1022},{},[1023],{"type":29,"value":181},{"type":24,"tag":25,"props":1025,"children":1026},{},[1027,1031],{"type":24,"tag":120,"props":1028,"children":1029},{},[1030],{"type":29,"value":200},{"type":29,"value":202},{"type":24,"tag":58,"props":1033,"children":1034},{"className":60,"code":205,"language":5,"meta":7,"style":7},[1035],{"type":24,"tag":49,"props":1036,"children":1037},{"__ignoreMap":7},[1038],{"type":24,"tag":67,"props":1039,"children":1040},{"class":69,"line":70},[1041],{"type":24,"tag":67,"props":1042,"children":1043},{},[1044],{"type":29,"value":205},{"type":24,"tag":163,"props":1046,"children":1047},{"id":219},[1048],{"type":29,"value":222},{"type":24,"tag":25,"props":1050,"children":1051},{},[1052],{"type":29,"value":227},{"type":24,"tag":58,"props":1054,"children":1055},{"className":60,"code":230,"language":5,"meta":7,"style":7},[1056],{"type":24,"tag":49,"props":1057,"children":1058},{"__ignoreMap":7},[1059],{"type":24,"tag":67,"props":1060,"children":1061},{"class":69,"line":70},[1062],{"type":24,"tag":67,"props":1063,"children":1064},{},[1065],{"type":29,"value":230},{"type":24,"tag":25,"props":1067,"children":1068},{},[1069,1070,1075,1076,1081],{"type":29,"value":145},{"type":24,"tag":49,"props":1071,"children":1073},{"className":1072},[],[1074],{"type":29,"value":251},{"type":29,"value":253},{"type":24,"tag":49,"props":1077,"children":1079},{"className":1078},[],[1080],{"type":29,"value":259},{"type":29,"value":261},{"type":24,"tag":32,"props":1083,"children":1084},{"id":264},[1085],{"type":29,"value":267},{"type":24,"tag":58,"props":1087,"children":1088},{"className":60,"code":270,"language":5,"meta":7,"style":7},[1089],{"type":24,"tag":49,"props":1090,"children":1091},{"__ignoreMap":7},[1092],{"type":24,"tag":67,"props":1093,"children":1094},{"class":69,"line":70},[1095],{"type":24,"tag":67,"props":1096,"children":1097},{},[1098],{"type":29,"value":270},{"type":24,"tag":25,"props":1100,"children":1101},{},[1102],{"type":29,"value":286},{"type":24,"tag":58,"props":1104,"children":1105},{"className":60,"code":289,"language":5,"meta":7,"style":7},[1106],{"type":24,"tag":49,"props":1107,"children":1108},{"__ignoreMap":7},[1109],{"type":24,"tag":67,"props":1110,"children":1111},{"class":69,"line":70},[1112],{"type":24,"tag":67,"props":1113,"children":1114},{},[1115],{"type":29,"value":289},{"type":24,"tag":25,"props":1117,"children":1118},{},[1119],{"type":29,"value":305},{"type":24,"tag":58,"props":1121,"children":1122},{"className":60,"code":308,"language":5,"meta":7,"style":7},[1123],{"type":24,"tag":49,"props":1124,"children":1125},{"__ignoreMap":7},[1126],{"type":24,"tag":67,"props":1127,"children":1128},{"class":69,"line":70},[1129],{"type":24,"tag":67,"props":1130,"children":1131},{},[1132],{"type":29,"value":308},{"type":24,"tag":163,"props":1134,"children":1135},{"id":322},[1136],{"type":29,"value":325},{"type":24,"tag":25,"props":1138,"children":1139},{},[1140,1145],{"type":24,"tag":49,"props":1141,"children":1143},{"className":1142},[],[1144],{"type":29,"value":334},{"type":29,"value":336},{"type":24,"tag":58,"props":1147,"children":1148},{"className":60,"code":339,"language":5,"meta":7,"style":7},[1149],{"type":24,"tag":49,"props":1150,"children":1151},{"__ignoreMap":7},[1152],{"type":24,"tag":67,"props":1153,"children":1154},{"class":69,"line":70},[1155],{"type":24,"tag":67,"props":1156,"children":1157},{},[1158],{"type":29,"value":339},{"type":24,"tag":25,"props":1160,"children":1161},{},[1162],{"type":29,"value":355},{"type":24,"tag":32,"props":1164,"children":1165},{"id":358},[1166],{"type":29,"value":361},{"type":24,"tag":58,"props":1168,"children":1169},{"className":60,"code":364,"language":5,"meta":7,"style":7},[1170],{"type":24,"tag":49,"props":1171,"children":1172},{"__ignoreMap":7},[1173],{"type":24,"tag":67,"props":1174,"children":1175},{"class":69,"line":70},[1176],{"type":24,"tag":67,"props":1177,"children":1178},{},[1179],{"type":29,"value":364},{"type":24,"tag":25,"props":1181,"children":1182},{},[1183],{"type":29,"value":380},{"type":24,"tag":58,"props":1185,"children":1186},{"className":60,"code":383,"language":5,"meta":7,"style":7},[1187],{"type":24,"tag":49,"props":1188,"children":1189},{"__ignoreMap":7},[1190],{"type":24,"tag":67,"props":1191,"children":1192},{"class":69,"line":70},[1193],{"type":24,"tag":67,"props":1194,"children":1195},{},[1196],{"type":29,"value":383},{"type":24,"tag":25,"props":1198,"children":1199},{},[1200,1201,1205],{"type":29,"value":399},{"type":24,"tag":120,"props":1202,"children":1203},{},[1204],{"type":29,"value":404},{"type":29,"value":406},{"type":24,"tag":58,"props":1207,"children":1208},{"className":60,"code":409,"language":5,"meta":7,"style":7},[1209],{"type":24,"tag":49,"props":1210,"children":1211},{"__ignoreMap":7},[1212],{"type":24,"tag":67,"props":1213,"children":1214},{"class":69,"line":70},[1215],{"type":24,"tag":67,"props":1216,"children":1217},{},[1218],{"type":29,"value":409},{"type":24,"tag":163,"props":1220,"children":1221},{"id":423},[1222],{"type":29,"value":426},{"type":24,"tag":25,"props":1224,"children":1225},{},[1226],{"type":29,"value":431},{"type":24,"tag":433,"props":1228,"children":1229},{},[1230,1246,1250],{"type":24,"tag":437,"props":1231,"children":1232},{},[1233,1234,1239,1240,1245],{"type":29,"value":441},{"type":24,"tag":49,"props":1235,"children":1237},{"className":1236},[],[1238],{"type":29,"value":447},{"type":29,"value":449},{"type":24,"tag":49,"props":1241,"children":1243},{"className":1242},[],[1244],{"type":29,"value":455},{"type":29,"value":457},{"type":24,"tag":437,"props":1247,"children":1248},{},[1249],{"type":29,"value":462},{"type":24,"tag":437,"props":1251,"children":1252},{},[1253,1254],{"type":29,"value":467},{"type":24,"tag":49,"props":1255,"children":1257},{"className":1256},[],[1258],{"type":29,"value":473},{"type":24,"tag":25,"props":1260,"children":1261},{},[1262],{"type":29,"value":478},{"type":24,"tag":32,"props":1264,"children":1265},{"id":481},[1266],{"type":29,"value":484},{"type":24,"tag":58,"props":1268,"children":1269},{"className":60,"code":487,"language":5,"meta":7,"style":7},[1270],{"type":24,"tag":49,"props":1271,"children":1272},{"__ignoreMap":7},[1273],{"type":24,"tag":67,"props":1274,"children":1275},{"class":69,"line":70},[1276],{"type":24,"tag":67,"props":1277,"children":1278},{},[1279],{"type":29,"value":487},{"type":24,"tag":25,"props":1281,"children":1282},{},[1283],{"type":29,"value":503},{"type":24,"tag":58,"props":1285,"children":1286},{"className":60,"code":506,"language":5,"meta":7,"style":7},[1287],{"type":24,"tag":49,"props":1288,"children":1289},{"__ignoreMap":7},[1290],{"type":24,"tag":67,"props":1291,"children":1292},{"class":69,"line":70},[1293],{"type":24,"tag":67,"props":1294,"children":1295},{},[1296],{"type":29,"value":506},{"type":24,"tag":25,"props":1298,"children":1299},{},[1300],{"type":29,"value":522},{"type":24,"tag":58,"props":1302,"children":1303},{"className":60,"code":525,"language":5,"meta":7,"style":7},[1304],{"type":24,"tag":49,"props":1305,"children":1306},{"__ignoreMap":7},[1307],{"type":24,"tag":67,"props":1308,"children":1309},{"class":69,"line":70},[1310],{"type":24,"tag":67,"props":1311,"children":1312},{},[1313],{"type":29,"value":525},{"type":24,"tag":163,"props":1315,"children":1316},{"id":539},[1317],{"type":29,"value":542},{"type":24,"tag":25,"props":1319,"children":1320},{},[1321],{"type":29,"value":547},{"type":24,"tag":58,"props":1323,"children":1324},{"className":60,"code":550,"language":5,"meta":7,"style":7},[1325],{"type":24,"tag":49,"props":1326,"children":1327},{"__ignoreMap":7},[1328],{"type":24,"tag":67,"props":1329,"children":1330},{"class":69,"line":70},[1331],{"type":24,"tag":67,"props":1332,"children":1333},{},[1334],{"type":29,"value":550},{"type":24,"tag":25,"props":1336,"children":1337},{},[1338],{"type":29,"value":566},{"type":24,"tag":58,"props":1340,"children":1341},{"className":60,"code":569,"language":5,"meta":7,"style":7},[1342],{"type":24,"tag":49,"props":1343,"children":1344},{"__ignoreMap":7},[1345],{"type":24,"tag":67,"props":1346,"children":1347},{"class":69,"line":70},[1348],{"type":24,"tag":67,"props":1349,"children":1350},{},[1351],{"type":29,"value":569},{"type":24,"tag":32,"props":1353,"children":1354},{"id":583},[1355],{"type":29,"value":586},{"type":24,"tag":25,"props":1357,"children":1358},{},[1359],{"type":29,"value":591},{"type":24,"tag":58,"props":1361,"children":1362},{"className":60,"code":594,"language":5,"meta":7,"style":7},[1363],{"type":24,"tag":49,"props":1364,"children":1365},{"__ignoreMap":7},[1366],{"type":24,"tag":67,"props":1367,"children":1368},{"class":69,"line":70},[1369],{"type":24,"tag":67,"props":1370,"children":1371},{},[1372],{"type":29,"value":594},{"type":24,"tag":25,"props":1374,"children":1375},{},[1376,1377,1382],{"type":29,"value":610},{"type":24,"tag":49,"props":1378,"children":1380},{"className":1379},[],[1381],{"type":29,"value":616},{"type":29,"value":618},{"type":24,"tag":25,"props":1384,"children":1385},{},[1386],{"type":29,"value":623},{"type":24,"tag":58,"props":1388,"children":1389},{"className":60,"code":626,"language":5,"meta":7,"style":7},[1390],{"type":24,"tag":49,"props":1391,"children":1392},{"__ignoreMap":7},[1393],{"type":24,"tag":67,"props":1394,"children":1395},{"class":69,"line":70},[1396],{"type":24,"tag":67,"props":1397,"children":1398},{},[1399],{"type":29,"value":626},{"type":24,"tag":32,"props":1401,"children":1402},{"id":640},[1403],{"type":29,"value":643},{"type":24,"tag":645,"props":1405,"children":1406},{},[1407,1433],{"type":24,"tag":649,"props":1408,"children":1409},{},[1410],{"type":24,"tag":653,"props":1411,"children":1412},{},[1413,1417,1421,1425,1429],{"type":24,"tag":657,"props":1414,"children":1415},{"align":659},[1416],{"type":29,"value":662},{"type":24,"tag":657,"props":1418,"children":1419},{"align":659},[1420],{"type":29,"value":19},{"type":24,"tag":657,"props":1422,"children":1423},{"align":659},[1424],{"type":29,"value":671},{"type":24,"tag":657,"props":1426,"children":1427},{"align":659},[1428],{"type":29,"value":676},{"type":24,"tag":657,"props":1430,"children":1431},{"align":659},[1432],{"type":29,"value":681},{"type":24,"tag":683,"props":1434,"children":1435},{},[1436,1462,1488,1514,1540,1566],{"type":24,"tag":653,"props":1437,"children":1438},{},[1439,1446,1450,1454,1458],{"type":24,"tag":690,"props":1440,"children":1441},{"align":659},[1442],{"type":24,"tag":120,"props":1443,"children":1444},{},[1445],{"type":29,"value":15},{"type":24,"tag":690,"props":1447,"children":1448},{"align":659},[1449],{"type":29,"value":701},{"type":24,"tag":690,"props":1451,"children":1452},{"align":659},[1453],{"type":29,"value":701},{"type":24,"tag":690,"props":1455,"children":1456},{"align":659},[1457],{"type":29,"value":710},{"type":24,"tag":690,"props":1459,"children":1460},{"align":659},[1461],{"type":29,"value":701},{"type":24,"tag":653,"props":1463,"children":1464},{},[1465,1472,1476,1480,1484],{"type":24,"tag":690,"props":1466,"children":1467},{"align":659},[1468],{"type":24,"tag":120,"props":1469,"children":1470},{},[1471],{"type":29,"value":16},{"type":24,"tag":690,"props":1473,"children":1474},{"align":659},[1475],{"type":29,"value":701},{"type":24,"tag":690,"props":1477,"children":1478},{"align":659},[1479],{"type":29,"value":701},{"type":24,"tag":690,"props":1481,"children":1482},{"align":659},[1483],{"type":29,"value":710},{"type":24,"tag":690,"props":1485,"children":1486},{"align":659},[1487],{"type":29,"value":701},{"type":24,"tag":653,"props":1489,"children":1490},{},[1491,1498,1502,1506,1510],{"type":24,"tag":690,"props":1492,"children":1493},{"align":659},[1494],{"type":24,"tag":120,"props":1495,"children":1496},{},[1497],{"type":29,"value":17},{"type":24,"tag":690,"props":1499,"children":1500},{"align":659},[1501],{"type":29,"value":701},{"type":24,"tag":690,"props":1503,"children":1504},{"align":659},[1505],{"type":29,"value":701},{"type":24,"tag":690,"props":1507,"children":1508},{"align":659},[1509],{"type":29,"value":710},{"type":24,"tag":690,"props":1511,"children":1512},{"align":659},[1513],{"type":29,"value":701},{"type":24,"tag":653,"props":1515,"children":1516},{},[1517,1524,1528,1532,1536],{"type":24,"tag":690,"props":1518,"children":1519},{"align":659},[1520],{"type":24,"tag":120,"props":1521,"children":1522},{},[1523],{"type":29,"value":18},{"type":24,"tag":690,"props":1525,"children":1526},{"align":659},[1527],{"type":29,"value":701},{"type":24,"tag":690,"props":1529,"children":1530},{"align":659},[1531],{"type":29,"value":701},{"type":24,"tag":690,"props":1533,"children":1534},{"align":659},[1535],{"type":29,"value":710},{"type":24,"tag":690,"props":1537,"children":1538},{"align":659},[1539],{"type":29,"value":701},{"type":24,"tag":653,"props":1541,"children":1542},{},[1543,1550,1554,1558,1562],{"type":24,"tag":690,"props":1544,"children":1545},{"align":659},[1546],{"type":24,"tag":120,"props":1547,"children":1548},{},[1549],{"type":29,"value":616},{"type":24,"tag":690,"props":1551,"children":1552},{"align":659},[1553],{"type":29,"value":701},{"type":24,"tag":690,"props":1555,"children":1556},{"align":659},[1557],{"type":29,"value":710},{"type":24,"tag":690,"props":1559,"children":1560},{"align":659},[1561],{"type":29,"value":710},{"type":24,"tag":690,"props":1563,"children":1564},{"align":659},[1565],{"type":29,"value":819},{"type":24,"tag":653,"props":1567,"children":1568},{},[1569,1576,1580,1584,1588],{"type":24,"tag":690,"props":1570,"children":1571},{"align":659},[1572],{"type":24,"tag":120,"props":1573,"children":1574},{},[1575],{"type":29,"value":334},{"type":24,"tag":690,"props":1577,"children":1578},{"align":659},[1579],{"type":29,"value":701},{"type":24,"tag":690,"props":1581,"children":1582},{"align":659},[1583],{"type":29,"value":701},{"type":24,"tag":690,"props":1585,"children":1586},{"align":659},[1587],{"type":29,"value":710},{"type":24,"tag":690,"props":1589,"children":1590},{"align":659},[1591],{"type":29,"value":701},{"type":24,"tag":25,"props":1593,"children":1594},{},[1595,1596,1601],{"type":29,"value":850},{"type":24,"tag":49,"props":1597,"children":1599},{"className":1598},[],[1600],{"type":29,"value":856},{"type":29,"value":858},{"type":24,"tag":860,"props":1603,"children":1604},{},[1605],{"type":29,"value":864},{"title":7,"searchDepth":79,"depth":79,"links":1607},[1608,1609,1613,1616,1619,1622,1623],{"id":34,"depth":79,"text":37},{"id":88,"depth":79,"text":91,"children":1610},[1611,1612],{"id":165,"depth":871,"text":168},{"id":219,"depth":871,"text":222},{"id":264,"depth":79,"text":267,"children":1614},[1615],{"id":322,"depth":871,"text":325},{"id":358,"depth":79,"text":361,"children":1617},[1618],{"id":423,"depth":871,"text":426},{"id":481,"depth":79,"text":484,"children":1620},[1621],{"id":539,"depth":871,"text":542},{"id":583,"depth":79,"text":586},{"id":640,"depth":79,"text":643},1792854428823]