{"id":71,"date":"2026-02-24T08:49:49","date_gmt":"2026-02-24T08:49:49","guid":{"rendered":"https:\/\/gigz.pk\/excel\/?post_type=lesson&#038;p=71"},"modified":"2026-03-09T03:48:20","modified_gmt":"2026-03-09T03:48:20","slug":"data-validation","status":"publish","type":"lesson","link":"https:\/\/gigz.pk\/excel\/lesson\/data-validation\/","title":{"rendered":"Data Validation"},"content":{"rendered":"\n<p><strong>Data Validation<\/strong> is a feature that controls what type of data can be entered into a cell.<br>It helps prevent errors and ensures accurate data entry.<\/p>\n\n\n\n<p>It is commonly used for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Creating dropdown lists<\/li>\n\n\n\n<li>Restricting number ranges<\/li>\n\n\n\n<li>Allowing specific dates<\/li>\n\n\n\n<li>Limiting text length<\/li>\n\n\n\n<li>Preventing duplicate entries<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to Apply Data Validation<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Steps:<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select the cell or range<\/li>\n\n\n\n<li>Go to <strong>Data<\/strong> tab<\/li>\n\n\n\n<li>Click <strong>Data Validation<\/strong><\/li>\n\n\n\n<li>Choose validation criteria<\/li>\n\n\n\n<li>Click <strong>OK<\/strong><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Types of Data Validation<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"> Whole Number<\/h3>\n\n\n\n<p>Allow only numbers within a range.<\/p>\n\n\n\n<p>Example: Allow numbers between 1 and 100<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> Decimal<\/h3>\n\n\n\n<p>Restrict decimal numbers within a range.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> List (Dropdown Menu)<\/h3>\n\n\n\n<p>Create a dropdown selection list.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>Ali<br>Sara<br>Ahmed<\/p>\n\n\n\n<p>Steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose <strong>List<\/strong><\/li>\n\n\n\n<li>Select source range or type values separated by commas<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"> Date<\/h3>\n\n\n\n<p>Restrict date between specific dates.<\/p>\n\n\n\n<p>Example:<br>Allow dates between 01-Jan-2026 and 31-Dec-2026<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> Time<\/h3>\n\n\n\n<p>Allow only specific time range.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> Text Length<\/h3>\n\n\n\n<p>Limit number of characters.<\/p>\n\n\n\n<p>Example:<br>Allow maximum 10 characters.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> Custom Formula<\/h3>\n\n\n\n<p>Create advanced validation using formulas.<\/p>\n\n\n\n<p>Example: Prevent duplicate entries<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=COUNTIF(A:A, A1)=1<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Input Message &amp; Error Alert<\/h2>\n\n\n\n<p>You can customize:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Input Message<\/strong> \u2192 Shows instructions when cell is selected<\/li>\n\n\n\n<li><strong>Error Alert<\/strong> \u2192 Shows warning if invalid data is entered<\/li>\n<\/ul>\n\n\n\n<p>Error types:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Stop (Strict)<\/li>\n\n\n\n<li>Warning<\/li>\n\n\n\n<li>Information<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Practical Uses<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Attendance systems<\/li>\n\n\n\n<li>Invoice forms<\/li>\n\n\n\n<li>HR data entry<\/li>\n\n\n\n<li>Student result sheets<\/li>\n\n\n\n<li>Survey forms<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Important Tips<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use dropdown lists to avoid spelling mistakes<\/li>\n\n\n\n<li>Always test validation rules<\/li>\n\n\n\n<li>Protect sheet to prevent rule removal<\/li>\n\n\n\n<li>Combine with conditional formatting for better control<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Why Data Validation is Important<\/h2>\n\n\n\n<p>It improves data accuracy, reduces human error, and makes spreadsheets more professional and user-friendly.<\/p>\n\n\n\n<p>Data Validation is one of the most powerful data control tools in Excel.<\/p>\n\n\n<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/gigz.pk\/excel\/\">Home<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\">Excel Data Management (EDM) > Data Cleaning > Data Validation<\/span><\/span><\/div>\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1773028277164\"><strong class=\"schema-faq-question\"><\/strong> <p class=\"schema-faq-answer\"><\/p> <\/div> <\/div>\n","protected":false},"menu_order":39,"template":"","class_list":["post-71","lesson","type-lesson","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Data Validation - Learn Excel the Right Way.<\/title>\n<meta name=\"description\" content=\"Learn how to use Data Validation in Excel to control data entry, create dropdown lists, and prevent errors in spreadsheets.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gigz.pk\/excel\/lesson\/data-validation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Data Validation - Learn Excel the Right Way.\" \/>\n<meta property=\"og:description\" content=\"Learn how to use Data Validation in Excel to control data entry, create dropdown lists, and prevent errors in spreadsheets.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gigz.pk\/excel\/lesson\/data-validation\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn Excel the Right Way.\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-09T03:48:20+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/data-validation\\\/\",\"url\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/data-validation\\\/\",\"name\":\"Data Validation - Learn Excel the Right Way.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/#website\"},\"datePublished\":\"2026-02-24T08:49:49+00:00\",\"dateModified\":\"2026-03-09T03:48:20+00:00\",\"description\":\"Learn how to use Data Validation in Excel to control data entry, create dropdown lists, and prevent errors in spreadsheets.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/data-validation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/data-validation\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/data-validation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Excel Data Management (EDM) > Data Cleaning > Data Validation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/#website\",\"url\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/\",\"name\":\"Learn Excel the Right Way.\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Data Validation - Learn Excel the Right Way.","description":"Learn how to use Data Validation in Excel to control data entry, create dropdown lists, and prevent errors in spreadsheets.","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:\/\/gigz.pk\/excel\/lesson\/data-validation\/","og_locale":"en_US","og_type":"article","og_title":"Data Validation - Learn Excel the Right Way.","og_description":"Learn how to use Data Validation in Excel to control data entry, create dropdown lists, and prevent errors in spreadsheets.","og_url":"https:\/\/gigz.pk\/excel\/lesson\/data-validation\/","og_site_name":"Learn Excel the Right Way.","article_modified_time":"2026-03-09T03:48:20+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/gigz.pk\/excel\/lesson\/data-validation\/","url":"https:\/\/gigz.pk\/excel\/lesson\/data-validation\/","name":"Data Validation - Learn Excel the Right Way.","isPartOf":{"@id":"https:\/\/gigz.pk\/excel\/#website"},"datePublished":"2026-02-24T08:49:49+00:00","dateModified":"2026-03-09T03:48:20+00:00","description":"Learn how to use Data Validation in Excel to control data entry, create dropdown lists, and prevent errors in spreadsheets.","breadcrumb":{"@id":"https:\/\/gigz.pk\/excel\/lesson\/data-validation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gigz.pk\/excel\/lesson\/data-validation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gigz.pk\/excel\/lesson\/data-validation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gigz.pk\/excel\/"},{"@type":"ListItem","position":2,"name":"Excel Data Management (EDM) > Data Cleaning > Data Validation"}]},{"@type":"WebSite","@id":"https:\/\/gigz.pk\/excel\/#website","url":"https:\/\/gigz.pk\/excel\/","name":"Learn Excel the Right Way.","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gigz.pk\/excel\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/lesson\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/types\/lesson"}],"wp:attachment":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/media?parent=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}