{"id":7948,"date":"2024-01-05T19:50:35","date_gmt":"2024-01-05T19:50:35","guid":{"rendered":"https:\/\/www.bizinfograph.com\/resource\/?p=7948"},"modified":"2024-01-28T03:35:35","modified_gmt":"2024-01-28T03:35:35","slug":"how-to-use-mod-function-in-excel","status":"publish","type":"post","link":"https:\/\/www.bizinfograph.com\/resource\/how-to-use-mod-function-in-excel\/","title":{"rendered":"How to use MOD Function in Excel?"},"content":{"rendered":"<p>The MOD Function in Excel is a powerful tool for mathematical operations, especially when dealing with division. This function returns the remainder after a number is divided by a divisor. Ideal for various applications, from financial calculations to data analysis, the MOD Function is simple to use yet highly effective in dealing with repetitive division operations. In this guide, we&#8217;ll explore the basics of using the MOD Function in Excel, providing step-by-step instructions and practical examples to help you master this essential Excel feature. Whether you&#8217;re a beginner or an experienced user, understanding how to effectively utilize the MOD Function can significantly enhance your data handling and analysis capabilities in Excel.<\/p>\n<p><strong>This Content covers:<\/strong><\/p>\n<ol>\n<li><a href=\"#what-is-the-modulus-function?\"><strong>What is the modulus Function?<\/strong><\/a><\/li>\n<li><a href=\"#apply-basic-calculations-using-the-mod-function.\"><strong>Apply Basic Calculations using the MOD function.<\/strong><\/a><\/li>\n<li><a href=\"#how-to-use-the-mod-formula-to-sum-every-nth-row-or-column?\"><strong>How to use the MOD formula to sum every Nth row or column?<\/strong><\/a><\/li>\n<li><a href=\"#apply-concatenate-every-nth-column.\"><strong>Apply Concatenate Every Nth Column.<\/strong><\/a><\/li>\n<li><a href=\"#apply-excel-mod-function---syntax.\"><strong>Apply Excel MOD function &#8211; syntax.<\/strong><\/a><\/li>\n<li><a href=\"#how-to-use-excel-mod-with-data-validation?\"><strong>How to Use Excel MOD with Data Validation?<\/strong><\/a><\/li>\n<\/ol>\n<h2><strong id=\"what-is-the-modulus-function?\">1. What is modulus Function?<\/strong><\/h2>\n<p>The modulus function is used to find the remainder when two numbers are divided. Module functions are represented by the symbol &#8220;%&#8221;. Often used in Excel formulas and calculations to determine what remains after dividing one number by another. The Modulus function is useful in a variety of scenarios, such as when you need to create conditional formatting rules or when you need to calculate periodic patterns in your data. This is a built-in function in MS Excel and is classified as a math\/trigonometric function. You can also use this as a worksheet function in Excel. This means that you can enter the MODULUS function in Excel as\u00a0 part of a formula in a worksheet cell.<\/p>\n<p><strong>\u00a0 \u00a0 3 things you about MOD in Excel <\/strong><\/p>\n<ul>\n<li>The result of the MOD function has the same sign as the divisor. If the divisor is 0, MOD returns the #DIV\/0! error because you cannot divide by zero. If the number MOD is often seen in formulas that deal with &#8220;every nth&#8221; value.<\/li>\n<li>MOD is useful for extracting the time from a date. MOD always returns a result in the same sign as the divisor.<\/li>\n<li>MOD will return a #DIV\/0! error if divisor is zero. To discard the remainder and keep the integer, see the QUOTIENT function.<\/li>\n<\/ul>\n<h2><strong id=\"apply-basic-calculations-using-the-mod-function.\">2. Apply Basic Calculations using the MOD function in Excel.<\/strong><\/h2>\n<p>For Basic Calculations using the MOD function, there are written steps below with an example.<\/p>\n<p><strong>Step 1:<\/strong> Create a data table following with the information below.<\/p>\n<p>Making a table placed with needed information.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-7950\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-1.png\" alt=\"Modulus\" width=\"466\" height=\"226\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-1.png 466w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-1-300x145.png 300w\" sizes=\"(max-width: 466px) 100vw, 466px\" \/><\/p>\n<p><strong>Step 2: <\/strong>Add a column C2:C8 to get the results there and named it Output.<\/p>\n<p>Added a column here.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-7951\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-2.png\" alt=\"Modulus\" width=\"606\" height=\"228\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-2.png 606w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-2-300x113.png 300w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/p>\n<p><strong>Step 3: <\/strong>Here the formula should be placed according to the data. In the below image you can see that, for the first calculation <strong>15 is in A3 and 4 is in B3.<\/strong> So the formula will be: <strong>=MOD(B3,C3).<\/strong><\/p>\n<p>The formula is used in the image below.<\/p>\n<figure id=\"attachment_7952\" aria-describedby=\"caption-attachment-7952\" style=\"width: 636px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"wp-image-7952 size-full\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-3.png\" alt=\"MOD Function \" width=\"636\" height=\"255\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-3.png 636w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-3-300x120.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><figcaption id=\"caption-attachment-7952\" class=\"wp-caption-text\">MOD Function<\/figcaption><\/figure>\n<p><strong>\u00a0Step 4:<\/strong> Now, press Enter and you will get the result as below.<\/p>\n<p>Here is the result. In the example below, you can see that <strong>=MOD(15,4)<\/strong> returns 3 because dividing 15 by 4 gives a remainder of <strong>3.<\/strong><\/p>\n<figure id=\"attachment_7953\" aria-describedby=\"caption-attachment-7953\" style=\"width: 632px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7953 size-full\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-4.png\" alt=\"MOD Function \" width=\"632\" height=\"223\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-4.png 632w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-4-300x106.png 300w\" sizes=\"(max-width: 632px) 100vw, 632px\" \/><figcaption id=\"caption-attachment-7953\" class=\"wp-caption-text\">MOD Function<\/figcaption><\/figure>\n<p><strong>Step 5:<\/strong> Like the way above, use the same formula with changing column number and you will the result. For number 8 and divisor 4, the formula will be<strong>=MOD(B4, C4).<\/strong> You can follow this for the rest of the information.<\/p>\n<p>All the outputs are here. The expression <strong>MOD(8,4) r<\/strong>eturns 0. 8 is divided by 4 with no remainder, and number <strong>100,20<\/strong> is divided by <strong>25<\/strong>and <strong>5<\/strong> with no remainder. Also, 36,13 divided by 8,3 with the remainder of 4,1.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7954\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-5.png\" alt=\"Modulus\" width=\"638\" height=\"231\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-5.png 638w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-5-300x109.png 300w\" sizes=\"(max-width: 638px) 100vw, 638px\" \/><\/p>\n<h2><strong id=\"how-to-use-the-mod-formula-to-sum-every-nth-row-or-column?\">3. How to use the MOD formula to sum every Nth row or column?<\/strong><\/h2>\n<p><strong>Step 1:<\/strong> Here you need to first take some data and make an example.<\/p>\n<p>The below image shows some data about the product name and amount of sales.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7955\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-6.png\" alt=\"Modulus\" width=\"552\" height=\"216\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-6.png 552w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-6-300x117.png 300w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/p>\n<p><strong>Step 2: <\/strong>Add a column to get the results for sales of products there.<\/p>\n<p>Added a column here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7956\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-7.png\" alt=\"Modulus\" width=\"636\" height=\"186\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-7.png 636w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-7-300x88.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<p><strong>Step 3: <\/strong>Now calculate the Sum of odd row in Column E2.<\/p>\n<p>For this the formula will be:<\/p>\n<p><strong>=SUMPRODUCT((MOD(ROW($C$3:$B$8),2) =1)*($C$3:$C$8)) <\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7957\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-8.png\" alt=\"Modulus\" width=\"637\" height=\"163\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-8.png 637w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-8-300x77.png 300w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/p>\n<p><strong>Step 4: <\/strong>Press enter and the result will come out.<\/p>\n<p>Here is the result below after using the formula for ODD rows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7958\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-9.png\" alt=\"Modulus\" width=\"317\" height=\"97\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-9.png 317w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-9-300x92.png 300w\" sizes=\"(max-width: 317px) 100vw, 317px\" \/><\/p>\n<p><strong>Step 5: <\/strong>For the sum of even rows the formula will be:<\/p>\n<p><strong>=SUMPRODUCT((MOD(ROW( $A$3:$A$8),2)=0)*($B$3:$B$8)) <\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7959\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-10.png\" alt=\"Modulus\" width=\"636\" height=\"164\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-10.png 636w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-10-300x77.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<p><strong>Step 6: <\/strong>Press enter and the result will come out.<\/p>\n<p>Here is the result below after using the formula for EVEN rows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7960\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-11.png\" alt=\"Modulus\" width=\"309\" height=\"111\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-11.png 309w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-11-300x108.png 300w\" sizes=\"(max-width: 309px) 100vw, 309px\" \/><\/p>\n<h2><strong id=\"apply-concatenate-every-nth-column.\">4. Apply Concatenate Every Nth Column.<\/strong><\/h2>\n<p>This feature is especially useful when some details of a product span different cells. When you have a long list of products like this, it becomes a difficult task and that&#8217;s where the mod formula comes in.<\/p>\n<p>Here is a list of products within a retail business and it needs to sort the data by product details. These details are already visible in column B under &#8216;Order Details&#8217; and the MOD feature helps you connect these details to create a product ID.<\/p>\n<p><strong>Step 1:<\/strong> First, make some data and put it into excel as shown in the example.<\/p>\n<p>All the data has been placed here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7961\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-12.png\" alt=\"Modulus\" width=\"426\" height=\"281\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-12.png 426w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-12-300x198.png 300w\" sizes=\"(max-width: 426px) 100vw, 426px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Now, add a column C2:C11 to get the result there and name it Product Details(sku).<\/p>\n<p>Column has added.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7962\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-13.png\" alt=\"Modulus \" width=\"636\" height=\"270\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-13.png 636w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-13-300x127.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<p><strong>Step 3:<\/strong> Use a MOD expression using the IF function. The formula will be for this example: <strong>=IF(MOD(ROW()-2,3)=0,CONCATENATE(B3,&#8221;-&#8220;,B4,&#8221;-&#8220;,B5),&#8221;&#8221;)<\/strong><\/p>\n<p>Applied the formula in the below image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7963\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-14.png\" alt=\"Modulus\" width=\"636\" height=\"237\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-14.png 636w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-14-300x112.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<p><strong>Step 4:<\/strong> After using the formula press Enter.<\/p>\n<p>Here is the result below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7964\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-15.png\" alt=\"Modulus\" width=\"639\" height=\"273\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-15.png 639w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-15-300x128.png 300w\" sizes=\"(max-width: 639px) 100vw, 639px\" \/><\/p>\n<p><strong>Step 5:<\/strong> Use the same formula for another two orders.<\/p>\n<p>Order ID: XYZB720048 The formula will be :<\/p>\n<p><strong>=IF(MOD(ROW()-2,3)=0,CONCATENATE(B6,&#8221;-&#8220;, B7,&#8221;-&#8220;, B8),&#8221;&#8221;)<\/strong><\/p>\n<p>Order ID: XYZB720048 The formula will be :<\/p>\n<p><strong>=IF(MOD(ROW()-2, 3)=0,CONCATENATE(B9,&#8221;-&#8220;,B10,&#8221;-&#8220;,B11),&#8221;&#8221;)<\/strong><\/p>\n<p>Here is the final output of all the order.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7965\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-16.png\" alt=\"Modulus\" width=\"636\" height=\"260\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-16.png 636w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-16-300x123.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<h2><strong id=\"apply-excel-mod-function---syntax.\">5. Apply Excel MOD function &#8211; syntax.<\/strong><\/h2>\n<p>The syntax of the MOD function is:<\/p>\n<p><strong>=MOD(number, divider) \u00a0<\/strong>where:<\/p>\n<p>number (required) &#8211; the number to divide.<\/p>\n<p>Divisor (required) \u2013 Number to divide.<\/p>\n<p><strong>Step 1:<\/strong> Create a data table following with the information below.<\/p>\n<p>Making a table placed with needed information.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7966\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-17.png\" alt=\"Modulus\" width=\"546\" height=\"223\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-17.png 546w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-17-300x123.png 300w\" sizes=\"(max-width: 546px) 100vw, 546px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Now, add a column C2:C8 to get the output there.<\/p>\n<p>Column has added.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7967\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-18.png\" alt=\"Modulus\" width=\"636\" height=\"204\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-18.png 636w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-18-300x96.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<p><strong>Step 3:<\/strong> Here the formula should be placed according to the data. In the below image, you can see that, for the first calculation 15 is in A3 and 4 is in B3. Enter the formula then click on the number word then click on column A3 which is 15 and then click on Word divisor from formula, click on B3 which is 4.<\/p>\n<p>So the formula will be: <strong>=MOD(number,divisor).<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7968\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-19.png\" alt=\"Modulus\" width=\"636\" height=\"189\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-19.png 636w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-19-300x89.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<p><strong>Step 4: <\/strong>Here is the output below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7969\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-20.png\" alt=\"Modulus\" width=\"638\" height=\"196\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-20.png 638w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-20-300x92.png 300w\" sizes=\"(max-width: 638px) 100vw, 638px\" \/><\/p>\n<p><strong>Step 5: <\/strong>Now, drag down the excel cursor from here or use the same formula from step 3 as shown below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7970\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-21.png\" alt=\"Modulus\" width=\"637\" height=\"203\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-21.png 637w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-21-300x96.png 300w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/p>\n<p><strong>Step 6: <\/strong>The result are outlined.<\/p>\n<p>Here is the result.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7971\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-22.png\" alt=\"Modulus\" width=\"636\" height=\"210\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-22.png 636w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-22-300x99.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<h2><strong id=\"how-to-use-excel-mod-with-data-validation?\">6. How to Use Excel MOD with Data Validation?<\/strong><\/h2>\n<p><strong>Step 1:<\/strong> Create a data table following with the information below.<\/p>\n<p>Here is the table placed with needed information.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7972\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-23.png\" alt=\"Modulus\" width=\"422\" height=\"199\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-23.png 422w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-23-300x141.png 300w\" sizes=\"(max-width: 422px) 100vw, 422px\" \/><\/p>\n<p><strong>Step 2: <\/strong>Now, select a column to get the output for odd numbers and even numbers there.<\/p>\n<p>Column has added.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7973\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-24.png\" alt=\"Modulus\" width=\"637\" height=\"178\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-24.png 637w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-24-300x84.png 300w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/p>\n<p><strong>Step 3:<\/strong> Allow only odd numbers the formula will be: \u00a0<strong>=MOD(A2,2)=1,<\/strong> For Even numbers:<\/p>\n<p><strong>=MOD(A2,2)=0 <\/strong><\/p>\n<p>Use this formula according to the column. Choose any column as you want and put the formula.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7974\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-25.png\" alt=\"Modulus\" width=\"637\" height=\"168\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-25.png 637w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-25-300x79.png 300w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/p>\n<p><strong>Step 4: <\/strong>Press enter. If the number is odd then it will show the output as true or else False.<\/p>\n<p>Here is the output.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7975\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-26.png\" alt=\"Modulus\" width=\"388\" height=\"96\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-26.png 388w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-26-300x74.png 300w\" sizes=\"(max-width: 388px) 100vw, 388px\" \/><\/p>\n<p>Step 5: Using the even formula for column A7: =MOD(A7,2)=0<\/p>\n<p>and the output is FALSE because 13 is not an even number.<\/p>\n<p>Here is the result.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7976\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-27.png\" alt=\"Modulus\" width=\"380\" height=\"106\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-27.png 380w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2024\/01\/Modulus-27-300x84.png 300w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/><\/p>\n<p>You may be interested:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.bizinfograph.com\/dashboard-templates#Finance\" target=\"_blank\" rel=\"noopener\">Financial Dashboards<\/a><\/li>\n<li><a href=\"https:\/\/www.bizinfograph.com\/dashboard-templates#Sales\" target=\"_blank\" rel=\"noopener\">Sales Dashboards<\/a><\/li>\n<li><a href=\"https:\/\/www.bizinfograph.com\/dashboard-templates#Human-Resource\" target=\"_blank\" rel=\"noopener\">HR Dashboards<\/a><\/li>\n<li><a href=\"https:\/\/www.executiveknowledge.org\/dashboard-templates\/35\" target=\"_blank\" rel=\"noopener\">Data Visualization Charts<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The MOD Function in Excel is a powerful tool for mathematical operations, especially when dealing with division. This function returns the remainder after a number is divided by a divisor. Ideal for various applications, from financial calculations to data analysis, the MOD Function is simple to use yet highly effective in dealing with repetitive division &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.bizinfograph.com\/resource\/how-to-use-mod-function-in-excel\/\"> <span class=\"screen-reader-text\">How to use MOD Function in Excel?<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[884],"tags":[886,885],"class_list":["post-7948","post","type-post","status-publish","format-standard","hentry","category-mod-function-in-excel","tag-mod-function","tag-mod-function-in-excel"],"_links":{"self":[{"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/posts\/7948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/comments?post=7948"}],"version-history":[{"count":5,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/posts\/7948\/revisions"}],"predecessor-version":[{"id":8327,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/posts\/7948\/revisions\/8327"}],"wp:attachment":[{"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/media?parent=7948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/categories?post=7948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/tags?post=7948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}