You are on page 1of 12

Data Validation

Alt+DL
Text-to-Column
• Select the cell or column that contains the text you want to split.
• Select Data > Text to Columns.
• In the Convert Text to Columns Wizard, select Delimited > Next.
• Select the Delimiters for your data. For example, Comma and Space.
You can see a preview of your data in the Data preview window.
• Select Next.
• Select the Column data format or use what Excel chose for you.
• Select the Destination, which is where you want the split data to
appear on your worksheet.
• Select Finish.
Text to Columns
Removing Duplicates
• Select the range of cells that has duplicate values you want
to remove.  Remove any outlines or subtotals from your data before
trying to remove duplicates.
• Click Data > Remove Duplicates, and then Under Columns, check or
uncheck the columns where you want to remove the duplicates. ...
• Click OK.
Data Validation
• Data validation is a feature in Excel used to control what a user can enter into a cell.E.g. entering
numbers in between a range
• create a validation rule for
• Any Value : Selecting this option removes any existing data validation.
• Whole Number : The user must enter a whole number.
• Decimal : The user must enter a number.
• Drop Down lists
• Date
• Time
• Text Length
• Custom : Formulae can be entered. E.g. countif(), Istext().
( The ISTEXT function returns TRUE when a value is text and FALSE if not. As a result, all text input will
pass validation, but numbers and formulas will fail validation.)
Data Validation
• Date and time validation in Excel
• To validate dates, select Date in the Allow box, and then pick an appropriate criteria in
the Data box. There are quite a lot of predefined options to choose from: allow only dates
between two dates, equal to, greater than or less than a specific date, and more.
• Similarly, to validate times, select Time in the Allow box, and then define the required criteria.
• Example :
• In many situations, you may want to use today's date as the start date of the allowed date range.
To get the current date, use the TODAY function, and then add the desired number of days to it
to compute the end date.
• For example, to limit the data entry to 6 days from now (7 days including today), we are going to
use the built-in Date rule with the formula-based criteria:
• Start box =Today()
• End Box = Today()+6
• For time =Now()
Data Validation -TIME
Number Formats
Number Format
Number Format
General 0.05
Number 0.05
Percentage 5.00%
Currency ₹0.05
Fraction 5/100
Scientific 5.00E-02

Number Formats affect only numbers ; no effect on text ; see formula bar value does not
change
Fraction format can be changed by ctrl+1 and choose as hundreds
Excel displays the name of the format when a cell is selected.
Number Format
• Number formats tell your spreadsheet exactly what type of data
you're using, such as percentages (%), currency ($), times, dates, and
so on. (can be used from number launcher point /
• General, Percentage, Number etc.
• An excel number format consists of 4 sections of code separated by ;
• E.g. #,##0.00; (#,##0.00);”-”;(Magenta)@

Custom Format

Positive Negative
Zero Text
Numbers Numbers
Excel Formatting rules
• A custom number formats only changes the visual representation ;
the underlying value remains same.
• When a built-in excel format is customized, original format remains
same (cannot be changed or deleted); a copy of original format is
created.

You might also like