{"id":9032,"date":"2018-07-14T19:02:11","date_gmt":"2018-07-14T17:02:11","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=9032"},"modified":"2018-07-14T19:02:11","modified_gmt":"2018-07-14T17:02:11","slug":"formula-mmult-en-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/es\/blog\/google-sheets-formulas\/mmult-formula-in-google-sheets\/","title":{"rendered":"C\u00f3mo utilizar la f\u00f3rmula MMULT en Google Sheets"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; module_class=&#8221;sheetgo-post&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>Spreadsheets have come a long way since they were first available, thereby making our lives a lot easier. Today they provide us with a myriad of tools and formulas, which will help us with most of our mathematical and statistical calculations. Therefore, it is no surprise that we have<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3094292\" target=\"_blank\" rel=\"noopener noreferrer\">MMULT<\/a><span>\u00a0<\/span>formula in Google Sheets to help us calculate the product of two matrices.<\/p>\n<h3>Syntax<\/h3>\n<p><strong>MMULT(matrix1, matrix2)<\/strong><\/p>\n<ul>\n<li><strong>matrix1<\/strong><span>\u00a0<\/span>\u2013 as the name suggests, it is the first matrix that we can represent as an array or range.<\/li>\n<li><strong>matrix2<\/strong><span>\u00a0<\/span>\u2013 is the second matrix that we can represent as an array or range.<\/li>\n<\/ul>\n<p>Please note that the columns in<span>\u00a0<\/span><strong>matrix1<\/strong><span>\u00a0<\/span>must be equal to the rows in<span>\u00a0<\/span><strong>matrix2<\/strong>. This is a\u00a0rule of standard in any matrix multiplication.<\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Usage: MMULT formula in Google Sheets<\/h3>\n<p>We will certainly need the help of a few practical examples to clearly understand the usage of this formula. So, let\u2019s get our hands dirty in applying this in practice. Please consider the following snapshot. For the purposes of illustration, please consider the values within the range<span>\u00a0<\/span><strong>A2:B4<\/strong><span>\u00a0<\/span>for<span>\u00a0<\/span><strong>matrix1<\/strong>, and the values in the range<span>\u00a0<\/span><strong>A7:C8<\/strong>\u00a0for<span>\u00a0<\/span><strong>matrix2<\/strong>.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/07\/MMULT-formula-Illustration-Frame-1.png&#8221; alt=&#8221;MMULT Google Sheets&#8221; title_text=&#8221;mmult-formula-google-sheets&#8221; _builder_version=&#8221;4.16&#8243; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>We\u2019ve keyed in the first formula within the cell E3. We see that the output data flow from E3 towards the right and then further down. That is because the output of a matrix multiplication is a multidimensional array. So, it is very important that we keep the cells, where we expect the data to flow, clear of any values. Otherwise, the formula returns #REF! error.<\/p>\n<p>In the first example, we used direct arrays using a pair of curly braces. We separated the values into columns and rows using commas and semi-colons respectively.\u00a0In the second example, we used references to the ranges of cells that contain the values we used in the first example. Regardless of the input methods, we essentially used the same input values. That is the reason why we see the exact same output in both the examples.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spreadsheets have come a long way since they were first available, thereby making our lives a lot easier. Today they provide us with a myriad of tools and formulas, which will help us with most of our mathematical and statistical calculations. Therefore, it is no surprise that we have\u00a0MMULT\u00a0formula in Google Sheets to help us [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":9033,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"Spreadsheets have come a long way since they were first available, thereby making our lives a lot easier. Today they provide us with a myriad of tools and formulas, which will help us with most of our mathematical and statistical calculations. Therefore, it is no surprise that we have <a href=\"https:\/\/support.google.com\/docs\/answer\/3094292\" target=\"_blank\" rel=\"noopener noreferrer\">MMULT<\/a> formula in Google Sheets to help us calculate the product of two matrices.\n<h3>Syntax<\/h3>\n<strong>MMULT(matrix1, matrix2)<\/strong>\n<ul>\n \t<li><strong>matrix1<\/strong> - as the name suggests, it is the first matrix that we can represent as an array or range.<\/li>\n \t<li><strong>matrix2<\/strong> - is the second matrix that we can represent as an array or range.<\/li>\n<\/ul>\nPlease note that the columns in <strong>matrix1<\/strong> must be equal to the rows in <strong>matrix2<\/strong>. This is a&nbsp;rule of standard in any matrix multiplication.\n<h3>Usage: MMULT formula in Google Sheets<\/h3>\nWe will certainly need the help of a few practical examples to clearly understand the usage of this formula. So, let's get our hands dirty in applying this in practice. Please consider the following snapshot. For the purposes of illustration, please consider the values within the range <strong>A2:B4<\/strong> for <strong>matrix1<\/strong>, and the values in the range <strong>A7:C8<\/strong>&nbsp;for <strong>matrix2<\/strong>.\n\n<img class=\"aligncenter size-full wp-image-9162\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/07\/MMULT-formula-Illustration-Frame-1.png\" alt=\"MMULT formula in Google Sheets\" width=\"754\" height=\"510\">\n\nWe've keyed in the first formula within the cell E3. We see that the output data flow from E3 towards the right and then further down. That is because the output of a matrix multiplication is a multidimensional array. So, it is very important that we keep the cells, where we expect the data to flow, clear of any values. Otherwise, the formula returns #REF! error.\n\nIn the first example, we used direct arrays using a pair of curly braces. We separated the values into columns and rows using commas and semi-colons respectively.&nbsp;In the second example, we used references to the ranges of cells that contain the values we used in the first example. Regardless of the input methods, we essentially used the same input values. That is the reason why we see the exact same output in both the examples.","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-9032","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/9032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/comments?post=9032"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/9032\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media\/9033"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media?parent=9032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/categories?post=9032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/tags?post=9032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}