Abhishek Excel
Abhishek Excel
● Data management
● Accounting
● Programming
● Budgeting
● Data entry
● Task management
● Financial accounting
● Data analysis
● Visuals and graphs
● Financial modeling and much more!
1 2
commands. It can be customized with more options by clicking Worksheet or the Working Area
on the arrow of QAT and selecting ‘More Commands’.
● Tabs: Such as ‘Home’, ‘Insert’, etc. contains various commands ● The worksheet is a part of the workbook consisting of multiple
divided into different groups. such sheets. It is a set of rows and columns.
● Groups: Within the tabs are a set of related options called groups. ● The rows are aligned horizontally in the fashion 1, 2, 3, 4 till
They are a set of related commands which are used usually 1048576, and columns are aligned vertically like A, B, C, D up to
XFD.
together to perform a larger task at hand. These are further
separated by vertical lines. ● The end of the sheet can be arrived at quickly by using the ctrl +
right arrow to go to the last column or the ctrl + down arrow to
● Dialog launcher: A small arrow found in the lower-right corner of go to the last row.
each group when pressed, shows more related commands. This ● The multiple rectangle boxes are called cells. Values that can be
has an entire range of options related to those functions. typed into the cells can be numbers, alphabets, and special
● Command button: These contain most used options such as characters.
Insert, Delete, AutoSum, etc. and perform particular actions.
As of now, these are the specifications of the latest version of Excel:
Name Box and Formula Bar
➔ Number of Rows in a Worksheet: 10,48,576
The Name Box and the formula bar are found directly above the excel ➔ Number of columns in a Worksheet: 16,384
working area. Name Box shows the address of the "active cell" which
➔ Total cells in a Worksheet: 17,17,98,69,184
is the selected cell in the worksheet. Or you can type the address of
any cell in the name Box and reach that cell directly.
How to insert a row in excel?
The formula bar is used for editing the content of a cell and it can also
expand to show the multiple lines of the same formula. ● Select a cell and then right-click on the cell which should be
within the row where a new row is to be inserted.
● Select the ‘Insert’ option
3 4
● Select the ‘Entire row’ option.
Selecting multiple cells: In excel, multiple cells are known as a range of
cells which can be selected by following the below steps.
➔ Click on the first cell, hold and then drag the cursor till the last
adjoining cells are reaching the end of the cell range.
➔ Release the cursor, and then the desired range of cells is selected
till you click somewhere else in the sheet.
5 6
Task pane
Navigating in Excel
● To move from one cell to another, you can either use the mouse
and click directly on the cell or use the scroll bars to move
vertically or horizontally. Another way could be to use the arrow
keys to go up, down, left or right.
● Page up and Page down option skips multiple rows together and
helps in quick navigation across rows. For columns, alt can be
Status Bar used additionally. Eg. Alt + Page Up will skip multiple columns
towards the right and Alt + Page Down will go towards the left.
Found below the worksheet area is the status bar which ● Moving from one sheet to another can be done by directly
displays various information about the Excel sheet such as clicking on that sheet or using the arrow keys in case there are
sum, count, and the average of the currently selected cells and too many sheets in the workbook.
is very useful for analysis at a quick glance. It also has the
functionality to display the layout of the sheet or the current
status of the sheet (eg. if the end mode option or scroll lock are
enabled).
7 8
Data Entry and editing ➔ Another way can be to drag the content of another cell on
the cell whose data needs to be edited.
Types of data that can be entered in Excel: numeric, text, or formula. ● Autofill: When there’s a pattern in the data, you can drag the
range of cells and excel can fill in the rest of the series. There’s
also an option to fill only with formatting or fill without
formatting. The flash fill option allows you to combine, or
transform the data based on a few examples.
● Deleting data: Select a particular cell or range of cells and hit the
delete key. Or select the cell, right-click and press the ‘Delete’
option. The formatting applied on the cell is not cleared when
the delete option is used. To clear the formatting, use the ‘Clear’
command button on the right side of the ribbon.
Basic shortcuts:
9 10
Brushing up Excel - II
Topics Covered:
● Paste Special
● Selecting special cells
● Using find and replace to select cells
● Adding comments
● Quick analysis
Paste Special
● Within the Paste special, you will find various options to paste the
data, say you just need to paste values, or formulas, or everything,
Getting the flexibility in pasting data from either a cell, a row, a
with or without borders, as pictures, by transposing it, etc.
column, or a table.
Steps:
● Select the desired cells that have your data.
● Copy the data by either clicking the Copy button on the home
tab or through the “Ctrl+C” shortcut on the keyboard.
● Then click the cell you want to paste data on and go to the home
tab wherein you have to select the arrow next to Paste and
choose Paste Special Option. Alternatively, after pasting data on
the desired cell, you can right-click on the Ctrl icon at the button
right and choose to paste special. Or you can use the shortcut
“Ctrl+Alt+V” or “Alt+ES”
1 2
This is used to select a particular data from the entire range of data
selected. It is used for highlighting or deleting the required cells, i.e.,
narrowing down your search.
Highlighted cells
Select a specific cell with content to find its value and replace it with
another one.
For example: finding a particular person or a particular month of the
year.
● Choose your desired option, for example only text, constants,
blanks, visible data, precedence, dependents only, etc. from it.
Steps:
3 4
● Type what you are looking for and choose “Find All”.
● You will get the cell details of the chosen in either of the 2 cases
5 6
Adding Comments
● This comment can be edited as well as deleted by again
It is added in a cell to give information to the user, like an explanation Right-clicking on the cell having that comment.
of the formula or simply a note, which should not be visible to the user ● You can also do Formatting of the comment (change font type,
initially, but is present at the back and can be accessed when the font size, font color, background color, etc.) by doing a Right-click
mouse hovers over that cell. and then by choosing “Format Comment”.
● A comment can also be a picture.
To insert a comment:
Quick analysis
● Select a particular cell and Right-click.
● Select “Insert Comment”, Alternatively, press Shift + f2 It is an add-on feature in excel, which quickly gives access to build-in
functions of excel. It appears as an icon on the bottom right of your
selected date range. It can perform formatting, convert data to charts,
perform functions over data, convert data to tables and sparklines, etc.
7 8
Brushing up Excel - III
Topics Covered:
● Navigating through worksheets in Excel
● Changing name and color of Worksheet
● Adding/deleting worksheets or Hiding/ Unhiding worksheets
● Moving/copying worksheets
● Different Worksheet Views
●
○ Comparing worksheets side by side
○ Splitting worksheet into panes
○ Freeze panes To navigate through these worksheets, there are several ways:
● Saving and opening workbooks
● Use the mouse to click on the sheets present in the bar. If
Navigating through worksheets in Excel the number of sheets in the workbook is more than that
can be visible on the screen at a time, then you have to
Worksheet: It is a collection of cells that are organized in rows scroll through the green arrows (right and left scroller).
and columns and acts as an interface to interact with excel. It
keeps our data organized and we can manipulate it anytime.
There are 2 types of worksheets in excel,
A. A simple worksheet having cells arranged in rows and
columns
B. A chart sheet that contains on charts
● Right-click on the scroller and the dialogue box with the
name of Activate containing all the sheets will appear.
The collection of worksheets is known as Workbook.
Select the sheet and press OK.
1 2
Adding and Deleting worksheets in a workbook is a simple task
in excel.
Changing name and color of Worksheet ● Right-click on the tab having sheet name it and then
choose Insert. Choose the kind of sheet (Simple worksheet
To make the sheet intuitive, there should be a name that defines or Chart sheet) you want from the “insert dialogue box”.
it according to the data it has. Therefore, there is a need to
rename Sheet n (where n=1,2,3,....)
Adding/deleting worksheets
3 4
To delete a worksheet:
choose Delete.
● Go on the Home tab and within the Cells tab, choose the
Delete icon. Select the option named “Delete Sheet”.This
will delete the entire worksheet
5 6
2. Now simply Right Click and choose “Delete”.
● Click on the sheet in the tab that you want to move, the
mouse cursor gets changed to a blank sheet icon and a
black inverted arrow also appears with it. Just drop it where
you want to place this sheet.
7 8
3) Choose option a) and b) and Click OK.
● 1st way:
1. Press the “Ctrl” button on the keyboard and
simultaneously click on the sheet in the tab that you
want to move.
9 10
● Split screens separates the worksheet into parts that can be
scrolled separately by the user:
1. Go to view tab
3. A new window with the “same name but with the number
2” along with it, gets created. And the original window gets
replaced by “number 1 with its original name”.
❖ Freeze panes
● Freeze panes fix a part of data you wish to view always while
working on a particular sheet. For example, one wants to view
the heading even while they have scrolled to the bottom of the
sheet, or they want to view the first column even when they shift
to the entire right side of the worksheet. Following are the Steps
5. The workbooks are now arranged vertically. to Freeze panes:
6. After closing either of the windows, the original names get 1. Go to the View tab
restored.
2. Select the “Freeze Panes” icon which has 3 options
❖ Splitting worksheet into panes a. Freeze panes
11 12
b. Freeze top row (For this, keep your headers in the first
row of the worksheet)
c. Freeze the first column
If the file is already saved, but you modified it afterward and this
○ Choose the location where the file needs to be saved version also needs to be saved then:
and then choose the folder from the device or create a ● Click on the File tab and select “Save”.
new one. ● Or, the keyboard shortcut is “Ctrl+S”
13 14
3. Choose the path of your file saved and select it to open and
Formulas & Functions - I
work on
Formulas in Excel
Excel is known to make operations and calculations easier and this is
enabled by the feature of formulas in excel. Formulas always begin
with an ‘equal to’ sign (=) which is followed by the calculation part.
1. Entering a formula: select a cell and type ‘=’ i.e. ‘equal to’ to let
the excel know that you’re going to type a formula. Then proceed
with a formula like =A1+A2. Also, instead of typing A1 and A2, you
can also select the cell representing the address A1 and A2 which
makes the job easier.
15 1
4. Copy/ paste a formula: When you select a cell, press Ctrl+c and go
to another cell to press, ctrl+V, the cell formula is pasted and not
the literal value of the cell. One can also drag the cell down or
across for the formulas to get reflected in adjacent cells.
3. Precedence of operators: When a formula is being evaluated,
Excel follows a general formula which is similar to the BODMAS
rule ( B - Brackets, O - Order of powers or roots, D - Division, M -
Multiplication A - Addition, and S - Subtraction) in Mathematics.
The highest preference is given to the part of the formula inside
the parenthesis ‘()’. After which follows multiplication and
division, then addition, and subtraction.
Functions in Excel
There are some formulas that are predefined by excel and are
known as functions. Some of the functions discussed in this module
are: SUM Function
There are several ways to insert a function, such as:
2 3
2. Using Insert Function Option found in the Formulas tab: Go to 4. Using auto sum option: Given towards the right in the Home Tab
the Formulas tab and select the option of ‘Insert Function’ which or in the Formulas tab as well, The auto sum option directly
will open a dialogue box. Here, you can search for a function calculates the sum of the selected cells and displays results in
through the entire list of functions available. the next cell. However, on clicking the caret/drop-down list,
other formulas like average, count, max, min can also be
calculated.
3. From the groups in the Formulas tab: All functions have been
divided into groups such as Financial, Logical, Text, Date & Time,
etc. One can quickly navigate to these groups to find the Editing a formula:
required function in less time. If the required function is not a The different formulas/ functions in Excel can be implemented as
part of any group, it can be accessed from ‘More functions’. The follows:
Recently used group is also very useful to access the functions 1. SUM: A simple addition calculation can be performed in different
used mostly by a user. ways:
a) Adding numbers directly
4 5
The calculation can be performed by directly feeding in the Use the keyword ‘sum’ after the equal sign, press tab, and then
values also as shown in the 1st way above. But hard coding these either select the cells separately or drag through the whole range
values consume time increases the chances of the error being of cells to be added.
conducted, and most importantly, using cell addresses makes it f) Using the auto sum option as discussed in the above section.
dynamic. This means that if the value in that cell is altered, the
calculated Other operations like Multiply, Divide and Subtract can be performed
c) Clicking on different cells to insert their addresses in a similar way conducted above for Sum.
d) Just select the range of cells to be added and find the sum
in the status bar.
Alternatively, the average is also displayed in the status bar when the
concerned cells are selected. Or from the formulas tab as discussed
above.
The output of this is 6 as it does not count the cells with text or the
empty cells.
6 7
4. COUNTA: This function counts all the cells in the selected range
containing both alphabets and numeric values. But it also does not
count the empty cells.
6. RANDBETWEEN:
The RANDBETWEEN function returns a random integer between
two numbers. The result from RANDBETWEEN is automatic, and a
OUTPUT=8 new random number will be recalculated each time a worksheet is
opened or changed.
5. RAND: This function is used to generate random values in Excel The format is:
using the RAND() function. =RANDBETWEEN(botton value, top value)
It can be done by using the function:
=RAND() in a cell
Dragging this random value will generate a random list of numbers.
An application of it could include calling different groups randomly in
a competition. For this, let us assume the number of groups to be 12.
8 9
Formulas & Functions - II
It will eliminate all extra spaces in cells but a single space character
between words:
Topics Covered:
● Max and Min formula
● Trim Function
● IF Function
● AND & OR function
● Concatenate function
● Today and Now function
● Absolute and Relative referencing
● Mistakes to avoid IF Function
Max/Min Formula This is one of the most popular functions in Excel with a wide variety of
functions across different use cases. The main use of this function has
The Max and Min formula returns the highest and lowest values from been for logical functions. The basic use of IF is as a logical operator. It
the given data. basically asked Excel to test a certain condition and return a
corresponding value according to the logical operation that is done.
1 2
This given case is just one example of the IF function. It has a very wide For example, if we want to check two columns and return true if both
use case and hence its applications are numerous and wide-reaching. values are higher than 50, then we can use the AND function.
So we can keep on trying to apply it in various cases and identify new
applications for the same. If we want to check two columns and return true if one of the values is
higher than 50, then we can use the IF function.
The AND and OR functions are logical operators that are used to
combine other functions together and write large logical commands.
This is important because it can help in the execution of large Concatenate function
operations and for combining instructions from different operators.
This function is used to combine the values from two or more cells into
a single output cell. This can be used to combine both characters and
● The AND operator returns TRUE if all conditions are met, FALSE
float values. The output is obtained in a different cell that we enter the
otherwise.
formula in so the original cells are unaffected. In case we need a space
● The OR returns TRUE if any condition is met, FALSE otherwise
between the entries, then we use the “ “ function to enter the required
They have little application on their own and are used in combination space.
with other functions like IF and FOR.
3 4
Today and Now function
In case we need to enter the current day or time and details in our
worksheet we can use these functions. The best part of these
functions is that we don't need any arguments at all. Once we type the
formula the results are directly returned. 2) Next step is to Click on the Fill handle at the corner of the cell
which contains the formula(C2).
Cell reference is another name for the address or the name of the cell
which comprises the combination that makes a column name and a
row number. There are broadly two types of references:
● Relative referencing
● Absolute referencing
1) Write the formula in the cell. Then press enter to get the
calculated value. Here we write the formula (= B2 + A2) in cell C2
and press enter.
5 6
4) Now we can see that the addition operation is performed Absolute referencing
between the cell A2 and B2, A3 and B3 and so on.
Absolute reference is the cell reference in which the row and column
are made constant by adding the dollar ($) sign before the column
name and row number. The absolute reference does not change as
you copy the formula from one cell to another. If either the row or the
column is made constant then it is known as a mixed reference. You
can also press the F4 key to make any cell reference constant. $A$1,
$B$3 are examples of absolute cell reference.
7 8
4) Now we can see that the percentage is calculated in column D.
2) Now click on the Fill handle at the corner of the cell which
contains the formula(D2).
9 10
Now let us see the formula paying close attention to the quotes,
Shortcut for Absolute referencing: Enter the cell address and press F4
to get the ‘$’ sign automatically.
Mistakes to Avoid This clearly shows the problem that arises in the former situation.
This problem is very difficult to identify as the number will
● Avoid Enclosing Numbers in quotation marks. appear to be quite ordinary but will not be able to perform any
operations and can be very difficult to troubleshoot. So this sort
We note that in Excel, we enclose all the text that we enter into
of problem needs to be avoided and rectified as soon as possible.
the material in quotation marks. But if the same is done for the
numbers, then Excel will change the format for the numbers ● Do not use any formatting for the numbers
from number to numeric string. This is highly undesirable as it
would mean that we will be unable to perform any operations on This refers to the practice of applying commas to the numbers to
the numbers even though they look like actual numbers. Let us indicate place value and enhance readability. However, this
illustrate that with an example. needs to be strictly avoided in Excel as the software will not be
able to understand the entries. Also, we need to avoid other
formatting like $ or £ signs for currency.
11 12
● Closing all parentheses ● Ensure Calculations options are set to automatic
This means that whenever we open brackets for writing a This is to ensure that all calculations are done automatically
formula we need to ensure that we close it at the end of the without us having to manually intervene for them. This can be
given condition. This is necessary as any open parentheses will done by going to Formulas Tab - Calculation group, clicking the
give an error code. We need to remember that in case of nested Calculation Options button and selecting Automatic.
conditional statements, then we must always make sure that the
number of open and close parentheses are equal at the end of
the formula.
● Dragging Formula
This can save us time and effort when working with Excel. This is
shows below,
This method is used to remove the original formula but keep the
values that we had obtained. This can be useful in cleaning up
the sheet and removing any unnecessary data from our sheet.
1. Select all the cells that have the code that we need
2. Copy all the cells with Ctrl + C
3. Right-click the value and select paste value - value to
paste the required value directly into the cells.
13 14
Formatting in Excel I This can be accessed as follows,
Topics Covered:
● What is Formatting in Excel.
● Number Tab
● Alignment
● Border
● Fill
● Font
● Protection
1 2
A detailed explanation on how to use the various different parts of the
cell window is explained below: Alignment Tab
Number Tab This tab is used to change the alignment of the data in a given cell.
The number tab is used to format the way that numbers will be This can be done to change the alignment towards the left or right
displayed i.e. it can change the formatting into one of 12 different side of the cell. The other function is the text control, which can be
categories. used to wrap text, shrink to fit, or merge cells.
The orientation tab can help change the text orientation by a given
degree that we can adjust in the given box.
Font Tab
This tab is used to change the font that the cells are in. There are
various options that are available in the selected tab. The various
options here can be changed to reflect in all the different cells that we
have selected.
3 4
Fill Tab
The fill tab is used to fill in colors and backgrounds for the selected
cells. This tab can also be used to fill in unique styles like strikethrough
and other patterns.
Border tab
The border tab is used to modify the borders that we have around
the selected set of cells. We can use this to determine the thickness, Protection Tab
border pattern and extent of the border. This is all reflected in the
border tab which is shown below. This is mainly used to lock the worksheet or the selected cells. This
means that the following functions will be disabled until the
protection is removed.
5 6
The functions that are blocked are
Formatting in Excel II
● Changing the cell data or formula.
● Typing the entered data in an empty cell Topics Covered:
● Moving the cell ● Conditional formatting
● Modifying the size of the cell ● Top and Bottom 10 Bars
● Clearing the cell or its contents ● Gradient and Solid Fill
● Color Scales
● Icons
● Format as Table
There are other formatting options that are listed below,
● Importing and exporting data
Conditional formatting
7 1
The conditional formatting tab is shown above. Here we have the The next step is conditional highlighting based highlighting for text.
various options that we can implement. The condition is similar to the previously mentioned condition. The
case is shown as below:
This is used to get the 1o largest or smallest items from the given data
set
2 3
Gradient and Solid Fill
The gradient fill and solid fill is an option used to generate bars
according to the values that we have selected. Accordingly, we have
the output as given below,
Here the percentages are calculated as per the set of values that we
have selected. The highest is taken as the max or 100% and the rest
is calculated with respect to it. The gradient and solid fill differ in the
formatting alone but reflect the same meaning only.
Color Scales
The color scale is a gradient based scale that is used to color the
cells based on the values that we have entered into the cells. It can
be incremental or decremental in its nature. In the given example we
can note that the White-Red is decremental in nature while the White
Green is incremental in nature. This means the largest number is
lighter in the red scale while in the green scale the reverse is true.
4 5
Format as Table
This is used to accent the table and provide them with suitable
formatting. Consider the example that is given below.
Icons
The same representation can be obtained by using icons also. Here the Cell formatting
values are replaced by the orientation of the icons that represent the
relative values of the numbers. This is used to provide various accents to the individual cells that are
based on various options that are given below.
These options are all useful to provide them with the necessary
formatting as and when we use them.
Exporting data
This is done by the following steps:
6 7
Importing Data
Selecting the File tab. Here we should select the Export option that is The data can be imported into the Excel sheet by the following
present in the window that opens which will lead us to a window as method:
shown below.
● Select the Data Tab. In the Data tab, we have several
options that can be used to get data from a wide variety of
sources.
● Under the get data tab, there are a variety of options from
which we can get usable data.
Here we can select the file type to be a PDF/XPS document. This will
ensure that we can change the manner in which it is stored and hence
it will be easier to shift it to other devices and transfer the data easily.
Under the change the file type these options are available for
use. We must remember that Excel has some limitations in reading
data and it may not be able to read from all the data sources with
equal accuracy. So it would require human intervention in some
cases.
8 9
Module 8:Tables in Excel
4. Else, directly click “OK”
In this module, you will learn:
● Create tables
● Navigating directly to tables
● Shortcuts provided by using Tables
● Total Row
● Rename
● Calculated Columns
● Sort and Filter
1 2
4. The selected table gets highlighted
Shortcuts make it quick and easy to select either a particular column, row or the whole
table with just simple keyboard buttons. It is used to highlight or format the chosen range
of tables.
Steps:
1. Activate the first cell of that row or column you want to select Total Row
It is used to calculate totals in tables without the use of formulas explicitly. It is an
optional row function that can be displayed using “Ctrl+Shift+T” in the table and performs
operations such as Sum, count, min, max etc. Users can toggle this Total Row on and off
as per their wish using the same shortcut.
4. Select the whole table by activating the first cell of the table and follow steps 2
and 3 in any order.
3 4
Rename
Default name assigned to any table is “Table with an integer in the continuous fashion”
like Table1, Table2, and so on. One can change its name anytime using the following
steps:
Sorting and Filtering in a table is done through the dropdown arrows in each of the
heading cells.
Users can sort the data in ascending or descending order.
Calculated Columns
It is a feature in the table that fills formulas easily by automatically copying it through the
entire column without explicitly copy-pasting. All you need is to enter a standard formula
(say using a function SUM() ) in the column’s top cell, and it automatically applies to the
whole of that column.
Users can Filter the data according to colours or numbers or texts.
5 6
Module 9: More about Tables In Excel
Table design
● Resizing a table
One can use the Resize Table command to add or remove rows or columns to
the table
Excel table slicers are also used to quickly filter the data that is present in tables.
● Click on any cell in the table
● Go to the design tab
● In the properties group within this, click on the “Resize Table”
● Select the range that needs to be included in the table and click OK
7 1
● Remove duplicates 5. The number of deleted values along with the number of unique
Duplicates are nothing but the extra copies of data in a particular table. values that are remaining are displayed
Duplicates could be removed when you wish to clean the dataset and
don’t want the repeated data to be visible
To remove duplicates , following are the steps:
1. Select the table
Table Styling is done to change the look and feel of the excel tables.Excel
provides built-in and ready to use styles that can be applied to its tables. It
makes data look more presentable and easier for the user to read and
interpret the results of the data in a table.
There are 3 major categories of table style- Light, Medium, and Dark
4. Specify the column where you want to remove the duplicates and
click OK
2 3
One can change the style by:
1. Choosing any cell of the table you want to change the style of
2. Go to the “Table Design” tab in the ribbon
3. Click the “Table Styles” option and choose the style you want to
apply to on the table
4. One can choose more styles from the drop down menu
Extending a table
● To add the new data, excel table expands automatically if the user types
something in the adjacent cell
● It can be done manually by dragging the extension arrow at bottom right corner of
the table, towards right to add more columns or downwards to add more rows
Remove Table
Removing the table means converting the table back to the range. It involves the
● Conditional Formatting
following steps:
4 5
Module 10: Importing Data into Excel
2. Another way is to go to the design tab and in the “Tools” group, choose the
“Convert to range” option and press YES. In this module, you will learn Importing data from:
● Microsoft Access database
● Web Page
● Text File
● SQL Server Table
● SQL Server Analysis Services Cube
● XML File
● On the protected sheets, even when the cells that are below the table are
unblocked, tables don’t expand automatically
● User can’t group, copy or move the sheets if the sheets have a table in it
● It is difficult to copy a table across the column as structured references to table
cells lack the option of Absolute setting
● If the excel sheet has at least one excel table, then the Custom views are not
allowed in that workbook
OR
Go to the “Data” tab and Choose “From Access” directly
6 1
3. Choose the file and click “Import”.
4. Select the table from the display options and click Load.
5. When there is a change in the Access data, the user can refresh it in excel
a. Select any cell inside the table that was imported
b. Go to the Table Design tab
c. Under this, go to the “External Table Data”
d. Select “Refresh”
3. In the dialogue box that appears, enter or paste the URL in the field provided and
press OK
A web page is a file written in Hypertext Markup Language(HTML) and is viewed through
a web browser. It contains an ample amount of information in the form of text, video,
audio, hyperlinks, graphics, etc. Web pages are stored on a web server and the
collection of web pages forms a website.
4. The components of the webpage are displayed in the Navigator Window. See the
To import its data into excel, one needs to follow the following steps: “Table View”
1. Go to the “Data” tab. 5. Choose Load
2. In the Get and Transform group under it, click “New Query” and then select
“From Other Sources” and choose “From Web” Importing data from Text File
OR
Go to the “Data” tab and Choose “From Web” directly A text file is a collection of lines of electronic text in the form of data. it is stored in the
computer with the extension .txt.
To import its data into excel, one needs to follow the following steps:
1. Go on the File and open it. Click on Browse. A drop-down list is opened. Select
the text file from it.
OR
Go to “Data” and select “From Text” under the “Get External Data”
2 3
2. There will be 2 types of files- normal file and CSV file
a. If the file is a normal text file, then choose the “Text Document” and “open
it”
b. If its a CSV file, then choose Microsoft Excel Comma Separated Values”
file
3. Text Import Wizard will open. Choose the “Delimited” option and press “Next”
4. Check only the Tab option and uncheck all other options
6. Choose the desired location on the worksheet to import your contents from and
click OK
4 5
3. A data connection wizard will appear. In this, enter the IP address in the server
name box.
4. Choose log-on credentials as “Use windows authentication” if you have windows
installed on a local machine. Else, provide the username and password.
SQL Server is a relational database management system, which is used to store data in
a structured format, i.e. in the form of tables. Tables are a collection of rows and columns
and hence the collection of tables is known as a Database.
5. Click on Next
6. In the wizard, select the database
To import this table data into excel, one needs to follow the following steps:
7. Then select the particular table that contains the data you want into excel
1. Click on the Data tab
8. Press Next and then Finish
2. In the Get External Data ribbon, choose “From other Sources” and select “From
9. Choose the desired location on the worksheet to import your contents from and
SQL Server”
click OK
6 7
Importing data from SQL Server Analysis Services Cube
To import its data into excel, one needs to follow the following steps:
To import its data into excel, one needs to follow the following steps:
8 9
3. Choose “From XML Data Import” Conditional Functions in Excel
Conditional Function
Conditional functions perform calculations on a cell or range of cells only if those cells meet a
certain condition. These functions test a given range and determine if the condition is true or
false before continuing. A condition can be any relational comparison:
4. Choose the file from your system and press “Open” Examples:
● A3>14 Whether the contents of cell A3 are larger than the number 14
● D5<=2 Whether the contents of cell D5 are less than or equal to the number 2
● T47=”cheese” Whether the cell T47 contains the the word cheese
At some point in time, when you are faced with a lot of data in your spreadsheets, you may
want to find a way to highlight or “filter” out some of your data based on specific criteria. For
example, if you wanted to see if the value of a cell in column A is equal to the value of a cell in
column B (duplicates), you can use a conditional formula in column C to give you a TRUE or
FALSE result.
1. IF
10
Format: =IF(A1>B2; “TRUE”; “FALSE”)
Example:
We own a greengrocery and we have a list of fruits in stock. Whenever the amount in stock is
less than 20, we need to place a new order with the wholesaler. The IF function can help us with
this task. IF the amount of a certain fruit is under 20 (TRUE), we need to place an order. IF the
amount is 20 or more (FALSE), we don’t have to take any action.
When we press enter, the function will publish the result for FALSE: No action, because the
value in cell B2 isn’t less than 20.
3. SUM
2. Nested IF Functions
The SUM function in excel adds the numerical values in a range of cells. Being categorized under
the Math and Trigonometry function, it is entered by typing “=SUM” followed by the values to
It is possible to use an IF statement as a TRUE or FALSE value inside another IF function. This
be summed. The values supplied to the function can be numbers, cell references or ranges.
way you can test for more than one condition within one function and return more than two
results.
Example:
Example
We want to sum the cells A2 and A3 shown in the image.
We will use the same list of fruits, but this time we will reorder when the amount is less than 20
and we will put the fruits on sale when the amount is 30 or greater than 30.
In this case our value for FALSE will be replaced by a second IF function:
=IF(B2<20;”Order”;IF(B2=>30;”Sale”;”No action”)):
4. SUMIF 7. COUNTIF
COUNTIF is an Excel function to count cells in a range that meet a single condition. COUNTIF can
The SUMIF function is a premade function in Excel, which calculates the sum of values in a be used to count cells that contain dates, numbers, and text
range based on a true or false condition. EXAMPLE:
5. AVERAGE
The AVERAGE function in Excel calculates the arithmetic mean of the supplied values. Such
values can be numbers, percentages or times. In the mean (or average), the sum of all the items 8. AND and OR and NOT
is divided by the number of items on the list.
Example: AND : The AND function is the most popular member of the logic functions family. It comes in
handy when you have to test several conditions and make sure that all of them are met.
Technically, the AND function tests the conditions you specify and returns TRUE if all of the
conditions evaluate to TRUE, FALSE otherwise.
Example:
6. AVERAGEIF
The Microsoft Excel AVERAGEIF function returns the average (arithmetic mean) of all
numbers in a range of cells, based on a given criteria.
OR : As well as AND, the Excel OR function is a basic logical function that is used to compare two
values or statements. The difference is that the OR function returns TRUE if at least one if the
arguments evaluates to TRUE, and returns FALSE if all arguments are FALSE. The OR function is
available in all versions of Excel 2016 - 2000.
10. SWITCH
The Microsoft Excel SWITCH function compares an expression to a list of values and returns the
corresponding result.
Example
NOT: You use the NOT function in Excel to reverse a value of its argument. In other words, if
logical evaluates to FALSE, the NOT function returns TRUE and vice versa. For example, both of
the below formulas return FALSE:
Operators specify the type of calculation that you want to perform on elements in a formula
such as addition, subtraction, multiplication, or division.
The LOOKUP Function is categorized under Excel Lookup and Reference functions. The function performs
a rough match lookup either in a one-row or one-column range and returns the corresponding value
from another one-row or one-column range.
For example, let's say you know the part number for an auto part, but you don't know the price. You can
use the LOOKUP function to return the price in cell H2 when you enter the auto part number in cell H1.
● You can find the exact or appropriate match by using the lookup function.
● Users can search for data both vertically (columns) and horizontally (rows).
● It is simpler to use and does not require selecting the entire table.
Sr. Row_Num Column_Num Abs_Num A1 Sheet_text Address Formula Result The AREAS function returns "the number of areas in a given reference where an area is a range of
No. contiguous cells or a single cell," according to Excel's documentation.
1=AREAS(reference_to_cell(s)_areas)
2 3 5 1 =ADDRESS(B2,C2,D2) ?
Consider this data in which you can implement the AREAS function:
A B C D E F G H
After applying the formula, the result will be updated as shown below:
A B C D E F G H
Sr. Row_Num Column_Num Abs_Num A1 Sheet_text AREA Formula Result
No.
Sr. Row_Nu Column_Nu Abs_Nu A1 Sheet_tex Address Formula Result
No. m m m t
1 1 4 =AREAS(B1:C1) ?
2 3 5 1 =AREAS(B2:C2, ? A B C
D2)
SR. NO. VALUE UNIQUE VALUES
3 2 1 2 1 =AREAS(B3:E3) ?
1 15
4 7 11 3 0 sheet1 =AREAS(B4:D4, ?
E4, F4)
2 18
5 18 12 4 1 =AREAS(B5:C5 ?
3 15
B5)
4 16
After applying the formula, the result will be updated as shown below:
A B C D E F G H 5 18
Sr. Row_Num Column_Num Abs_Num A1 Sheet_text AREA Formula Result You can apply the =UNIQUE(B1:B5) function to get the unique values from the given list of values. The
No. output will be as shown below:
A B C
1 1 4 =AREAS(B1:C1) 1
SR. NO. VALUE UNIQUE VALUES
2 3 5 1 =AREAS(B2:C2, 2
D2) 1 15 15
3 2 1 2 1 =AREAS(B3:E3) 1 2 18 16
4 7 11 3 0 sheet1 =AREAS(B4:D4, 3 3 15 18
E4, F4)
4 16
5 18 12 4 1 =AREAS(B5:C5 1
B5)
5 18
3.UNIQUE Function
4. CHOOSE Function
The UNIQUE function "returns a list of unique values in a list or range," according to Excel's
documentation.It has the following syntax: The CHOOSE function starts with an integer argument which acts as a selection index for the subsequent
arguments.
1=UNIQUE(range_of_cells)
It has the following syntax:
Consider the table below in which you have a few values in different rows: 1=CHOOSE(selection_index, arg1, arg2, arg3, ...)
Consider the following table: 2=COLUMNS([range])
A B C
Here's an example to understand their implementation. The function =COLUMN(B10) returns 2 as output
SR. NO. Function Output
because column B is the second column, whereas=COLUMNS(A1:E1) returns 5 as the output because the
array is spread in five columns.
The COLUMN function "returns the column number of the given cell reference," whereas the COLUMNS After applying the formula, the result will be updated as shown below:
function "returns the number of columns in the given array or reference," according to Excel's
documentation.
A B C D E F G
Here's the syntax:
1=COLUMN([address])
SR. NAME SUBJECT GRADE RANK FORMULA OUTPUT 3 BEN 78 C =MATCH("F", D1:D5, -1 ) ?
NO.
7. MATCH Function
2 CATHY 75 D =MATCH(94, C1:C5, 1) 4
The MATCH function "searches a specific item in a range of cells, and returns the relative position of that
item in the given range," according to Excel's documentation.
It has the following syntax: 3 BEN 78 C =MATCH("F", D1:D5, -1 ) 1
1=MATCH(input, range)
You can use the VLOOKUP function "when you need to find values in a table or a range by row,"
according to Excel's documentation. The VLOOKUP function has the following syntax:
2 CATHY 75 D =MATCH(94, C1:C5, 1) ?
1=VLOOKUP(input, range, selection_index_from_column)
Consider a scenario where you can implement the VLOOKUP function. Say you have a database that
contains information for all teachers in a class, as below:
value in the same column from a row you specify in the table or array," according to Excel's
documentation. The HLOOKUP function has the following syntax:
To find the D.O.B. for ID = 115, you would write the =HLOOKUP(115,B1:K5,5,0) function and get the
output 03-Aug-88, as shown below:
If you want to know the D.O.B. for ID = 116, you would write the =vlookup(116,A2:E11,5,0) function and
get the output 12-Aug-92, as shown below:
The LOOKUP function can be used "when you need to look in a single row or column and find a value in
the same position in a second row or column," according to Excel's documentation.
The LOOKUP function has the following syntax:
1=LOOKUP(input, range)
The HLOOKUP function works in a similar manner as the VLOOKUP function. It’s short for Horizontal 3 102 Alisha Loredo EEE =LOOKUP(107,B2:B6,E2:E6) ?
LOOKUP, and "it searches for a value in the top row of a given table or an array of values, then returns a
4 103 Dev Raghu ECE =LOOKUP(B3,B2:B6,C2:C6) ?
Text and Date Based Functions
5 104 Doug Verma IT =LOOKUP("alisha",C2:C6,D2:D6) ?
1. DATE Function
DATE function returns a valid date based on the day, month, and year you input. In simple
After applying the LOOKUP function, the result will be updated as shown below: words, you need to specify all the components of the date and it will create a date out of that.
A B C D E F G
Syntax: DATE(year,month,day)
SR. ID NAME LAST DEPARTMENT Formula Output Example: In the below example, we have used cell references to specify the year, month, and
NO. NAME day to create a date.
2. DATEVALUE Function
6 105 Jame Will EEE =LOOKUP(105,B2:B6,D2:D6) Will
DATEVALUE function returns a date after converting a text (which represents a date) into an
actual date. In simple words, it converts a date into an actual date which is formatted as text.
Syntax: DATEVAUE(date_text)
Example: In the below example, we have inserted a date directly into the function by using
double quotation marks. If you skip adding these quotation marks it will return a #NAME? error
in the result.
5. DAYS Function
DAYS function returns the difference between two dates. It takes a start date and an end date
and then returns the difference between them in days. This function was introduced in Excel
2013 so not available in prior versions.
Syntax : DAYS(end_date,start_date)
Example:
In the below example, we have referred to the cell A1 as the start date and B1 as the end date
and we have 9 days in the result.
3. DAY Function
DAY function returns the day number from a valid date. As you know, in Excel, a date is a
combination of day, month, and year, DAY function gets the day from the date and ignores the
rest of the part.
Syntax: DAY(serial_number)
Example:
In the below example, we have used the DAY to simply get the day from a date.
6. EDATE Function
EDATE function returns a date after adding a specified number of months to it. In simple words,
you can add (with a positive number) or subtract (with a negative number) months from a date.
Syntax:EDATE(start_date,months)
Example:
Here we have used EDATE with different types of arguments.
And in the below example, we have used DAY with TODAY to create a dynamic formula that ● In the first example, we have used 5 as a several months and it has added exactly 5
returns the current day number and it will update every time you open your worksheet or when months on 1-Jan-2016 and returned 01-June-2016.
you recalculate your worksheet. ● In the second example, we have used -1 month and it has given 31-Dec-2016, a date
which is exactly 1 month back from 31-Jan-2016.
● In the third example, we have inserted a date directly into the function.
7. EOMONTH Function
EOMONTH function returns the end of the month date which is the number of months in the
future or the past. You can use a positive number for a future date and a negative number for
the past month’s date.
● In the FIRST example, we have simply used date and it has returned the 5 in the result
which is the month number of MAY.
Syntax: EOMONTH(start_date,months) ● In the SECOND example, we have supplied the date directly in the function.
Example :In the below example, we have used EOMONTH with different types of arguments:
● In the THIRD example, we have used the TODAY function to get the current date and
MONTH has returned the month number from it.
9. NETWORKDAYS Function
NETWORKDAYS function returns the count of days between the start date and end date. In
simple words, with NETWORKDAYS you can calculate the difference between two dates, after
excluding Saturdays and Sundays, and holidays (which you specify).
Syntax: NETWORKDAYS(start_date,end_date,holidays)
Example: In the below example, we have specified 10-Jan-2015 as a start date and
20-Feb-2015 as an end date.
8. MONTH Function
MONTH function returns the month number (ranging from 0 to 12) from a valid date. As you
know, in Excel, a date is a combination of day, month, and year, MONTH gets the month from
the date and ignores the rest of the part.
Syntax: MONTH(serial_number)
Example:In the below example, we have used a MONTH in three different ways:
11. TODAY Function
We have 41 days between these two dates, out of which 11 days are weekends. After deducting
those 11 days it has returned 30 working days. The TODAY function returns the current date and time as per the system’s date and time. The
Now in the below example with the same start and end dates, we have specified a holiday and, date and time returned by the NOW function update continuously whenever you update
after deducting 11 days of the weekend and 1 holiday it has returned 29 working days. anything in the worksheet.
Syntax:TODAY()
Example
In the below example, we have used TODAY with other functions to get the current month
number, current year, and current day.
NETWORKDAYS.INTL Function returns the count of days between the start date and end date.
Unlike NETWORKDAYS, NETWORKDAYS.INTL lets you specify which days you want to
exclude from the calculation.
12. WEEKDAY Function
Syntax: NETWORKDAYS.INTL(start_date,end_date,weekend,holidays)
WEEKDAY function returns a day number (ranging from 0 to 7) of the week from a date. In
simple words, the WEEKDAY function takes a date and returns the day number of that date’s
Example : In the below example, we have used 01-Jan-2015 as a start date and 20-Jan-2015
day.
as an end date. And we have specified 1 to take Sunday – Saturday as the weekend. The
function has returned 14 days after excluding 6 weekend days.
Syntax : WEEKDAY (serial_number, [return_type])
Example
In the below example, we have used a WEEKDAY with TODAY to get a dynamic weekday. It will
give you the weekday whenever the current date changes. You can use this method in your
dashboards to trigger some values which need to change when weekday change.
13. WEEKNUM Function
TEXT FUNCTIONS :
WEEKNUM function returns the week number of a date. In simple words, WEEKNUM returns
the week number of dates that you specify ranging from 1 to 54.
1.Left()
Syntax: WEEKNUM(serial_number,return_type)
You can use the Left function when you want to extract the leftmost characters from a
Example
string. Syntax =left(text, num_char)
In the below example, we have used TODAY with WEEKNUM to get the week number of the
current date. It will update the week number automatically every time the date changes.
Similarly, you can also use the Right function to extract the rightmost characters from a
string.
2. Len ()
14. YEAR Function Len function in Excel helps you to know the length of a string that is number of
YEAR Function returns the year number from a valid date. As you know, in Excel a date is a characters in a string. Syntax = LEN(text)
combination of day, month, and year, and the YEAR function gets the year from the date and
ignores the rest of the part. Note – Spaces are included while calculating length.
Syntax : YEAR(date)
Example
In the below example, we have used the year function to get the year number from the dates.
You can use this function where you have dates in your data and you only need the year
number.
3. Mid ()
Mid function in Excel is used to extract the characters from the middle of a string.
Syntax = MID(text, start_char, num_chars)
4. Find ()
Find function in Excel is used when you want to know the position of certain characters
in a particular string. Syntax =FIND(find_text, within_text,[start_num])
9. Substitute ()
5. Proper ()
Substitute function in Excel helps to replace existing text with a new text in a particular
Proper function in Excel capitalizes each word in the string that is, it converts the case
string. Syntax =SUBSTITUTE(text, old_text, new_text, instance number)
into proper case. Syntax =PROPER(Text)
10. Concatenate ()
6. Rept () Concatenate function in Excel helps to join the text of two or more cells. Syntax
Rept function in Excel is used when you want a certain text to be repeated certain =CONCATENATE(text1, text2….)
number of times. Syntax =REPT(Text, number_times)
7. Trim()
Trim function in Excel removes the unnecessary spaces from a particular string.
Syntax =TRIM(Text )
8. Upper()
Upper function in Excel converts the text into Upper case from lower case. Syntax
=UPPER(Text )
=SUM (E4:E8)
Excel List Functions and Excel Data Validation As you can see from the above function used to get the sum of a range of cells, it is much more
efficient to use a function to get the sum than using the formula which will have to reference a
In this module, you’ll learn: lot of cells.
1. What are Functions ? Common Excel Functions :
2. Why use Functions?
3. Common Excel Functions : 1. SUM
4. Sum The Microsoft Excel SUM function adds all numbers in a range of cells and returns the result.
5. Count, Count Blank , CountA EXAMPLE :
6. Average
7. Mean, Median , Mode
8. Max, Min
9. What is Data Validation ?
10. Why use Data Validation
11. How to use Data Validation
Functions are predefined formulas that perform calculations by using specific values, called
arguments, in a particular order, or structure. Functions can be used to perform simple or 2. Count , CountA , Count Blank
complex calculations. 2.1 COUNT : The COUNT function will count cells that contain numbers. Its syntax is:
You can find all of Excel's functions on the Formulas tab on the Ribbon: =COUNT(value1, value2,...value30).
EXAMPLE :
2.1 COUNTA : The Microsoft Excel COUNTA function counts the number of cells that are not
Functions increase user productivity when working with excel. Let’s say you would like to get
empty as well as the number of value arguments provided. See the NOTE section below for
the grand total for the above home supplies budget. To make it simpler, you can use a formula
more information.
to get the grand total. Using a formula, you would have to reference the cells E4 through to E8
Example:
one by one. You would have to use the following formula.
Let's look at some Excel COUNTA function examples and explore how to use the COUNTA
= E4 + E5 + E6 + E7 + E8
function as a worksheet function in Microsoft Excel:
With a function, you would write the above formula as :
4. Mean, Median , Mode
4.1 Average Function in Excel (Mean)
Simply use the Average function and select the range which needs to be averaged. In the
example below we want to know the average of the marks obtained by the students so we use
=AVERAGE(B2:B12).
2.3 COUNT BLANK : The COUNTBLANK function in Excel is designed to count empty cells in a
specified range. Here is an example of the COUNTBLANK formula in Excel in its simplest form:
=COUNTBLANK(A2:D2)
The formula, entered in E2 and copied down to E7, determines the number of empty cells in
columns A through D in each row and returns these results: 4.2 Median in Excel
Median is a function which is used to find the middle number in a given range of numbers.
When you are finding the median manually, you need to sort the data in an ascending order but
in Excel, you can simply use the Median function and select the range and you will find your
median. We take the same example as above to find the median of marks obtained by students.
So we use =MEDIAN(B2:B12).
3. AVERAGE(Mean) : The AVERAGE function in Excel calculates the arithmetic mean of the
supplied values. Such values can be numbers, percentages or times. In the mean (or
average), the sum of all the items is divided by the number of items on the list.
EXAMPLE : Enter the following formula in cell C3.
=AVERAGE(B3:B7)
As an example, A user can specify a meeting scheduled between 9:00 AM and 6:00 PM.
Use data validation in Excel to make sure that users enter certain values into a cell.
Data Validation Example
In this example, we restrict users to enter a whole number between 0 and 10.
To find the highest value in a range of cells, use the MAX function. For example, this
● Best used when a user wants to share a sheet with another user, and he wants the data
formula will find the highest value in cells H2:H17 entered to be accurate and consistent.
● Restrict entries to predefined items in a list.
=MAX(H2:H17)
● Restrict numbers outside a specified range.
● Restrict dates outside a certain time frame.
● Restrict times outside a certain time frame.
● Limit the number of text characters.
● Validation of the data, which is available on other sheets or workbook.
● Choose to be displayed an Input Message when a user clicks on a cell as a user’s guide.
● A user can customize the error alert; it can be anything as per a user-defined.
2. Input Message
Input messages appear when the user selects the cell and tell the user what to enter.
On the Input Message tab:
1. Check 'Show input message when cell is selected'.
2. Enter a title.
3. Enter an input message.
4. Click OK.
4. Data Validation Result Excel Pivot Table
1. Select cell C2.
In this module, you’ll learn:
1. What is a Pivot Table
2. Why Should You Care?
3. Inserting a Pivot Table in Excel
4. The Nuts & Bolts of an Excel Pivot Table
5. Analyzing Data Using the Pivot Table
Note: to remove data validation from a cell, select the cell, on the Data tab, in the Data Tools
group, click Data Validation, and then click Clear All.
1
This is where Excel Pivot Tables come in really handy. ● Click OK.
Within seconds, a Pivot Table will answer all these questions (as you’ll learn below). As soon as you click OK, a new worksheet is created with the Pivot Table in it.
But the real benefit is that it can accommodate your finicky data-driven boss by answering his While the Pivot Table has been created, you’d see no data in it. All you’d see is the Pivot Table
questions immediately. name and a single line instruction on the left, and Pivot Table Fields on the right.
It’s so simple, you may as well take a few minutes and show your boss how to do it himself.
Hopefully, now you have an idea of why Pivot Tables are so awesome.
Here are the steps to create a pivot table using the data shown above:
● Click anywhere in the dataset.
To use a Pivot Table efficiently, it’s important to know the components that create a pivot table.
In this section, you’ll learn about:
Go to Insert –> Tables –> Pivot Table.
● Pivot Cache
● In the Create Pivot Table dialog box, the default options work fine in most of the cases. Here are
a couple of things to check in it:
● Values Area
● Rows Area
○ Table/Range: It’s filled in by default based on your data set. If your data has no blank
rows/columns, Excel would automatically identify the correct range. You can manually ● Columns Area
change this if needed. ● Filters Area
○ If you want to create the Pivot Table in a specific location, under the option ‘Choose
where you want the PivotTable report to be placed’, specify the Location. Else, a new 1.Pivot Cache
worksheet is created with the Pivot Table.
As soon as you create a Pivot Table using the data, something happens in the backend. Excel
takes a snapshot of the data and stores it in its memory. This snapshot is called the Pivot Cache.
When you create different views using a Pivot Table, Excel does not go back to the data source,
rather it uses the Pivot Cache to quickly analyze the data and give you the summary/results.
The reason a pivot cache gets generated is to optimize the pivot table functioning. Even when
you have thousands of rows of data, a pivot table is super fast in summarizing the data. You can
drag and drop items in the rows/columns/values/filters boxes and it will instantly update the
results.
2 3
2.Values Area
5. Filters Area
Filters area is an optional filter that you can use to further drill down in the data set.
For example, if you only want to see the sales for Multiline retailers, you can select that option
from the drop down (highlighted in the image below), and the Pivot Table would update with
the data for Multiline retailers only.
In this example, it has the total sales in each month for the four regions.
3.Rows Area
The headings to the left of the Values area makes the Rows area.
In the example below, the Rows area contains the regions (highlighted in red):
Now, let’s try and answer the questions by using the Pivot Table we have created.
To analyze data using a Pivot Table, you need to decide how you want the data summary to look
4.Columns Area
in the final result. For example, you may want all the regions in the left and the total sales right
The headings at the top of the Values area makes the Columns area.
next to it. Once you have this clarity in mind, you can simply drag and drop the relevant fields in
In the example below, Columns area contains the months (highlighted in red):
the Pivot Table.
In the Pivot Table Fields section, you have the fields and the areas (as highlighted below):
4 5
The Fields are created based on the backend data used for the Pivot Table. The Areas section is
where you place the fields, and according to where a field goes, your data is updated in the
Pivot Table.
It’s a simple drag and drop mechanism, where you can simply drag a field and put it in one of
the four areas. As soon as you do this, it will appear in the Pivot Table in the worksheet.
6 7
Charts and Graphs in Excel
Bar charts are just like column charts, except they display information in
horizontal bars rather than in vertical columns.
In this module, you’ll learn:
1. What are Charts and Graphs ? Bar
2. Types of Charts and Graphs
3. Choose the Right Charts and Graphs. Area charts are the same as line charts, except the areas beneath the lines are
filled with color.
4. How to create Charts and Graphs ?
Area
What are Charts and Graph Scatter charts are used to plot clusters of values using single points. Multiple
items can be plotted by using different colored points or different point symbols.
Charts and graphs are used to make information clearer and easier to understand. A good XY
picture is worth a thousand numbers. The most common place for people to see charts and (Scatter)
graphs is in the news. News publishers use graphics all the time to show comparisons and
explain important trends for things such as weather, gas prices, crime rate, or who is winning an Stock charts are effective for reporting the fluctuation of stock prices, such as
election and by how much. Charts and graphs are also critical to engineers, scientists and the high, low, and closing points for a certain day.
financial analysts who use them to help visualize large amounts of information, make better Stock
decisions, and communicate their results to other people.
A surface chart is useful for finding optimum combinations between two sets of
Choose the Right Chart data. Colors and patterns indicate values that are in the same range.
Surface
Once you've determined the results you want your chart to display, choose the chart that best
suits this purpose. The most popular charts are column, line, pie, and bar charts. Radar charts compare the aggregate values of multiple data series.
Column charts are used when you want to compare different values vertically
side-by-side. Each value is represented in the chart by a vertical bar. If there are Create a Chart
several series, each series is represented by a different color.
Column
1. Select the data you want to include in your chart.
Make sure to include your column names if you want them to be in the chart.
Line charts are used to illustrate trends over time. Each value is plotted as a 2. Click the Insert tab.
point on the chart and is connected to other values by a line. Multiple items are
plotted using different lines.
Line
Pie charts are useful for showing values as a percentage of a whole. The values
for each item are represented by different colors. Limit pie charts to eight
sections.
Pie
1 2
3. Select a chart type in the Charts group. 2. Click the Insert tab.
3. Click Recommended Charts.
4. To see all available chart types click the Charts dialog box launcher. The Insert Chart
dialog box appears, displaying every chart type that is available.
5. Click a chart subtype.
Excel recommended charts based on the data you selected.
The chart appears in the worksheet and the Chart Tools appear on the Ribbon.
The Chart Tools include three new tabs
1. Design
2. Layout
3. Format
that helps you modify and format the chart.
Types of Graphs in Excel
Create a Recommended Chart We have seen multiple uses of excel in our professional lives; it helps us analyze, sort and
extract insights from data. There is one feature of excel that helps us put insights gained from
Many times, it’s hard to tell what type of chart will best illustrate your data. To help make your our data into a visual form. This feature helps us display data in easy to understand pictorial
decision easier, Excel offers Recommended Charts. This tool looks at the data you have formats. We are talking about graphs in excel. Excel supports most of the commonly used
selected and suggests a few charts that will represent it well. graphs in statistics.
3 4
Creating different types of graphs in excel according to our data is very easy and convenient
when it comes to analysis, comparing datasets, presentations etc. In this article, we will discuss
the six most commonly used types of graphs in excel. We will also discuss how to select the
correct graph type for some kinds of data.
The difference between these is that while a stacked column represents actual values, a 100%
stacked column represents the values as percentages. There are 3D versions as well as
horizontal versions of these graphs in excel.
The next type of graph we are going to discuss is called a line graph. This type of graph is used
when we need to visualize data like an increasing or decreasing series over a period. This is an
2. The Column or Bar Graph excellent graph in Excel to use for representing trends and comparing performance. For
example, if we wanted to see how the current rise compares to the last raise for different people
The next one in the list is a column graph, also called a bar graph in statistics. We use these in the earlier examples, we would get something like this:
different types of graphs where we need to see and compare values across a range. The same
data that we used in the pie graph example would look like this:
5 6
We can see that Rohit is the only one whose pay raise has increased while others pay raise
percentages have remained constant over the last year. We have different line graphs or line There are many more types of graphs available in Excel, such as Hierarchy graph, Radar graph,
graphs available for use in excel, such as stacked lines and 100% stacked lines. Waterfall graph and Combo graphs which are combinations of two or more graphs. All these are
used based on specific conditions fulfilled by the data, such as the type of data, the number of
data points etc.
Now that we have gone through a few examples of types of graphs in excel, we will learn how to
make these graphs. Basically, the same procedure is used to make all the graphs. They are
enumerated sequentially below:
Stacked lines like stacked columns are used to represent percentages instead of the actual 1. First, choose the data you want to represent in the graph. In this case, we will select Analyst
values. and Datasets from the practice table:
The area graph is available within the line graph menu. This is used for the same purpose as
the line graph, which visualizes trends and compares data. In this example, we represent the
relationship between the number of datasets worked on by an analyst and the number of hours
they worked.
The stacked area graph on the right is used for drawing attention to the difference in magnitude
of two categories and displays the values as percentages.
4. A graph would appear over your data, move the graph to the required position by clicking on
it and dragging it across the screen, or cut/copy the graph and paste it elsewhere where you
need it:
7 8
By following the above steps and varying the type of graph you select, you can make all types of
graphs available in excel. You can modify these different types of graphs like modifying a table,
by specifying the data which would go into the x-axis and y-axis by right-clicking on the graph
and clicking on select data, then specifying the data in the pop up that appears:
● Know your data before making a graph. A type of graph that may suit a time series may
not be suitable for a set of unpatterned data.
● Sort the data before making graphs.
● Do not use unnecessary styling while making the graph.