Jump To Content

LearnHub




data Validation

What is Data Validation?

Data validation is a tool that helps you control the kind of information that is entered in your worksheet. With data validation, you can:

  1. Provide users with a list of choices.
  2. Restrict entries to a specific type or size.
  3. Create custom settings
Note: Data validation is not foolproof. It can be circumvented by pasting data into the cell, or by choosing Edit|Clear|ClearAll


Provide a Drop-down List of Options

Use Data Validation to create a dropdown list of options in a cell. List items can be typed in a row or column on a worksheet, or typed directly into the Data Validation dialog box.

1. Create a List of Items

If the list of options is more than a couple of items, it will be easier to maintain if you type the list on a worksheet. The list can be entered on the sheet that will contain the dropdown lists, or on a different sheet. In this example, the list will be stored on a sheet named Lists.

1. In single row or column, type the entries you want to see in the drop-down list. (Note: The list must be in a single block of cells -- e.g. you can use A2:A6, but not A2, A4, A6, A8.)

2. Name the List Range


If you type the items on a worksheet, and name the range, you can refer to the list from any worksheet in the same workbook.

1. Select the cells in the list.
2. Click in the Name box, to the left of the formula bar
3. Type a one-word name for the list, e.g. FruitList.
4. Press the Enter key.

Note: To create a named list that automatically expands to include new items, use a dynamic range.


3. Apply the Data Validation

1. Select the cells in which you want to apply data validation
2. From the Data menu, choose Validation.
3. From the Allow drop-down list, choose List.
4. In the Source box, type an equal sign and the list name, for example: =FruitList
5. Click OK.


Tip: To select a range name, instead of typing it:

1. In the Data Validation dialog box, under Allow, select List
2. Click in the Source box, and on the keyboard, press the F3 key
3. From the Paste Name list, select a named range, and click OK.
4. Click OK, to close the Data Validation dialog box.


4. Using a Delimited List

Instead of referring to a list of items on the worksheet, you can type the list in the Source box, separated by commas. For example:

Yes,No,Maybe

Note: This method of Data Validation is case sensitive -- if a user types YES, an error alert will be displayed.


5. Allow Entries that are not in the List

To allow users to type items that are not in the list., turn off the Error Alert.


6. Protect the List

To protect the list from accidental damage, if you have entered it on a different worksheet, you can hide that sheet.

1. Select the sheet that contains the list
2. Choose Format |
1. Sheet | Hide


  1. kul saidFri, 25 Jul 2008 04:31:17 -0000 ( Link )

    microsoft excel is very useful and Data validation is a tool that helps you control the kind of information that is entered in your worksheet.
    so,this lesson is very beneficial for excel learners.
    thx to this community.

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  2. ashish sharma saidFri, 25 Jul 2008 05:45:03 -0000 ( Link )

    Excel is not only used in Schools,it is also widely in businesses. Excel is used to create budgets forms and to keep track of income and update statistics. with Excel you can perform a wide range of tasks from preparing a simple invoice to creating elaborate (3-d) charts to managing an account ledger for a company. It is also used to perform what if analysis to future business trends.

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  3. mittal08 saidSat, 26 Jul 2008 05:12:42 -0000 ( Link )

    Excel is useful for school very useful for business excel is used to keep the record of Import and export goods,Calculate the salary of employee,Control the data of your sheet,Keepthe record of employee So it is very useful for business

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  4. raman_mks saidTue, 05 Aug 2008 07:17:49 -0000 ( Link )

    microsoft excel is very useful part of microsoft office.with the help of excel you can maintain you data.it is mostly used in businesses and also use for school.in excel you can perform a number of tasks like in excel you can preparing a results of students ,calculate the salary,in excel you can keep the record of students.so excel is very useful in schools and businesses

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  5. ashish sharma saidTue, 05 Aug 2008 10:10:56 -0000 ( Link )

    Sorting Data

    To be effective,data in a worksheet should be ordered and presented be in a predetemined sequence. say you want to identify the top scoring students in your Class.To do this simply sort data in the mark list based on the total sorting is arranging data in an ascending or descending order on the basic of on or more columns.

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  6. raman_mks saidWed, 06 Aug 2008 01:32:26 -0000 ( Link )

    Filtering the data

    filtering is quick and easy way to find and work with a specific sat of data from list.unlike sorting ,filtering does not rearrnge the data ,it temporarily hides rows that you do not want to view
    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

Your Comment
Textile is Enabled (View Reference)