Advance Functions
1
7/12/2019
LEVEL -2
Duration:
Presentation: 2Hr
With demo: 4Hrs
With Practice: 16Hrs
2
7/12/2019
Contents
CDSID: lvishwan
3
7/12/2019
When writing an Excel formula, $ in cell references confuses many users. But the explanation is very simple. The dollar sign in an Excel cell reference serves just one purpose - it tells Excel whether to change or not to change the reference when the formula is copied to other cells.
Cell Reference:
CDSID: lvishwan
4
7/12/2019
Cell Reference:
CDSID: lvishwan
5
7/12/2019
Conditional Formatting:
Conditional formatting in Excel enables you to highlight cells with a certain color, depending on the cell's value.
Conditional formatting quickly highlights important information in a spreadsheet. But sometimes the built-in formatting rules don’t go quite far enough. Adding your own formula to a conditional formatting rule gives it a power boost to help you do things the built-in rules can’t do.
CDSID: lvishwan
6
7/12/2019
Conditional Formatting:
CDSID: lvishwan
7
7/12/2019
Data Validation:
You can use data validation to restrict the type of data or the values that users enter into a cell.
One of the most common data validation uses is to create a drop-down list.
CDSID: lvishwan
8
7/12/2019
Dropdown List:
A drop-down list is an excellent way to give the user an option to select from a pre-defined list.
Ways to create dropdown list
Fixed
dynamic
CDSID: lvishwan
9
7/12/2019
Dropdown List:
CDSID: lvishwan
10
7/12/2019
Dropdown List:
CDSID: lvishwan
11
7/12/2019
Dropdown List:
=OFFSET(reference, rows, cols, [height], [width])
=OFFSET($A$2,0,0,COUNTIF($A$2:$A$100,”<>”))
CDSID: lvishwan
12
7/12/2019
Dropdown List:
To enable this dropdown first have to define the groups
CDSID: lvishwan
13
7/12/2019
Name Manager:
Name manager is use to define groups for dropdown and formulas.
We can create groups manually by creating New or else by selection
For tables, name and values will be created automatically
CDSID: lvishwan
14
7/12/2019
Allow invalid data:
Dropdown allows user to select specified values only. If we want to allow invalid data as exception, we can control it in data validation settings.
If we needs to check invalid dates, we can use circle invalid data
CDSID: lvishwan
15
7/12/2019
Data Validation:
CDSID: lvishwan
16
7/12/2019
Pivot Table/Chart:
Pivot tables are one of Excel's most powerful features. A pivot table allows you to extract the significance from a large, detailed data set.
A PivotTable is a powerful tool to calculate, summarize, and analyze data that lets you see comparisons, patterns, and trends in your data.
CDSID: lvishwan
17
7/12/2019
Pivot Table/Chart:
Creating Pivot Table/Chart:
Select data range
Select report range
CDSID: lvishwan
18
7/12/2019
Pivot Table/Chart:
Value setting:
Select req field
Drag the field
CDSID: lvishwan
19
7/12/2019
Pivot Table/Chart:
Group setting:
CDSID: lvishwan
20
7/12/2019
Pivot Table/Chart:
Multi level/Multi value:
CDSID: lvishwan
21
7/12/2019
Pivot Table/Chart:
Update Table:
Before
After
Change data range
CDSID: lvishwan
22
7/12/2019
Pivot Table/Chart:
Calculated Field:
CDSID: lvishwan
23
7/12/2019
Pivot Table/Chart:
Get Pivot Data:
CDSID: lvishwan
24
7/12/2019
Pivot Table/Chart:
Change Chart type:
CDSID: lvishwan
25
7/12/2019
Pivot Table/Chart:
Add data Labels:
CDSID: lvishwan
26
7/12/2019
Pivot Table/Chart:
CDSID: lvishwan
27
7/12/2019
Types of Pivot Chart
CDSID: lvishwan
28
7/12/2019
Formating of Pivot Chart
CDSID: lvishwan
29
7/12/2019
Share workbook:
By sharing an Excel file, you are giving other users access to the same document and allow them to make edits simultaneously, which saves you the trouble of keeping track of multiple versions.
CDSID: lvishwan
30
7/12/2019
Share workbook:
CDSID: lvishwan
31
7/12/2019
Sheet Protect:
To prevent other users from accidentally or deliberately changing, moving, or deleting data in a worksheet, you can lock the cells on your Excel worksheet and then protect the sheet with a password.
Note: Right-click anywhere in the sheet and select Format Cells and then go to the Protection tab and clear Locked.
CDSID: lvishwan
32
7/12/2019
Workbook Protect:
To prevent other users from viewing hidden worksheets, adding, moving, deleting, or hiding worksheets, and renaming worksheets, you can protect the structure of your Excel workbook with a password.
CDSID: lvishwan
33
7/12/2019
Excel File Protect:
To protect workbook from view and modify, while saving the workbook we can use General option by password.
CDSID: lvishwan
34
7/12/2019
Shortcuts:
CDSID: lvishwan
35
7/12/2019
PRE DEFINED FUNCTIONS
CDSID: lvishwan
36
7/12/2019
Functions:
Functions are Predefined operation with simple name.
By default excel contains many functions to perform various operations required for day to day work.
financials, logical, date & time, Maths & Trignometry, etc.
CDSID: lvishwan
37
7/12/2019
Before going on to the live examples, we need to know the basic classification of the functions.
1.Arithmetic ( Eg:add, sub, average,% etc)
2. Comparison (Eg: equal, not equal, greater)
3.String (Eg: uppercase, split,length)
4. Logical (Eg: AND,OR)
5.Conditional (Eg: If, If-else)
6.Date (Eg: week number, month)
CDSID: lvishwan
38
7/12/2019
Before going on to the live examples, we need to know the basic classification of the functions.
1.Arithmetic ( Eg:add, sub, average,% etc)
2. Comparison (Eg: equal, not equal, greater)
3.String (Eg: uppercase, split,length)
4. Logical (Eg: AND,OR)
5.Conditional (Eg: If, If-else)
6.Date (Eg: week number, month)
CDSID: lvishwan
39
7/12/2019
Before going on to the live examples, we need to know the basic classification of the functions.
1.Arithmetic ( Eg:add, sub, average,% etc)
2. Comparison (Eg: equal, not equal, greater)
3.String (Eg: uppercase, split,length)
4. Logical (Eg: AND,OR)
5.Conditional (Eg: If, If-else)
6.Date (Eg: week number, month)
FUNCTION | EXAMPLE | RESULT |
Join | “hello” & “ world“ | “hello world” |
Case change | Upper(“hello”) | “HELLO” |
count | Len(“hello”) | 5 |
Find/Search | Find(“l”,”hello”) | 3 |
replace | SUBSTITUTE(“helo”,“l",“ll") | “hello” |
split | LEFT(“hello",3) | “hel” |
CDSID: lvishwan
40
7/12/2019
Before going on to the live examples, we need to know the basic classification of the functions.
1.Arithmetic ( Eg:add, sub, average,% etc)
2. Comparison (Eg: equal, not equal, greater)
3.String (Eg: uppercase, split,length)
4. Logical (Eg: AND,OR)
5.Conditional (Eg: If, If-else)
6.Date (Eg: week number, month)
CDSID: lvishwan
41
7/12/2019
Before going on to the live examples, we need to know the basic classification of the functions.
1.Arithmetic ( Eg:add, sub, average,% etc)
2.Comparison (Eg: equal, not equal, greater)
3.String (Eg: uppercase, split,length)
4.Logical (Eg: AND,OR)
5.Conditional (Eg: If, If-else)
6.Date (Eg: week number, month)
CDSID: lvishwan
42
7/12/2019
Before going on to the live examples, we need to know the basic classification of the functions.
1.Arithmetic ( Eg:add, sub, average,% etc)
2.Comparison (Eg: equal, not equal, greater)
3.String (Eg: uppercase, split,length)
4.Logical (Eg: AND,OR)
5.Conditional (Eg: If, If-else)
6.Date (Eg: week number, month)
8/9/2019 | =WEEKNUM(B12,1) | 32 |
8/9/2019 | =WEEKDAY(B13,1) | 6 |
8/9/2019 | =TEXT(B3,"dddd") | Tuesday |
8/9/2019 | =MONTH(B15) | 8 |
8/9/2019 | =TEXT(B3,"mmmm") | January |
8/9/2019 | =YEAR(B17) | 2019 |
CDSID: lvishwan
43
7/12/2019
Functions: Example
CDSID: lvishwan
44
7/12/2019
String Functions:
CDSID: lvishwan
45
7/12/2019
LOOKUP
The Excel LOOKUP function performs an approximate match lookup in a one-column or one-row range, and returns the corresponding value from another one-column or one-row range.
LOOKUP's default behavior makes it useful for solving certain problems in Excel.
=LOOKUP (lookup_value, lookup_vector, [result_vector])
Other options:
VLOOKUP
HLOOKUP
MATCH&INDEX
key | value |
key1 | value1 |
key2 | value2 |
key3 | value3 |
key4 | value4 |
key5 | value5 |
key | value |
key4 | |
| |
| |
| |
| |
CDSID: lvishwan
46
7/12/2019
Lookup:
CDSID: lvishwan
47
7/12/2019
Function | Lookup | Vlookup | Hlookup | Match&index |
syntex | =LOOKUP (lookup_value, lookup_vector, [result_vector]) | =VLOOKUP (value, table, col_index, [range_lookup]) | =HLOOKUP (value, table, row_index, [range_lookup]) | =INDEX(range, row_or_column) =MATCH(lookup_value, lookup_range, match_type) |
Col/row | both | Column only | Row only | both |
Match type | Approximate only | both | both | both |
Reference value | Any col/row | First column | First column | Any col/row |
Rating | | | | |
Comparision: