<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Data Validation Archives - Excel Zoom</title>
	<atom:link href="https://excelzoom.com/tag/data-validation/feed/" rel="self" type="application/rss+xml" />
	<link>https://excelzoom.com/tag/data-validation/</link>
	<description>...because it&#039;s more than just a calculator</description>
	<lastBuildDate>Wed, 04 Oct 2017 18:40:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>

<image>
	<url>https://excelzoom.com/wp-content/uploads/2022/04/favicon.ico</url>
	<title>Data Validation Archives - Excel Zoom</title>
	<link>https://excelzoom.com/tag/data-validation/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>MS Excel Data Validation for Accountants</title>
		<link>https://excelzoom.com/ms-excel-data-validation-accountants/</link>
					<comments>https://excelzoom.com/ms-excel-data-validation-accountants/#comments</comments>
		
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Wed, 04 Oct 2017 18:40:06 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Data Validation]]></category>
		<guid isPermaLink="false">http://excelzoom.com/?p=3147</guid>

					<description><![CDATA[<p>Introduction: Data Validation is meant to ensure that user inputs correct type of information in the cell. The Data Validation can be achieved in the form of “Drop-down Lists” that make sure that user can only choose from a given set of values or using options like input being whole number, a decimal value, a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/ms-excel-data-validation-accountants/">MS Excel Data Validation for Accountants</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><strong>Introduction:</strong></h2>
<p>Data Validation is meant to ensure that user inputs correct type of information in the cell. The Data Validation can be achieved in the form of “Drop-down Lists” that make sure that user can only choose from a given set of values or using options like input being whole number, a decimal value, a date or something defined by a formula.</p>
<p>The data validation menu can be accessed by using the short cut keys <strong>Alt A V</strong> or user can simply click on the data tab – the data validation options are present on the right side of the ribbon:</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-3150" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-9-16-32-PM.png" alt="data_validation_ribbon" width="499" height="161" /></p>
<p>We will explore options with reference to their usage in an accounting environment however this is applicable to any one that wants to implement data validation.</p>
<h2><strong>Example:</strong></h2>
<p>For this tutorial we will be using the following income statement along with few discrete examples where Data Validation Can be applied – this can be found in the companion excel sheet:</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3151" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-9-56-38-PM.png" alt="balance_sheet" width="371" height="320" /></p>
<h2><strong>Options Available with Data Validation:</strong></h2>
<p>There are handfuls of options that are available to us. This includes:</p>
<ol>
<li>Data Validation</li>
<li>Circle invalid data</li>
<li>Clear invalid circle</li>
</ol>
<p><img decoding="async" class="aligncenter size-full wp-image-3152" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-9-30-10-PM.png" alt="validation_options" width="190" height="169" /></p>
<h2><strong>Data Validation:</strong></h2>
<p>In order to get the correct type of input, we use the first option. We use it when we don’t have data and it has to be entered. That is before anything is entered in the sheet. When we choose this first option, Excel shows us further sub option to select from.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3153" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-9-33-05-PM.png" alt="data_validation_any_value" width="426" height="342" /></p>
<p>These options include:</p>
<ol>
<li>Any Value</li>
<li>Whole Number</li>
<li>Decimal Number</li>
<li>List</li>
<li>Date</li>
<li>Time</li>
<li>Text Length</li>
<li>Custom</li>
</ol>
<h3><strong>Any Value:</strong></h3>
<p>This means that anything can be entered in the sheet. It could be text, an integer, a float, date or time or anything else. This option could be used to allow user to enter comments and will show up no error at all in any case.</p>
<h3><strong>Whole Numbers:</strong></h3>
<p><strong> </strong>Whole numbers represents quantities that cannot be divided into smaller units or fractions or simply they don’t have that decimal part in them. Whole numbers are used to represent – for example human being, vehicles, trees, bananas and oranges, books, pen and pencils etc.</p>
<p>When we choose to put whole number as input type – following dialogue box appears asking for maximum and minimum number for the input.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3154" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-16-46-PM.png" alt="whole_numbers" width="416" height="339" /></p>
<p>With reference to our example of income statement, we can set the entire column D to be whole number that is greater than zero and smaller than an amount say 2 times the total sales. When we enter the values: zero for minimum and D3*2 for maximum and press OK.</p>
<p>Now when we try enter value of 12760000 in COGS (by just adding 1 to the left of number) we will get an error.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3155" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-19-23-PM.png" alt="whole_number_error" width="782" height="297" srcset="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-19-23-PM.png 782w, https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-19-23-PM-600x228.png 600w" sizes="(max-width: 782px) 100vw, 782px" /></p>
<p>In this way only numbers that are whole numbers and are less than 2 x sales can be entered.</p>
<h3><strong>Decimal Values:</strong></h3>
<p>Referring to the income statement, we can make user enter only fractions too in the sheet. We can do it for the value of Tax that is already entered as 40% &#8211; because it is actual 40/100 or simply 0.4 we can created a rule where user can only input between 0 and 1. When we select this option following dialogue box is displayed.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3156" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-23-44-PM.png" alt="decimal_values" width="422" height="339" /></p>
<p>Entering a value of 110% will give an error message.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3157" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-24-44-PM.png" alt="decimal_value_error_msg" width="785" height="299" srcset="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-24-44-PM.png 785w, https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-24-44-PM-600x229.png 600w" sizes="(max-width: 785px) 100vw, 785px" /></p>
<h3><strong>Lists:</strong></h3>
<p>When we want to make user select from a given options we go for Lists in data validation. Simply place the options in where in the sheet and refer the range to list. Once we press enter the cell will be showing the drop down to select from:</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3158" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-28-49-PM.png" alt="lists" width="876" height="386" srcset="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-28-49-PM.png 876w, https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-28-49-PM-600x264.png 600w" sizes="(max-width: 876px) 100vw, 876px" /></p>
<h3><strong>Date:</strong></h3>
<p>These options are valuable when are trying to get dates and times in a given range. In the example sheet we have defined a range of date that starts from the 1<sup>st</sup> of Jan 2017 till today – (3<sup>rd</sup> Oct 2017). We can make user to input between these two ranges only.</p>
<p>When we choose this option, the data validation dialogue box appears with following settings:</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3159" src="https://excelzoom.com/wp-content/uploads/2017/10/10-3-2017-10-37-32-PM.png" alt="date_validation" width="590" height="373" /></p>
<p>We have linked the Start Date and End Date to cell C3 and C4 respectively and the data validation it self can be applied to a range of cell (this can be done by selecting first the range of cell and then applying data validation).</p>
<p>Now user can only input values in this range – any date that does not lie in this range will produce an error.</p>
<h3><strong>Time:</strong></h3>
<p>When we try to set the data validation for time, a dialogue box similar to that of  date appear and we can link the cells to the input ranges. When we press ok the data validation is applied.  For example refering to the attach screenshot (below) we have set the limit for time to be from 8:30 AM to 5:00 PM, if we try to input something that is beyond this time bracket – the dialogue box will show an error.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3160" src="https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-9-38-22-PM.png" alt="time_validation" width="560" height="371" /></p>
<h3><strong>Text Length:</strong></h3>
<p>This option allows you to enter the text with limitation on its length. For example we can allow a user to input in a field “Name” with maximum length of 50 characters. Anything beyond 50 characters will produce an error.</p>
<p>When we access the dialogue box we are prompted for following:</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3161" src="https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-9-44-32-PM.png" alt="text_length_validation" width="727" height="377" srcset="https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-9-44-32-PM.png 727w, https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-9-44-32-PM-600x311.png 600w" sizes="(max-width: 727px) 100vw, 727px" /></p>
<h3><strong>Custom Values:</strong></h3>
<p><strong> </strong>we can also set custom values for data validation. For example assume that user is entering assigned a departmental code that is appended to its employee number – FIN-001, other sample codes being ENG-001 (for engineering) and MKT-003 for marketing.</p>
<p>Through custom values we can set the formula for validation: =LEFT(G2,3)=”FIN”</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3162" src="https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-9-52-56-PM.png" alt="custom_validation" width="586" height="379" /></p>
<p>Any ID that is entered with affix other than FIN will generate an error.</p>
<h2><strong>Validation Criteria Options:</strong></h2>
<p>It should be noted that various options for data validation are available within each type of data validation. For example for whole numbers we can select between (two values), not between, equal to, not equal to, greater then and so more. Following is the complete list of options available.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3163" src="https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-9-46-26-PM.png" alt="validation_sub_options" width="190" height="244" /></p>
<p>&nbsp;</p>
<h2><strong>The Input Message Tab:</strong></h2>
<p>This tab can be used to display messages when a user inputs data in the cell with data validation. In the Title range we put the title for the message in the message body. Thus if user is set to input something he is informed beforehand what is expected input.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3164" src="https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-9-55-09-PM.png" alt="input_msg" width="417" height="332" /></p>
<h2><strong>Error Alert:</strong></h2>
<p>An error alert is initiated when we have wrong type of input – but data validation gives us option to customize the error alert message. We can put the custom tittle as well as message in the third tab and as we encounter the error this custom alter message is displayed.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3165" src="https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-9-57-00-PM.png" alt="data_validation_custom_error_alert" width="430" height="348" /></p>
<h2>Circling the Invalid Data:</h2>
<p>We can also check already entered data to confirm if it is of desired type. For example in the follow table of random numbers we may check it for being whole numbers and numeric values.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3166" src="https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-10-20-08-PM.png" alt="random_data_table" width="449" height="200" /></p>
<p>It is clear from the picture that value with green triangle on the left top is non-numeric values. When we apply the data validation the in-correct values are circle.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3167" src="https://excelzoom.com/wp-content/uploads/2017/10/10-4-2017-10-23-09-PM.png" alt="circled_random_data" width="362" height="192" /></p>
<h2>Conclusion:</h2>
<p>The data validation is a very handy tool for accountant. It makes sure that correct type of data is being entered that will ensure correct results from the spreadsheets. Kindly download the companion file from <a href="https://www.dropbox.com/s/qw00pdvynhg57g1/Excel_Zoom_Data%20ValidationBook.xlsx?dl=1">here</a> to see the examples.</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/ms-excel-data-validation-accountants/">MS Excel Data Validation for Accountants</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://excelzoom.com/ms-excel-data-validation-accountants/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Data Validation to Avoid Duplicate Values</title>
		<link>https://excelzoom.com/data-validation-to-avoid-duplicate-values/</link>
					<comments>https://excelzoom.com/data-validation-to-avoid-duplicate-values/#comments</comments>
		
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Sat, 16 May 2009 14:06:45 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Data Validation]]></category>
		<guid isPermaLink="false">http://excelzoom.com/?p=112</guid>

					<description><![CDATA[<p>Suppose you have a spreadsheet where you are entering a list of unique values, such as invoice numbers, customer names, etc. You don&#8217;t want to duplicate any of the data, as this would cause problems down the road, but at the same time the list might be too large for you to manually verify that [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/data-validation-to-avoid-duplicate-values/">Data Validation to Avoid Duplicate Values</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Suppose you have a spreadsheet where you are entering a list of unique values, such as invoice numbers, customer names, etc.  You don&#8217;t want to duplicate any of the data, as this would cause problems down the road, but at the same time the list might be too large for you to manually verify that no duplicate values have been entered.</p>
<p>You can use Data Validation to ensure that no duplicate values can be entered into your list.  If a user accidentally enters a duplicate, an error message will pop-up telling them that they have entered an invalid value.</p>
<p>To do this, follow the steps below.</p>
<ul>
<li>Select the column where you want your list of unique values to appear (for illustration purposes we&#8217;ll assume it is column A).</li>
<li>Click Data | Validation.</li>
<li>On the Data Validation window&#8217;s Settings tab, select Allow: Custom.</li>
<li>In the Formula box, type the following formula: =MATCH(A1,$A:$A,0)=ROW(A1) (if you&#8217;re using this in a different column than column A, change the &#8220;A1&#8221; and &#8220;$A&#8221;&#8216;s in the formula to whichever column you&#8217;re using)</li>
<li>Click OK.</li>
</ul>
<p><br />
Now begin to type your list of unique values.  If you should happen to accidentally enter one twice, you&#8217;ll see the following error message pop-up:</p>
<p><img decoding="async" src="https://excelzoom.com/images/data_validation_error.jpg" alt="Excel Data Validation Error" width="350" height="112" /></p>
<p>You can click &#8220;Retry&#8221; to re-enter a value in the same cell, or &#8220;Cancel&#8221; to delete the duplicate value.</p>
<h3>**UPDATE**</h3>
<p>To have a &#8220;one click&#8221; availability to this tip, use the following macro code.  Again, like the formula above, change the &#8220;A1&#8221; and &#8220;$A&#8221;&#8216;s to whichever column you&#8217;re using.<br />
</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/data-validation-to-avoid-duplicate-values/">Data Validation to Avoid Duplicate Values</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://excelzoom.com/data-validation-to-avoid-duplicate-values/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Drop Down Lists To Create Hyperlinks</title>
		<link>https://excelzoom.com/drop-down-lists-to-create-hyperlinks/</link>
					<comments>https://excelzoom.com/drop-down-lists-to-create-hyperlinks/#comments</comments>
		
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Sat, 16 May 2009 13:37:03 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Data Validation]]></category>
		<category><![CDATA[Name Range]]></category>
		<guid isPermaLink="false">http://excelzoom.com/?p=110</guid>

					<description><![CDATA[<p>As discussed in a previous tip, adding a drop down list to your worksheet allows the users of the worksheet to enter information in a neat, consistent format. The example in the previous tip emphasized the importance of having consistent information when summarizing information in a PivotTable. Another use is to store lists of information, which [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/drop-down-lists-to-create-hyperlinks/">Drop Down Lists To Create Hyperlinks</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>As discussed in a previous <a href="https://excelzoom.com/?p=85" target="_blank">tip</a>, adding a drop down list to your worksheet allows the users of the worksheet to enter information in a neat, consistent format.</p>
<p>The example in the previous tip emphasized the importance of having consistent information when summarizing information in a PivotTable. Another use is to store lists of information, which could be anything, but in this example, I&#8217;m going to use website addresses.</p>
<p>Say you do a lot of research on several different topics, and summarize the results in a different spreadsheet for each topic. You could store all the bookmarks in your web browser, and chances are you already do. The problem with this is that if you&#8217;re only using a handful of bookmarks for one topic out of the many you have saved, you could end up searching through a lot of bookmarks to find the sites you need.</p>
<p>If you instead take the time up front to compile a list of sites you use frequently for a particular topic, you can use data validation to display them in one cell on your spreadsheet with another &#8220;clickable&#8221; cell to open the site in your web browser.<br />
<br />
To do this, follow the steps below.</p>
<ul>
<li>Select the cell where you want your list of websites to appear (for illustration purposes I&#8217;ll assume your list will appear in cell A1).</li>
<li>Click Data | Validation.</li>
<li>On the Data Validation window&#8217;s Settings tab, select Allow: List, and make sure the In-cell dropdown box is checked.</li>
<li>In the Source box, refer to the range of cells in the same worksheet that contains your website list, or refer to a <a href="https://excelzoom.com/?p=77" target="_blank">named range</a> elsewhere in your workbook.</li>
<li>Click OK.</li>
</ul>
<p>When you select cell A1, you should now see the list of websites when you click the arrow to the right of the cell. Now select cell B1. This is where we are going to put some text that becomes &#8220;clickable&#8221;, sort of like a link on a website.</p>
<p>In cell B1, type =HYPERLINK(A1,&#8221;GO&#8221;). Now whenever you change the website in cell A1, using the drop down list, you can click the words &#8220;GO&#8221; in cell B1 go to that site. It&#8217;s like having your own bookmark system in Excel!</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/drop-down-lists-to-create-hyperlinks/">Drop Down Lists To Create Hyperlinks</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://excelzoom.com/drop-down-lists-to-create-hyperlinks/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Drop Down Lists Using Data Validation</title>
		<link>https://excelzoom.com/drop-down-lists-using-data-validation/</link>
					<comments>https://excelzoom.com/drop-down-lists-using-data-validation/#comments</comments>
		
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Sun, 01 Mar 2009 22:27:57 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Data Validation]]></category>
		<guid isPermaLink="false">http://excelzoom.com/?p=85</guid>

					<description><![CDATA[<p>Adding a drop down list to your worksheet allows the users of the worksheet to enter information in a neat, consistent format. For example, say your worksheet asks a user to input information that later will get summarized in a PivotTable. If the user doesn&#8217;t enter the information consistently (i.e. spells out words some of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/drop-down-lists-using-data-validation/">Drop Down Lists Using Data Validation</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Adding a drop down list to your worksheet allows the users of the worksheet to enter information in a neat, consistent format.</p>
<p>For example, say your worksheet asks a user to input information that later will get summarized in a PivotTable. If the user doesn&#8217;t enter the information consistently (i.e. spells out words some of the time, and abbreviates the rest), the information won&#8217;t show correctly in the PivotTable output. Adding the drop down list will limit the number of values a user can enter into a cell, and provide consistency to your worksheet.<br />
<br />
To do this, follow the steps below.</p>
<ul>
<li>Select the cell where you want your custom list to appear (if you want the same list to appear in multiple cells, you can copy the list later).</li>
<li>Click Data | Validation.</li>
<li>On the Data Validation window&#8217;s Settings tab, select Allow: List, and make sure the In-cell dropdown box is checked.</li>
<li>In the Source box, type the items you want in the drop down list separated by a comma. Alternatively, you can refer to a range of cells in the same worksheet that contains your list, or refer to a <a href="https://excelzoom.com/?p=77">named range</a> elsewhere in your workbook.</li>
<li>Click OK.</li>
</ul>
<p>When you select the cell that now contains the data validation, you should see an arrow to the right of the cell. Click the arrow, to display the drop down list.</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/drop-down-lists-using-data-validation/">Drop Down Lists Using Data Validation</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://excelzoom.com/drop-down-lists-using-data-validation/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
