{"id":13764,"date":"2020-01-15T09:56:57","date_gmt":"2020-01-15T08:56:57","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=13764"},"modified":"2023-11-30T19:34:14","modified_gmt":"2023-11-30T18:34:14","slug":"randarray-formula-in-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/randarray-formula-in-excel\/","title":{"rendered":"RANDARRAY Formula in Excel"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><em><strong>What does it do?<\/strong><\/em><\/p>\n<p>Creates an array of random numbers<\/p>\n<p><em><strong>Formula breakdown:<\/strong><\/em><\/p>\n<p>=RANDARRAY(<span style=\"color: #0000ff;\">[rows]<\/span>, <span style=\"color: #ff6600;\">[columns]<\/span>)<\/p>\n<p><em><strong>What it means:<\/strong><\/em><\/p>\n<p>=RANDARRAY(<span style=\"color: #0000ff;\">number of rows<\/span>, <span style=\"color: #ff6600;\">number of columns<\/span>)<\/p>\n<hr \/>\n<p>Did you know that you can now generate random numbers in an array? Yes you can! It is definitely possible now with <strong>Excel&#8217;s RANDARRAY Formula<\/strong>. It is a new formula introduced in <strong>Office 365 released in 2018<\/strong>!<\/p>\n<p>It returns random values between 0 and 1 by default.\u00a0I explain how you can do this below:<\/p>\n<div class=\"after-post-box\"><iframe src=\"https:\/\/www.youtube.com\/embed\/wvpbSi1PCUI?rel=0 \" width=\"800\" height=\"400\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><a href=\"https:\/\/www.youtube.com\/c\/MyExcelOnlinecomtutorials?sub_confirmation=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignmiddle wp-image-111468 size-full\" style=\"vertical-align: middle;\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/04\/1.yt_.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">RANDARRAY.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span> We need to <strong>enter the <i>RANDARRAY <\/i>function in a blank cell<\/strong>:<\/p>\n<h2 style=\"text-align: center;\"><span style=\"color: #0000ff;\">=RANDARRAY(<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"RANDARRAY Formula in Excel\"  class=\"size-full wp-image-13768 aligncenter\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-01.png\" alt=\"RANDARRAY Formula in Excel\" width=\"715\" height=\"118\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-01.png 715w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-01-300x50.png 300w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span>\u00a0The <b>RANDARRAY <\/b>arguments:<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_57_1 counter-flat ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li><a href=\"#\" class=\"scroll-to-download\">Free Practice Workbook<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/randarray-formula-in-excel\/#rows\" title=\"[rows]\">[rows]<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/randarray-formula-in-excel\/#columns\" title=\"[columns]\">[columns]<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"rows\"><\/span><span style=\"color: #0000ff;\"><em><strong>[rows]<\/strong><\/em><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>How many rows to fill random values with?<\/strong><\/p>\n<p><em>Let us go for 10 rows.<\/em><\/p>\n<h2 style=\"text-align: center;\">=RANDARRAY(<span style=\"color: #0000ff;\">10,<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"RANDARRAY Formula in Excel\"  class=\"size-full wp-image-13769 aligncenter\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-02.png\" alt=\"RANDARRAY Formula in Excel\" width=\"614\" height=\"78\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-02.png 614w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-02-300x38.png 300w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"columns\"><\/span><span style=\"color: #0000ff;\"><em><strong>[columns]<\/strong><\/em><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>How many columns to fill random values with?<\/strong><\/p>\n<p><em>Let us go for 2 columns.<\/em><\/p>\n<h2 style=\"text-align: center;\">=RANDARRAY(10, <span style=\"color: #0000ff;\">2)<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"RANDARRAY Formula in Excel\"  class=\"size-full wp-image-13770 aligncenter\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-03.png\" alt=\"RANDARRAY Formula in Excel\" width=\"607\" height=\"81\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-03.png 607w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-03-300x40.png 300w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now we have our 10 x 2 area filled with random values between 0 and 1!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"RANDARRAY Formula in Excel\"  class=\"size-full wp-image-13771 aligncenter\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-04.png\" alt=\"RANDARRAY Formula in Excel\" width=\"685\" height=\"458\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-04.png 685w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/12\/RANDARRAY-04-300x201.png 300w\" sizes=\"(max-width: 685px) 100vw, 685px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Use the RANDARRAY Formula in Excel<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/ebooks.myexcelonline.com\/products\/101-most-popular-excel-formulas-e-book\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-10741\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book.png\" alt=\"RANDARRAY Formula\" width=\"1200\" height=\"628\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book.png 1200w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book-300x157.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book-1024x536.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book-768x402.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; What does it do? Creates an array of random numbers Formula breakdown: =RANDARRAY([rows], [columns]) What it means: =RANDARRAY(number of rows, number of columns) Did you know that you can now generate random numbers in an array? Yes you can! It is definitely possible now with Excel&#8217;s RANDARRAY Formula. It is a new formula introduced [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":16948,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[3,15,606],"tags":[142,112,607],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/13764"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=13764"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/13764\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/16948"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=13764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=13764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=13764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}