Lecture-6.1-MS-EXCEL-Basic-to-Advanced
Lecture-6.1-MS-EXCEL-Basic-to-Advanced
Advanced
Data Sorting
Sorting in MS Excel
Sorting data in MS Excel re-arranges the rows based on the contents of
a particular column.
For numerical data, Sorting could be done in ascending order or
descending order.
For text data, sorting could be done in alphabetical ascending (A-Z)
order or descending order (Z-A).
Data Validation
Data Validation
MS Excel data validation feature allows you to set up
certain validation rules that what can be entered into a
cell.
Validation Criteria
To specify the type of data allowable in a cell or range, follow the
steps below:
When building formulas manually, you can either type the cell
addresses or you can select them in the worksheet.
The row and column references do not change when you copy the
formula because the reference is to an actual cell address. An
absolute reference uses two dollar signs in its address: one for the
column letter and one for the row number (for example, $A$5).
Drawbacks of Formula
A user defined function called by a formula in a worksheet cell,
cannot change the environment of Microsoft excel. This Means
that, such a function cannot do any of the following:
17
Nested/Multiple IF
▪ Nesting refers to the practice of joining multiple
functions together in one formula.
▪ Syntax : IF(logical_test,[value_if_true],IF(logical_test,
[value_if_true], [value_if_false])
18
Using AND with IF
▪ Use the AND function, one of the logical functions, to
determine if all conditions in a test are TRUE.
▪ Syntax : IF(AND(Something is True, Something else is True),
Value if True, Value if False)
19
Using OR with IF
▪ Use the OR function, one of the logical functions, to determine
if any conditions in a test are TRUE.
▪ Syntax : IF(OR(Something is True, Something else is True),
Value if True, Value if False)
20
Formula Error Messages
Error Value Meaning
#DIV/0 Division by zero
#N/A No value available (Technically, this is not an error.)
#NAME? This error value appears when you incorrectly type the range name, refer to a
deleted range name, or forget to put quotation marks around a text string in
a formula.
#NULL! This error will occur if you insert a space instead of a comma between
ranges used in functions.
#NUM! Problem with a number in the formula. A number too large or too small to be
represented in the worksheet.
#REF! Invalid cell reference
#VALUE! This error is most often the result of specifying a mathematical operation
21 with a cell that contain text.
IFERROR Function
▪ Returns a value you specify if a formula evaluates to an error;
otherwise, returns the result of the formula. Use the IFERROR
function to trap and handle errors in a formula.
▪ Syntax : IFERROR(value, value_if_error)
22
Conditional Formatting