Excel For Financial Modeling
Excel For Financial Modeling
Excel For Financial Modeling
© EduPristine – www.edupristine.com
© EduPristine Excel Tips
Agenda
▪ Introduction and Context
▪ Efficiently using excel – preparation for modeling
▪ Creating a template for integrated model
▪ Case: Formatting the data, summarizing and creating a presentable
format
▪ Excel as a data-store
• Easy to store and retrieve information
• Flexibility to put many data-types in the same sheet
▪ Building a ROBUST model is a must for other people to use your model
• It should generate the correct results
• It should have proper area for Inputs/ Outputs
• It should be able to handle errors properly
• Naming/ Labeling of data items should be done properly
• Accidental changing of model parameters should be avoided
• The model should be easy to understand on computer and in printout
• Reusable components can be made in the excel sheet, which can be made later
Worksheet
Name
▪ The years (indicating Actual and Projected) are put in one of the top row
▪ Rows and columns are frozen at the intersection of the left hand information column and the years
row at the top
• Hint: Shortcut – Alt + w + f
▪ Ramanov, a financial analyst, works with Barclays. His manager gave him a data file which was
imported from the database. This file has the following information:
• Product Name
• Sales Price
• Cost Price
• Vendor Name
• Revenue
▪ Ramanov has never played around with such kind of data, so he is getting problem in following
activities:
• Formatting the Data
• Summarizing
• Finally, converting into a presentable format
Now, suppose he approached you and asked your help in preparing the report. Help Ramanov in
performing the above tasks.
▪ Before we summarize the data or present it to the manager, we need to format the .csv in
desired format so that we can apply excel formulas to summarize and present the same. For the
same, we need to perform the following:
• Space fitting the data
• Formatting the imported file with text to columns
• Getting the relevant information from string of data using Left, Trim
• Using referencing frame work (usage of $) to effectively use formulas
• Converting text to numerical using istext, isnumber, and text to columns
▪ Step 1:
• For formatting open the imported file and do the “space fitting”
➢ Lets open the Data _ERP.csv file
➢ Save as .xlsx (Excel format)
➢ Remove gridlines with “Alt”+ ”W”+ ”V”+ ”G”
➢ To Autofit data, select the Column A, B & C and press “Alt” + “O” + “C”+ “A”
▪ Step 2:
• As you can see the image – Product Name, Sales Price and Cost is given in the same column (column A).
• So the first task is to take the numeric value (example: 250) in the separate column.
➢ Insert a new column next to the data that needs to be separated
❖ To select a column: “Ctrl” + “Spacebar”
❖ To add a new column: “Ctrl” + “+” or “Ctrl” + “Shift” + “=“
▪ Step 3:
• We need to take the Product information in a separate column and for that need to write a logic.
➢ We need to pick Product name as “Product XX” if it is written in the column B or just the upper cell name
• Copy the cell which has logic and select the cells in which you want the logic to be followed and press
enter.
▪ Step 4:
• We need sales price and cost in separate columns
➢ For sales price and cost, we need to extract the number portion form the string. We can extract a part from a
string with the help fo “LEFT”, “RIGHT” or “MID”
• Use reference frame work ($), so that we can copy the same formula in the next column
▪ Step 5:
• Copy the Product Name, Sales Price and cost column and paste it as value.
➢ To paste as value press Alt + E+ S + V
▪ Step 6: 1
• Change the name of the column A from “Product Name” to “Date”
• Filter the data and delete the unwanted text .
➢ To filter press - Ctrl + Shift + L
• Select “Items” (as shown in the image) in “Column A” which you
want to remove (which are not dates)
• As shown in the image (below) excel will sort the data that needs to
be deleted.
▪ Step 7:
• Select the sorted data
• Delete the selected visible cells
➢ To delete – press Ctrl –
Excel
image
after
deleting
&
removing
filter
▪ Step 8:
• Delete the “Column B,” as it contains no data.
➢ To delete select the entire column, right click and to delete –
press Ctrl –
Blank
Select Column
Blank
Column
▪ We have formatted the file in desired format, now we will help Ramanov in achieving following
summarization items
• Find out Quarterly revenue numbers
• Find out Quarterly – Product wise revenue numbers
▪ Step 1:
• Select the sorted data
• Press Alt + D + P, a Pivot Table Wizard will open, select “Microsoft Excel list or database” and “pivot Table”
and click the “Finish” button.
• Doing this, a pivot table filed list will appear in excel sheet.
▪ In excel 2016, if data is with dates, then excel pivot table groups the data “Month wise”
▪ You can see there is a new field with name “Months”
▪ Uncheck “Months”, if you don’t want to deal with monthly data
1 2
▪ Step 3:
• Group the Data (say grouping monthly, quarterly or yearly sales).
➢ To Group – “Right Click” on the pivot table and select the “Group”
option.
➢ In Grouping window, select monthly, quarterly or yearly option to sort 2
the data as required.
• To Ungroup – “Right Click” on the pivot table and select the
“Ungroup” option.
5
6
3 4
1 2
▪ We have created pivot tables which is helping us to summarize data at ease. Now, we need to
apply functions which will help us in solving following Ramanov’s problems:
• As revenue numbers are large, Ramanov’s manager wants to see the same in ‘000 units
• Manager also want the Quarterly – Product wise share in %age format to understand the product revenue
share
• Manager warned Ramanov that the data source will change every day, so he should make the model
flexible. Show Ramanov how can we update the data source
• Creating slicer to use during the presentation so that it is easy to summarize on the basis of different
combinations
2
3
4 z 6
z 5
2
3 7
3
4
▪ Slicer are visual controls that allow you to quickly and easily filter 1
your data in an interactive way in the pivot table. Now, to add
slicer along with the pivot table:
• In Pivot Table Tools, select “Analyze” – “Insert Slicer” – “Insert Slicer” 2
• An “Insert Slicer” window will appear, “Right Tick” on the items for
which you need slicer and press “OK”
Pivot
with
Slicer
3
1
▪ To remove Slicer, “Right Click” on the slicer and select “Remove……” option.
▪ In the previous slides we have shown how to format the imported files as per your requirement
▪ Now we will see how to convert the formatted data into tabular format in excel which in turn
will make our lives easier.
• Step 1:
➢ Select the entire data that needs to be converted in table format.
• Step 2:
➢ Under “Home” tab click on the “Format as Table” option and select any of the given table style.
➢ A “Format As Table” window will open, which select the area where the data for your table is located, select
“My table has header” option and press “OK.”
1
2
Selected
Data
converted
into Table
Format
▪ You can easily prepare pivot table from data into tabular format.
▪ The main advantage is that as new rows/columns are added in the table, the pivot table filed list
can be updated by refreshing the existing pivot table to include the new fields. Therefore no
need of creating new pivot table
2 because new data has been added.
• Select the table, press “Alt + D + P,” a pivot table window will open, select “Next” option and rename the
Range as “Table 2,” press “Finish”
1
Select the
Table
4
5
3
46
“Profit”
included in
the “Filed
List”
▪ We need to find out if there is any entry on 4th Jul, use VLOOKUP.
▪ When you use lookup functions (HLOOKUP & VLOOKUP), and select the table as array, it will be
named as “Table 1” or “Table 2”. So if your table gets extended (with new rows/column) the
array in the lookup functions will be taken care automatically, that is, the table format makes the
lookup function very flexible.
▪ We need to add revenue with a condition: specific “Product Name” and “Vendor Name”
▪ If we have sum with one condition – use SUMIF, but here we have two conditions (more than
one) – we will use SUMIFS
▪ Same will be applicable for count, and average with two conditions
▪ Creating a drop-down
▪ Selecting list from the “Allow”
▪ Selecting source of the list
▪ Press OK
▪ Suppose now, you want to stop working with your data in a table without losing any table style
formatting that you applied.
• So for this you need to convert the table to a regular range of data on the worksheet.
• The procedure is….
➢ Click anywhere in the table, this displays the Table Tools, adding the ”Design” tab.
➢ On the Design tab, click ”Convert to Range” option.
Click on 2
the
“Table”
3
Highlighted
the cost >225 5 6
7
Highlighted the
Top 10
profitable 5 6
products
7
3
4
▪ To know which all products has performed well and which has not.
• Again you can use conditional formatting – colour scale option.
➢ Select the entire sales column, in the “Home” tab click on the “Conditional Formatting”– select “Color Scales”
and any one of the “Fill” option from the list.
❖ So it will show products that performed well in “Dark Green,” average performance in “Yellow” and worst
performance in “Red.”
1
3 4
[email protected]
www.edupristine.com
© EduPristine – www.edupristine.com
© EduPristine Excel Tips