View Categories

4.18 Data Validation (डेटा वैलिडेशन)

1 min read

Data validation is used to restrict the cell entries within a specified range.
It defines the type of contents that can be entered in that cell.
It provides helpful messages that define the content rules you have set up for the cell and blocks invalid data.

डेटा वैलिडेशन का उपयोग उन प्रविष्टियों को एक सीमित रेंज के अंदर प्रतिबंधित करने के लिए किया जाता है।
यह उस सेल में डाले जाने वाले डेटा के प्रकार को परिभाषित करता है।
यह उपयोगी संदेश प्रदान करता है जो उस सेल के लिए बनाए गए नियमों को दर्शाते हैं और गलत डेटा को रोकता है।

  • Select the column B i.e., Hindi Marks.
  • Go to Data tab → Data Tools group → Data Validation.
  • The Data Validation dialog box appears.
  • By default, the Validation Criteria Allow tab is selected.

(Visible table example)

  • Roll No: 101, 102, 103, 104, 105
  • Column: Hindi Marks
  • Select Whole Numbers option from the Arrow drop-down list. Whole numbers limit the cell data to numbers without fractional components.
  • You will observe that the between option is selected by default in the Data drop-down list. You can also change by clicking the Spin arrows and select the valid range option from the displayed list.
  • In Minimum text box type 33 and Maximum text box type 100.
  • Click on the Input message tab, type Validation in the Title text box and type >=33 and <=100 in Input message text box.
  • Select the Error Alert tab and type “Input is wrong” in Error message box and type “Error” in the Title box.
  • Click OK to close the dialog box.
  • If you try to enter data beyond the specified limit in the selected range, an error message will be displayed. Click on the OK button to enter another value in the cell.
Scroll to Top