Professional Documents
Culture Documents
Adv Excel
Adv Excel
Adv Excel
AND: The AND function in Excel is a logical function used to check whether all
the specified conditions or logical expressions are true. It returns TRUE if all
the conditions are true, and FALSE if at least one condition is false.
Relative Referencing
Absolute Referencing
Mixed referencing
Types of Referencing
There are three main types of referencing in Excel:
NESTED IF allow you to create more complex logical tests by incorporating multiple
conditions and outcomes within a single formula. With nested IF statements, you
can evaluate different scenarios and return corresponding values based on those
conditions.
Eg: =IF(N7>0,"Unpaid",IF(N7=0,"Paid","Advance"))
Complex Logical Formulas (Contd…)
IFS function in Excel is a powerful logical function that allows you to test multiple
conditions and return different values based on those conditions. It simplifies the
process of handling multiple nested IF statements or combining multiple conditions
within a single formula.
Eg: IFS(N7<=0,"Paid",N7>1000,N7)
IFERROR: The IFERROR function in Excel is a useful function that allows you to
handle errors in formulas by providing an alternative value or action when an error
occurs. It helps you control how Excel handles error situations and prevents error
messages from appearing in your worksheet.
Eg: =@IFERROR(IFS(N7<=0,"Paid",N7>1000,N7),"Value<=1000")
Logical Formulas (SUMIF Function)
The SUMIF function in Excel allows you to calculate the sum of values in a range that meet specific criteria.
It helps you add up numbers based on a given condition or criteria.
The range argument represents the range of cells that you want to evaluate against the
criteria. This range contains the values you want to count.
The criteria argument specifies the condition or criteria that the cells in the range must
meet in order to be included in the count. It can be a number, text, logical expression, or
cell reference.
Charts in Excel are graphical representations of data that allow you to visualize
and analyze information more effectively. Excel provides various types of charts
that can be used to present data in different formats, including bar charts, line
charts, pie charts, scatter plots, and more. Charts in Excel help you identify
trends, patterns, and relationships within your data.
A column chart in Excel is a type of chart that displays data in vertical columns,
with each column representing a different category or series. It is commonly
used to compare values across different categories or to show changes over time.
35000
31000
30000
30000
30000
29000
28000
26000
25000
25000
25000
25000
24000
23000
22000
22000
22000
22000
18000
16000
16000
15000
15000
15000
14000
12000
11000
10000
10000
10000
10000
10000
8000
6000
5000
5000
5000
EXPENSES
Type of Charts – Pie Chart
A pie chart is a circular chart in Excel that represents data as slices of a pie. Each
slice corresponds to a specific category or data series, and the size of each slice
represents the proportion or percentage of the whole.
Interest, 8000
Postage, 25000
Insurance, 10000
Other, 14000
A line chart in Excel is a type of chart that displays data points connected by
lines. It is commonly used to show trends, changes over time, or continuous data
series.
30%
20%
% Change
10% 5%
0%
April May June
-10% -16%
-20%
-30%
Month
Type of Charts – Pareto Chart
A Pareto chart in Excel is a useful tool for visualizing and analyzing data to
identify the most significant factors or categories that contribute to a particular
outcome. It combines a column chart and a line graph to display both the
individual frequencies or counts and the cumulative percentages of each
category.
Type of Charts – Combo Chart
A combo chart in Excel is a type of chart that combines two or more chart types
into a single visualization. It allows you to display different types of data on the
same chart, providing a comprehensive view and facilitating comparisons
between multiple data series.
Combo Chart for Budgeted Vs Actual
70000
60000
60000
50000
50000
40000
4000035000
30000 30000 31000 30000
28000 29000 3000025000
2600023000
24000 25000
20000 2500022000 22000 2500022000
14000 16000 18000 22000
10000 16000 1500010000 15000 11000 15000
8000
10000 12000 10000 10000 50006000 100005000 5000
0
Budgeted Actual
Type of Charts – Scatter Chart
The chart will display the relationship between the two sets of numeric data by
plotting points on the X-Y plane. You can analyze patterns, correlations, or
trends in the data based on the scatter chart visualization.
0%
0 5 10 15 20 25 30 35
Temprature
Data Cleaning techniques
Data Cleaning Techniques
Excel provides several data cleaning techniques that can be applied to
manipulate and clean data. Here are some common data cleaning techniques in
Excel:
Changing Text Case:
1. You can use functions like UPPER, LOWER, or PROPER to change the case
of text in cells.
2. For example, to convert all text in cell A1 to uppercase, you can use the
formula "=UPPER(A1)".
Identifying Error and Blanks
1. Using Home -> Find & Select -> Go to Special Option to identify formula
errors and Blanks in Data (Use Ctrl + Enter to insert New Data in Errors or
Blanks)
Data Cleaning Techniques (Contd..)
Identifying and Removing Duplicates
1. Go to the "Data" tab and click on "Remove Duplicates."
Dividing data from single column
1. Go to the "Data" tab and click on "Text to Columns."
2. Choose the delimiter that separates your data (e.g., comma, space) and
follow the wizard to split the data into columns.
Concatenate function is used to combine multiple strings or cell values into a
single string.
=CONCATENATE(text1, [text2], [text3], ...)
Find and Replace: Go to Home -> Find & Select -> Replace - Find the data and
replace is with what u want.
Data Cleaning Techniques (Contd..)
Substitute function: The SUBSTITUTE function in Excel allows you to
replace specific instances of a text string within a larger text string.
SUBSTITUTE(text, old_text, new_text, [instance_num])
Replace function: The REPLACE function in Excel is used to replace a specified
portion of a text string with new text. It allows you to replace characters or
words at a specific position within the text.
REPLACE(old_text, start_num, num_chars, new_text)
The TRIM function in Excel is used to remove leading and trailing spaces from
a text string
TRIM(text)
Data Cleaning Techniques (Contd..)
The LEFT, RIGHT, and MID functions in Excel are used to extract specific
portions of a text string based on the number of characters or the position
within the string.
The LEFT function extracts a specified number of characters from the left side of a
text string.
LEFT(text, num_chars)
The RIGHT function extracts a specified number of characters from the right side
of a text string.
RIGHT(text, num_chars)
The MID function extracts a specified number of characters from a text string,
starting from a specified position.
MID(text, start_num, num_chars)
Named Ranges
Named Ranges
Named ranges in Excel allow you to assign a name to a specific cell or range
of cells. Instead of referring to cells by their cell references (such as A1, B2,
etc.), you can use a meaningful name to refer to the data. Named ranges
make formulas and functions easier to read and understand, and they also
provide flexibility when working with data.
Go to the "Formulas" tab and click on "Define Name" in the "Defined
Names" group.
LOOKUP functions
VLOOKUP function
VLOOKUP is a powerful Excel function that stands for "vertical lookup." It
allows you to search for a value in the leftmost column of a table and retrieve
a corresponding value from a specified column within the same row.
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
1. lookup_value: This is the value you want to search for in the leftmost column of the
table.
2. table_array: This is the range of cells that represents the table containing the data. The
leftmost column of this range will be used for the lookup.
3. col_index_num: This is the column number within the table_array from which you want
to retrieve the result. It is counted from the leftmost column of the table_array.
4. range_lookup (optional): This parameter determines whether you want an exact match
or an approximate match. If omitted or set to TRUE or 1, an approximate match will be
performed. If set to FALSE or 0, an exact match will be performed.
=VLOOKUP($C15,godown,3,0)
Match function
The MATCH function in Excel is used to find the position of a specified value
within a range or an array. It returns the relative position of the value in the
range, which can be used in conjunction with other functions for further
calculations or lookups. The MATCH function can perform exact or
approximate matches.
MATCH(lookup_value, lookup_array, [match_type])
=MATCH(C$10,inv_header,0)
=VLOOKUP($A11,inventory_list,MATCH(C$10,inv_header,0),0)
INDEX and MATCH functions
The INDEX function returns the value of a cell within an array based on its row
and column numbers. The syntax is as follows:
INDEX(array, row_number, [column_number])
In Excel, INDEX and MATCH are powerful functions that allow you to retrieve
values from a table based on specific criteria. They are often used together to
perform lookups when the VLOOKUP function may not be suitable, such as when
you need to search for data in columns other than the first one.
=INDEX(inventory_list,MATCH($B35,Item,0),MATCH(D$34,inv_header,0))
XLOOKUP function
XLOOKUP is a new and powerful lookup function introduced in Excel 365
XLOOKUP combines the functionalities of lookup functions, such as VLOOKUP,
HLOOKUP, INDEX-MATCH into a single, more versatile function.
=LOOKUP(C14,$K$13:$L$18)
Data Protection
Data Protection
Protect Sheet:
Protecting a sheet in Excel allows you to control what users can do with
the data and elements within that particular sheet. You can prevent
users from making changes to the sheet's content, formatting, and other
elements like cells, rows, columns, and charts.
To protect a sheet
Go to Review > Protect Sheet
Data Protection
"Allow Edit Ranges" is a feature in Excel that allows you to define specific
ranges on a protected sheet where users can make changes while the
rest of the sheet remains protected. It's a way to give selected users or
groups the ability to edit certain cells while maintaining protection for
the rest of the worksheet.
To do so
Go to Review > Allow Edit Ranges
Data Validation
Data Validation
Data validation in Excel is a useful feature that allows you to control the
type and format of data entered into a cell or range of cells. By setting
data validation rules, you can minimize errors and ensure data
consistency in your spreadsheets.
To do so
Select the range of cells to apply validation
Go to Data > Data Validation
Data Validation
The "Data Validation" dialog box will appear.
In the "Settings" tab of the dialog box, you can specify the validation
criteria
Input Message: You can provide a custom message that appears when
the user selects the cell. This message can guide users on what data
to enter.
Error Alert: This allows you to define an error message that appears if
the user enters data that doesn't meet the validation criteria. You can
choose from different error styles (Stop, Warning, Information) and
customize the error message.
Sorting & Filtering
Sorting and Custom sorting
Sorting in Excel is a powerful feature that allows you to organize and
arrange data in ascending or descending order based on specific
criteria.
Go to the "Data" tab in the Excel ribbon.
Click on the "Sort A to Z" to sort in ascending order or "Sort Z to A" to sort
in descending order
Sorting a custom list in Excel allows you to arrange data based on a
specific order you define.
Filtering
Filtering in Excel allows you to display only the data that
meets specific criteria, while temporarily hiding the rest
of the data.
Go to Data > Filter
Advanced Filter provides more sophisticated filtering
options, allowing you to use complex criteria and even
copy the filtered data to another location.
Go to Data Advanced
Conditional Formatting
Conditional Formatting
Conditional Formatting in Excel is a feature that allows you to
automatically apply formatting to cells based on specified
conditions or rules
Go to Home > Conditional Formatting
1. Highlight Cells Rules: Allows to apply Greater Than, Less Than,
Between, Equal To, Duplicate Values etc… rules
2. Top/Bottom Rules: With this option, you can highlight the top
or bottom values in a range.
3. Data Bars are a visual representation of the values in a range
of cells using colored bars. The length of each data bar is
proportional to the value it represents, making it easy to
compare values at a glance.
4. Icon Sets apply icons (e.g., arrows, symbols) to cells based on
predefined conditions.
Consolidate feature
Consolidate Feature
Pivot Tables are a powerful feature in Microsoft Excel that allow you to
summarize, analyze, and manipulate large datasets quickly and
efficiently. They are especially useful when you have a lot of data and
want to gain insights, perform calculations, and create visualizations
without writing complex formulas.
The Pivot Table Field List will appear on the right side of the Excel
window. Here, you can design your Pivot Table by dragging fields into
different areas:
Drag the fields from your data into the "Rows" area to use them as row
labels in your Pivot Table.
Drag fields into the "Columns" area to use them as column labels.
Drag fields into the "Values" area to perform calculations, such as
sum, average, count, etc., on the data.
Drag fields into the “Filter" area to use them as Filter
Pivot Chart
Power Pivot is a powerful data analysis tool in Microsoft Excel that allows
you to create data models, perform advanced calculations, and analyze
large datasets. Power Pivot comes as a Add-in. To enable Power Pivot
1. Add the tables to Data Model by clicking on Power Pivot > Add to Data
Model
2. Go to Diagram View and then drag and drop common field from one
table to another to create a relationship.
3. Click on Pivot table to create a Pivot table from multiple tables
Power Query
Power Query
To record a Macro
Go to Developer > Record Macro
What-if Analysis
What-if Analysis
Goal Seek: Goal Seek is used to find the input value needed to achieve
a specific result.
Scenario Manager: The Scenario Manager lets you define different
scenarios with varying input values
Data Table: Data tables allow you to create a table of results by
varying one or two input variables.
Solver: Solver is a more advanced tool that allows you to optimize a
formula's result by changing multiple input variables while adhering to
certain constraints
Forecast
$266.19
$265.74
$265.29
The Forecast Sheet feature in Excel is a tool that allows you to create
$264.84
$264.38
$263.93
$263.48
$263.03
$262.58
$262.12
$261.67
$261.22
$260.77
$260.32
Upper Confidence Bound
$259.86
$259.41
$258.96
$258.51
$258.06
$257.60
$257.15
$256.70
$256.25
$255.80
$255.34
predictive forecasts based on historical data.
$254.89
$254.44
$253.99
Forecast
Forecast sheet
$258.74
$259.41
$260.07
$260.74
$259.50
$255.59
$258.49
Values
$255.91
$255.89
$255.87
$255.85
$253.25
$249.90
$247.86
$249.07
$247.39
$245.71
$244.03
$242.35
$280.00
$270.00
$260.00
$250.00
$240.00
$230.00
$220.00
Thank you all for attending training and giving
valuable insights.