

{"id":92780,"date":"2021-05-12T09:00:11","date_gmt":"2021-05-12T03:30:11","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=92780"},"modified":"2021-04-30T15:13:45","modified_gmt":"2021-04-30T09:43:45","slug":"data-validation-in-excel","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/","title":{"rendered":"Data Validation in Excel"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">In this tutorial, let&#8217;s discuss what data validation is and how it can be implemented in MS-Excel. Let&#8217;s start!!!<\/span><\/p>\n<h2>What Is Data Validation in Excel?<\/h2>\n<p><span style=\"font-weight: 400;\">Data Validation is one of the features in MS-Excel which helps in maintaining the consistency of the data in the spreadsheet. It controls the type of data that can enter in the data validated cells<\/span><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<h3>Data Validation in MS Excel<\/h3>\n<p>Now, let&#8217;s have a look at how data validation works and how to implement it in the worksheet:<\/p>\n<p>To apply data validation for the cells, then follow the steps.<br \/>\n1: Choose to which all cells the validation of data should work.<\/p>\n<p>2: Click on the DATA tab.<\/p>\n<p>3: Go to the Data Validation option.<\/p>\n<p>4: Choose the drop down option in it and click on the Data Validation.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92841\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation.png\" alt=\"data validation in Excel\" width=\"1222\" height=\"155\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation.png 1222w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation-300x38.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation-1024x130.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation-150x19.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation-768x97.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation-720x91.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation-520x66.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/datavalidation-320x41.png 320w\" sizes=\"auto, (max-width: 1222px) 100vw, 1222px\" \/><\/a><\/p>\n<p>Once you click on the data validation menu from the ribbon, a box appears with the list of data validation criteria, Input message and error message.<\/p>\n<p>Let\u2019s first understand, what is an input message and error message?<\/p>\n<p>Once, the user clicks the cell, the input message appears in a small box near the cell.<br \/>\nIf the user violates the condition of that particular cell, then the error message pops up in a box in the spreadsheet.<\/p>\n<p>The advantage of both the messages is that the input and as well as the error message guide the user about how to fill the cells. Both the messages are customizable also.<\/p>\n<p>Let us have a look at how to set it up and how it works with a sample.<\/p>\n<h3>Setting up the Input message in Excel<\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click on the input message tab in the box.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Fill the title and message as per the requirement and convenience.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Then, press OK button.\u00a0<\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-msg-setup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92842\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-msg-setup.png\" alt=\"input msg setup in excel\" width=\"933\" height=\"708\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-msg-setup.png 933w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-msg-setup-300x228.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-msg-setup-150x114.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-msg-setup-768x583.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-msg-setup-720x546.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-msg-setup-520x395.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-msg-setup-320x243.png 320w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/a><\/p>\n<p>Here, the \u2018info\u2019 is the customised title and \u201cEnter a number between 1 to 10\u201d is the input message in this sample.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-messsage.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92843\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-messsage.png\" alt=\"input message in excel\" width=\"738\" height=\"465\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-messsage.png 738w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-messsage-300x189.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-messsage-150x95.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-messsage-720x454.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-messsage-520x328.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/input-messsage-320x202.png 320w\" sizes=\"auto, (max-width: 738px) 100vw, 738px\" \/><\/a><\/p>\n<p>When you place the cursor on the data validation applied cell, the message will appear in a box as information.<\/p>\n<h3>Setting up the Error message in Excel<\/h3>\n<p><span style=\"font-weight: 400;\">To set up the error message:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click on the error alert.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Choose the style from the drop-down options.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">We have three options here<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Stop<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Warning\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Information\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u00a0This just changes the icon that appears in the box. It sets up the symbol as per the styling.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Write the title and error message as you wanted it to appear.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Then, click OK.<\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-msg-setup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92844\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-msg-setup.png\" alt=\"error msg setup in excel\" width=\"936\" height=\"681\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-msg-setup.png 936w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-msg-setup-300x218.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-msg-setup-150x109.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-msg-setup-768x559.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-msg-setup-720x524.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-msg-setup-520x378.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-msg-setup-320x233.png 320w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/a><\/p>\n<p>In this sample, \u201cRe-check\u201d is the title and \u201cKindly re-check the value you\u2019ve entered\u201d is the Error message here.<br \/>\nOnce you press the ok button, the error alert message will pop up in a box when the user violates the data validation.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92845\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message.png\" alt=\"error message in Excel\" width=\"1182\" height=\"508\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message.png 1182w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message-300x129.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message-1024x440.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message-150x64.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message-768x330.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message-720x309.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message-520x223.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/error-message-320x138.png 320w\" sizes=\"auto, (max-width: 1182px) 100vw, 1182px\" \/><\/a><\/p>\n<p>From the sample, you can see that we have chosen the \u2018stop\u2019 styling. The title appears has the heading of the box and the message appears inside it.<\/p>\n<p>Press retry to make the changes again in the cell.<\/p>\n<p>Press cancel to close the error alert message.<\/p>\n<p>And if you click on help, then it connects to the online excel help.<\/p>\n<p>Now, let\u2019s look at data validation criteria.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92846\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria.png\" alt=\"data validation criteria\" width=\"1014\" height=\"689\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria.png 1014w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-300x204.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-150x102.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-768x522.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-720x489.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-520x353.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-320x217.png 320w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/a><\/p>\n<p>In data validation criteria, we have an allow option with a drop down in it.<\/p>\n<p>This option is where we will choose which type of data fits those cells. There are totally 8 options available in it.<\/p>\n<p>Let&#8217;s look at the function it performs when we choose an option from it.<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Allow Option<\/b><\/td>\n<td><b>Performance<\/b><\/td>\n<td><b>Example<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Any Value<\/span><\/td>\n<td><span style=\"font-weight: 400;\">There are no restrictions for these cells. Enter any value.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Decimal, Data, Whole number..<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Whole Number<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter only whole numbers in these cells.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">10,100,10000, 23<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Decimal<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter only decimal numbers in these cells.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">1.1, 2.3, 5.4<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">List<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter value from the list in these cells.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Picking a value from the list.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you have a list of 3 countries named India, US, UK. You can pick a value only from it.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Date<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter a value in the date format.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">31-3-2021<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Time<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter a value in the time format.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">03:01:00<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Text Length<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter a text between the length allotted in these cells.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">If the text length minimum value is 2 and maximum value is 10, then you have to type a text in between these values\u00a0 like \u2018DataFlair\u2019<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Custom<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Create your own formula<\/span><\/td>\n<td><span style=\"font-weight: 400;\">If the custom is set up like the maximum value is 500 and if you enter 501 in the cell. Then, it pops with the error alert message.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>These are the options that are available for the allow label.<\/p>\n<p>We have another component to consider before proceeding with the data validation and that is the data label in the box. It also has a dropdown box from which you have to pick an option to apply for our cells.<\/p>\n<p>Note: To the option \u2018Any value\u2019 and \u2018Custom\u2019 in the allow label will not require these proceedings. But other options from allow criteria should fill this to apply data validation for the cells.<\/p>\n<p>There is always a maximum and minimum value to be filled in the box. Maximum value is the limit that you have to provide for the cell until which it can accept as maximum in those particular cells. Minimum value is the limit from where the cell can accept the value into the cell.<\/p>\n<p>Before entering into a sample, let&#8217;s look at data options also.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92847\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data.png\" alt=\"validation criteria data in Excel\" width=\"1108\" height=\"756\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data.png 1108w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data-300x205.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data-1024x699.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data-150x102.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data-768x524.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data-720x491.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data-520x355.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/validation-criteria-data-320x218.png 320w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" \/><\/a><\/p>\n<p>Let&#8217;s have a glance at the options available for the data. It contains comparison operators and logical operators in it.<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Data<\/b><\/td>\n<td><b>Minimum<\/b><\/td>\n<td><b>Maximum<\/b><\/td>\n<td><b>Explanation<\/b><\/td>\n<td><b>Example<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Between<\/span><\/td>\n<td><span style=\"font-weight: 400;\">5<\/span><\/td>\n<td><span style=\"font-weight: 400;\">10<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter a value between 5 to 10.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Not between<\/span><\/td>\n<td><span style=\"font-weight: 400;\">5<\/span><\/td>\n<td><span style=\"font-weight: 400;\">10<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter a value that is not between 5 and 10.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">11<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Equal to<\/span><\/td>\n<td><span style=\"font-weight: 400;\">&#8211;<\/span><\/td>\n<td><span style=\"font-weight: 400;\">&#8211;<\/span><\/td>\n<td><span style=\"font-weight: 400;\">You will not have maximum and minimum value for this option. Instead you have to fill a value in the box.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">If you give\u00a0 value =5, then you can enter only 5 in the cells that fall under this criteria.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Not equal to<\/span><\/td>\n<td><span style=\"font-weight: 400;\">&#8211;<\/span><\/td>\n<td><span style=\"font-weight: 400;\">&#8211;<\/span><\/td>\n<td><span style=\"font-weight: 400;\">You will not have maximum and minimum value for this option. Instead you have to fill a value in the box.\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Value = 5.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Then enter any whole number other than 5.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Greater than<\/span><\/td>\n<td><span style=\"font-weight: 400;\">5<\/span><\/td>\n<td><span style=\"font-weight: 400;\">&#8211;<\/span><\/td>\n<td><span style=\"font-weight: 400;\">You will not have a maximum value here because the condition checks whether it satisfies the minimum criteria only.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter a value greater than 5 like 100, 8.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Less than<\/span><\/td>\n<td><span style=\"font-weight: 400;\">&#8211;<\/span><\/td>\n<td><span style=\"font-weight: 400;\">10<\/span><\/td>\n<td><span style=\"font-weight: 400;\">You will not have a minimum value here because the condition checks whether it falls below the maximum value only.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter a value less than 10 like 3, 4, 6.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Greater than or equal to<\/span><\/td>\n<td><span style=\"font-weight: 400;\">5<\/span><\/td>\n<td><span style=\"font-weight: 400;\">&#8211;<\/span><\/td>\n<td><span style=\"font-weight: 400;\">You will not have a maximum value here because the condition checks whether it is greater than or equal to the minimum value.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter a value greater than or equal to 5 like 5, 6.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Less than or equal to<\/span><\/td>\n<td><span style=\"font-weight: 400;\">&#8211;<\/span><\/td>\n<td><span style=\"font-weight: 400;\">10<\/span><\/td>\n<td><span style=\"font-weight: 400;\">You will not have a minimum value here because the condition checks whether it falls below or equal to the maximum value only.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enter a value less than or equal to 10 like 9,10.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">Now, let&#8217;s have a look at the sample to understand data validation clearly.<\/span><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-example.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92848\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-example.png\" alt=\"data validation example in Excel\" width=\"854\" height=\"462\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-example.png 854w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-example-300x162.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-example-150x81.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-example-768x415.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-example-720x390.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-example-520x281.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-example-320x173.png 320w\" sizes=\"auto, (max-width: 854px) 100vw, 854px\" \/><\/a><\/p>\n<p>In this sample, we can see that under any value criteria, we can enter any value as there are no restrictions.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/whole-num-condition.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92849\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/whole-num-condition.png\" alt=\"whole number condition in MS Excel\" width=\"887\" height=\"575\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/whole-num-condition.png 887w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/whole-num-condition-300x194.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/whole-num-condition-150x97.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/whole-num-condition-768x498.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/whole-num-condition-720x467.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/whole-num-condition-520x337.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/whole-num-condition-320x207.png 320w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/a><\/p>\n<p>For the whole numbers, I have set the condition as the value should be between 1 and 10. So, if the user enters a value below or above the condition, then an error alert message pops up.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92970\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01.png\" alt=\"Data Validation in Excel\" width=\"1272\" height=\"428\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01.png 1272w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01-300x101.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01-1024x345.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01-150x50.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01-768x258.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01-720x242.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01-520x175.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/pasted-image-01-320x108.png 320w\" sizes=\"auto, (max-width: 1272px) 100vw, 1272px\" \/><\/a><\/p>\n<p>When I tried to enter a value above 10, then the error alert message popped up.<\/p>\n<p>This is how the data validation works for every criteria.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-sampledecimalsdatetext-length.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92853\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-sampledecimalsdatetext-length.png\" alt=\"data validation sample in Excel\" width=\"801\" height=\"459\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-sampledecimalsdatetext-length.png 801w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-sampledecimalsdatetext-length-300x172.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-sampledecimalsdatetext-length-150x86.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-sampledecimalsdatetext-length-768x440.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-sampledecimalsdatetext-length-720x413.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-sampledecimalsdatetext-length-520x298.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-sampledecimalsdatetext-length-320x183.png 320w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/a><\/p>\n<p>From the sample, we can understand that we have to enter a value that satisfies the condition.<\/p>\n<p>In the sample, for the text length, we have set the minimum and maximum value of the characters. So, when we enter a text, the length of the string should be more than the minimum value but less than the maximum value.<\/p>\n<p><strong>Let&#8217;s look at the List criteria in the data validation<\/strong><\/p>\n<p>List criteria helps the user to pick a value from the source provided. It is also called as dependent lists as the data are dependent on the source.<\/p>\n<p>There are two ways to set up the source. One way to do is:<\/p>\n<p><strong>Typing the drop down list in the source bar.<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92854\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list.png\" alt=\"dropdown list in excel\" width=\"1104\" height=\"554\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list.png 1104w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-300x151.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-1024x514.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-150x75.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-768x385.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-720x361.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-520x261.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-320x161.png 320w\" sizes=\"auto, (max-width: 1104px) 100vw, 1104px\" \/><\/a><\/p>\n<p>1: Click on the data tab. Choose data validation from the ribbon.<\/p>\n<p>2: Once, the data validation box appears, click on the list from the drop down of the allow label.<\/p>\n<p>3: In the source label, we can fill the data that should appear in the list drop down box.<\/p>\n<p><strong>Note<\/strong>: When you wanted to enter more than one value, then separate it with a comma.<\/p>\n<p>4: Then press OK.<\/p>\n<p>After following the steps, we can see a dropdown option in the list validated cells.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92855\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown.png\" alt=\"list dropdown in Excel\" width=\"906\" height=\"607\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown.png 906w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-300x201.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-150x100.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-768x515.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-720x482.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-520x348.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-320x214.png 320w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-272x182.png 272w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/a><\/p>\n<p>The options that we provided in the source are visible here in the drop down list. Hence, the user enters a value one among the list.<\/p>\n<p>This method will suit fine, only until the source options we provide are less or if we have more data that should appear in the list then typing each option in the source is going to be time consuming. So in order to overcome that issue, we have another method to update the list.<\/p>\n<p><strong>The other method is providing the list as the value of the other cells.<\/strong><\/p>\n<p>To do so, follow the steps:<br \/>\n1: Click on the data tab.<\/p>\n<p>2: Once the data validation box appears, click on the list from the drop down of the allow label.<\/p>\n<p>3: In the source label, we can fill it out by entering it as the cell number from where to where.<\/p>\n<p><strong>Note<\/strong>: If we are not sure about the cell number, then we can just drag the cells which all should appear in the drop down.<\/p>\n<p>4: Then, click OK.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92856\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample.png\" alt=\"list dropdown source sample in Excel\" width=\"1636\" height=\"534\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample.png 1636w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample-300x98.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample-1024x334.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample-150x49.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample-768x251.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample-1536x501.png 1536w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample-720x235.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample-520x170.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/list-dropdown-source-sample-320x104.png 320w\" sizes=\"auto, (max-width: 1636px) 100vw, 1636px\" \/><\/a><\/p>\n<p>Let&#8217;s have a look at how this type of list works.<\/p>\n<p>From the sample, we can see that I5 to I14 cells are the source provided to the list.<\/p>\n<p>The advantage of having the source list as the cell numbers is that we can also update the list whenever it&#8217;s required.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92857\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown.png\" alt=\"selection from dropdown in Excel\" width=\"1035\" height=\"624\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown.png 1035w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown-300x181.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown-1024x617.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown-150x90.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown-768x463.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown-720x434.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown-520x314.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/selection-from-dropdown-320x193.png 320w\" sizes=\"auto, (max-width: 1035px) 100vw, 1035px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">The dropdown options are from the cell I5 to I14.<\/span><\/p>\n<h3>Custom Data Validation in Excel<\/h3>\n<p>In this custom data validation, we can set up the formula as per the requirement.<\/p>\n<p>To set up the custom data validation, follow the steps:<\/p>\n<p>1: Go to Data tab and click on the data validation option from the drop down list.<\/p>\n<p>2: Choose the criteria as custom.<\/p>\n<p>3: A box appears with the data asking for the formula, type the formula and press ok.<\/p>\n<p>Let&#8217;s see an example to have a clear understanding of how it works:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92858\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation.png\" alt=\"custom data validation in Excel\" width=\"1498\" height=\"487\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation.png 1498w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation-300x98.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation-1024x333.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation-150x49.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation-768x250.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation-720x234.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation-520x169.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-data-validation-320x104.png 320w\" sizes=\"auto, (max-width: 1498px) 100vw, 1498px\" \/><\/a><\/p>\n<p>In this sample, I have set the formula as \u2018sum($H$1:$H$15)&lt;=30000\u2019 which means if the data exceeds 30000 then the error alert message pops up.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92859\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1.png\" alt=\"custom sample in Excel\" width=\"1137\" height=\"469\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1.png 1137w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1-300x124.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1-1024x422.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1-150x62.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1-768x317.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1-720x297.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1-520x214.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/custom-sample-1-320x132.png 320w\" sizes=\"auto, (max-width: 1137px) 100vw, 1137px\" \/><\/a><\/p>\n<p>When we tried to enter the value more than 30000, the error alert message popped up.<br \/>\nTherefore, the main advantage of custom data validation is that we can set up the formula as per our convenience.<\/p>\n<h3>Circle Invalid Data in Excel<\/h3>\n<p>To circle the invalid data, follow the steps:<\/p>\n<p>1: Enter the dataset.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-sample.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92860\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-sample.png\" alt=\"circle invalid data sample in Excel\" width=\"382\" height=\"307\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-sample.png 382w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-sample-300x241.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-sample-150x121.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-sample-320x257.png 320w\" sizes=\"auto, (max-width: 382px) 100vw, 382px\" \/><\/a><\/p>\n<p>2: Apply the data validation as per the requirement.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalida-criteria.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92861\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalida-criteria.png\" alt=\"circle invalidation criteria in Excel\" width=\"1001\" height=\"590\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalida-criteria.png 1001w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalida-criteria-300x177.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalida-criteria-150x88.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalida-criteria-768x453.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalida-criteria-720x424.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalida-criteria-520x306.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalida-criteria-320x189.png 320w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/a><\/p>\n<p>3: Click on the data tab and choose circle invalid data from the ribbon.<\/p>\n<p>Now, let\u2019s look at a sample:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92862\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn.png\" alt=\"circle invalid data option in Excel\" width=\"1388\" height=\"630\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn.png 1388w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn-300x136.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn-1024x465.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn-150x68.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn-768x349.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn-720x327.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn-520x236.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-optionn-320x145.png 320w\" sizes=\"auto, (max-width: 1388px) 100vw, 1388px\" \/><\/a><\/p>\n<p>For these cells, we have given the condition that only whole numbers between 1 to 25 should be considered as data validated.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92863\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data.png\" alt=\"circle invalid data in Excel\" width=\"759\" height=\"299\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data.png 759w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-300x118.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-150x59.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-720x284.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-520x205.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circle-invalid-data-320x126.png 320w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/a><\/p>\n<p>In the above sample, the cells validate only the whole numbers from 1 to 25. But then, there is a whole number of 234 in the D8 cell. This is an invalid data which does not satisfy the criteria. Hence, when we apply circle invalid data, the invalid data cells are circled.<\/p>\n<h3>Clear Validation Circles in Excel<\/h3>\n<p>When you click on the clear validation circles option, it clears the circle in the spreadsheet.<\/p>\n<p>To apply clear validation circles, follow the steps:<\/p>\n<p>1: Click on the data tab menu.<br \/>\n2: Choose the clear validation circles option from it.<\/p>\n<p>Let&#8217;s have a look at the sample for better understanding:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92864\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles.png\" alt=\"clear validation circles in Excel\" width=\"1378\" height=\"466\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles.png 1378w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles-300x101.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles-1024x346.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles-150x51.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles-768x260.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles-720x243.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles-520x176.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-validation-circles-320x108.png 320w\" sizes=\"auto, (max-width: 1378px) 100vw, 1378px\" \/><\/a><\/p>\n<p>Here, the A5 and A8 cells are invalid as they dont satisfy the criteria. In order to remove the circles from the spreadsheet, click on the clear validation circles.<\/p>\n<p>Once you click on \u201cclear validation circles\u201d, the circles are removed from the spreadsheet.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circles-sample.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92865\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circles-sample.png\" alt=\"circles sample in Excel\" width=\"591\" height=\"298\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circles-sample.png 591w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circles-sample-300x151.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circles-sample-150x76.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circles-sample-520x262.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/circles-sample-320x161.png 320w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">From the sample, we can observe that the circles in the cells are removed.<\/span><\/p>\n<h3>ClearAll in Excel<\/h3>\n<p>When you wanted to remove the data validation on the cells, then click on the \u201cClear All\u201d option from the box.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-all.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92866\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-all.png\" alt=\"clear all in Excel\" width=\"993\" height=\"581\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-all.png 993w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-all-300x176.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-all-150x88.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-all-768x449.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-all-720x421.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-all-520x304.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clear-all-320x187.png 320w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/><\/a><\/p>\n<p>The data validation doesn\u2019t work anymore for those cells.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clearall-sample.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92867\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clearall-sample.png\" alt=\"clear all sample in Excel\" width=\"335\" height=\"263\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clearall-sample.png 335w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clearall-sample-300x236.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clearall-sample-150x118.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/clearall-sample-320x251.png 320w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\" \/><\/a><\/p>\n<p>Hope you see that the text and decimal value are added which means the data validation applied is removed on those cells.<\/p>\n<h3>Checking Data Validated cells in Excel<\/h3>\n<p>In order to know to which all cells, the data validation is being applied, follow the steps:<\/p>\n<p>1: Click on the Find &amp; Select options dropdown.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92868\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select.png\" alt=\"find _ select in Excel\" width=\"1881\" height=\"457\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select.png 1881w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select-300x73.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select-1024x249.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select-150x36.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select-768x187.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select-1536x373.png 1536w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select-720x175.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select-520x126.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/find-_-select-320x78.png 320w\" sizes=\"auto, (max-width: 1881px) 100vw, 1881px\" \/><\/a><\/p>\n<p>2: Choose the Go To option.<\/p>\n<p>3: A box appears and in that click on the special button.<\/p>\n<p>4: Choose the data validation option in the box<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92869\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto.png\" alt=\"data validation from goto in Excel\" width=\"883\" height=\"586\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto.png 883w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto-300x199.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto-150x100.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto-768x510.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto-720x478.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto-520x345.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto-320x212.png 320w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-from-goto-272x182.png 272w\" sizes=\"auto, (max-width: 883px) 100vw, 883px\" \/><\/a><\/p>\n<p>5: Press OK.<\/p>\n<p>From the following above steps, we can know in which all cells the data validation is being applied.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-applied-cells.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92870\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-applied-cells.png\" alt=\"data validation applied cells in Excel\" width=\"437\" height=\"406\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-applied-cells.png 437w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-applied-cells-300x279.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-applied-cells-150x139.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/data-validation-applied-cells-320x297.png 320w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/a><\/p>\n<p>In this, the cells from A2 to A10 are data validated cells.<\/p>\n<h3>Limitation in Data Validation in Excel<\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Data validation helps the user to set the rule for the cells in the spreadsheet.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It helps in controlling the value that enters the cell.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">But if the data which are not validated are replaced on the data validated cells, then the data validation will not be applied since the cells are copied and pasted.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Let&#8217;s have a look at the sample:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92872\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation.png\" alt=\"limitation in Excel\" width=\"907\" height=\"509\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation.png 907w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-300x168.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-150x84.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-768x431.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-720x404.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-520x292.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-320x180.png 320w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/a><\/p>\n<p>From the above image, we can understand that the cells from A3 to A12 allow only decimal values from 1.1 to 999.9.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-sample.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92871\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-sample.png\" alt=\"limitation sample in Excel\" width=\"672\" height=\"350\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-sample.png 672w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-sample-300x156.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-sample-150x78.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-sample-520x271.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/limitation-sample-320x167.png 320w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/a><\/p>\n<p>But when the user copies and pastes the values, the data validation applied didn\u2019t restrict but it accepted the values as such. This means that the data validation doesn&#8217;t work when the cells are copy-pasted.<\/p>\n<h3>Troubleshooting Formulas in Excel<\/h3>\n<p>The formulas that return errors are ignored in data validation. In order to check whether the values that are entered in the cells are as per the requirement of the owner, then we can set up the dummy formulas.<\/p>\n<p>Let&#8217;s see an example to understand this:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92873\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting.png\" alt=\"troubleshooting in Excel\" width=\"346\" height=\"295\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting.png 346w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-300x256.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-150x128.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-320x273.png 320w\" sizes=\"auto, (max-width: 346px) 100vw, 346px\" \/><\/a><\/p>\n<p>In the above sample, the product number is being noted down. The data validation applied here is text length between 4 to 6. But then, the user didn\u2019t mention how many numbers and letters should be there in the string.<\/p>\n<p>In order to check that, let&#8217;s apply a dummy formula.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-sample.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-92874\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-sample.png\" alt=\"troubleshooting sample in Excel\" width=\"597\" height=\"288\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-sample.png 597w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-sample-300x145.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-sample-150x72.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-sample-520x251.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/trouble-shooting-sample-320x154.png 320w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/a><\/p>\n<p>In the above sample, we are checking whether the product number starts with an \u201cA\u201d and the length is 5. If this condition is met, then the formula returns true or else false. Hence, this is how we can test the data validated cells.<\/p>\n<h3>Summary<\/h3>\n<p><span style=\"font-weight: 400;\">Applying data validation to the cells in the spreadsheet will help in validating the cells. <\/span><span style=\"font-weight: 400;\">It helps the user to restrict the type of data that enters the cell in the spreadsheet.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Data validation widely helps in setting up limitations of the entry in the cell.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, let&#8217;s discuss what data validation is and how it can be implemented in MS-Excel. Let&#8217;s start!!! What Is Data Validation in Excel? Data Validation is one of the features in MS-Excel&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":92840,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24129],"tags":[24157,24156,24158,24152,24155,24160,24159,24154,24153],"class_list":["post-92780","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ms-excel","tag-circle-invalid-data-in-excel","tag-clear-validation-circles-in-excel","tag-custom-data-validation-in-excel","tag-data-validation-in-excel","tag-limitation-in-data-validation-in-excel","tag-setting-up-error-message-in-excel","tag-setting-up-input-message-in-excel","tag-troubleshooting-formulas-in-excel","tag-validate-data-in-excel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Data Validation in Excel - DataFlair<\/title>\n<meta name=\"description\" content=\"Data validation is a feature in Excel used to control what a user can enter into a cell. Learn more about it with Examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Data Validation in Excel - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Data validation is a feature in Excel used to control what a user can enter into a cell. Learn more about it with Examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-12T03:30:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/How-Data-Validation-works-in-MS-Excel-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Data Validation in Excel - DataFlair","description":"Data validation is a feature in Excel used to control what a user can enter into a cell. Learn more about it with Examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/","og_locale":"en_US","og_type":"article","og_title":"Data Validation in Excel - DataFlair","og_description":"Data validation is a feature in Excel used to control what a user can enter into a cell. Learn more about it with Examples.","og_url":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-05-12T03:30:11+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/How-Data-Validation-works-in-MS-Excel-1.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"Data Validation in Excel","datePublished":"2021-05-12T03:30:11+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/"},"wordCount":2478,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/How-Data-Validation-works-in-MS-Excel-1.jpg","keywords":["Circle Invalid Data in Excel","Clear Validation Circles in Excel","Custom Data Validation in Excel","Data Validation in Excel","Limitation in Data Validation in Excel","Setting up Error message in Excel","Setting up Input message in Excel","Troubleshooting Formulas in Excel","validate data in excel"],"articleSection":["MS Excel Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/","url":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/","name":"Data Validation in Excel - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/How-Data-Validation-works-in-MS-Excel-1.jpg","datePublished":"2021-05-12T03:30:11+00:00","description":"Data validation is a feature in Excel used to control what a user can enter into a cell. Learn more about it with Examples.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/How-Data-Validation-works-in-MS-Excel-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/04\/How-Data-Validation-works-in-MS-Excel-1.jpg","width":1200,"height":628,"caption":"How Data Validation works in MS Excel"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/data-validation-in-excel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"MS Excel Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/ms-excel\/"},{"@type":"ListItem","position":3,"name":"Data Validation in Excel"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/92780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=92780"}],"version-history":[{"count":4,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/92780\/revisions"}],"predecessor-version":[{"id":92972,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/92780\/revisions\/92972"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/92840"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=92780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=92780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=92780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}