Professional Documents
Culture Documents
Excel
Excel
HADDEN WALKER
© Copyright 2021 by HADDEN WALKER- All rights reserved.
This document is geared towards providing exact and reliable information in
regards to the topic and issue covered. The publication is sold with the idea
that the publisher is not required to render accounting, officially permitted, or
otherwise, qualified services. If advice is necessary, legal or professional, a
practiced individual in the profession should be ordered.
- From a Declaration of Principles which was accepted and approved equally
by a Committee of the American Bar Association and a Committee of
Publishers and Associations.
In no way is it legal to reproduce, duplicate, or transmit any part of this
document in either electronic means or in printed format. Recording of this
publication is strictly prohibited and any storage of this document is not
allowed unless with written permission from the publisher. All rights
reserved.
The information provided herein is stated to be truthful and consistent, in that
any liability, in terms of inattention or otherwise, by any usage or abuse of
any policies, processes, or directions contained within is the solitary and utter
responsibility of the recipient reader. Under no circumstances will any legal
responsibility or blame be held against the publisher for any reparation,
damages, or monetary loss due to the information herein, either directly or
indirectly.
Respective authors own all copyrights not held by the publisher.
The information herein is offered for informational purposes solely, and is
universal as so. The presentation of the information is without contract or any
type of guarantee assurance.
The trademarks that are used are without any consent, and the publication of
the trademark is without permission or backing by the trademark owner. All
trademarks and brands within this book are for clarifying purposes only and
are the owned by the owners themselves, not affiliated with this document.
Table of Content
Introduction
Chapter 1: Getting Started with MS Excel
Chapter 2: Basics of Excel
2.1 Essential Components of Excel
2.2 Components of Microsoft Excel Window
2.3 Other Basics
2.4 Time-Saving Excel Data Insertion Methods
Chapter 3: Advanced Skills of MS Excel
3.1 Advanced Formulas
3.2 Data, Power Query, Tables & Formatting
3.3 Advanced Charting
3.4 Conditional Formatting
3.5 Pivot Tables and Pivot Reporting
3.6 VBA and Macros
3.7 Using Excel Productively
3.8 Data Tables, Simulations and Solver
3.9 Integrating Excel with other tools and Optimizing Excel
Chapter 4: Basic Terms and Terminology in Excel Worksheet
Chapter 5: Advanced Excel Formulas and its Implementation
5.1 Index Match
5.2 OFFSET added with AVERAGE or SUM
5.3 IF combined with OR / AND
5.4 XIRR and XNPV
5.5 CHOOSE
5.6 COUNTIF and SUMIF
5.7 TRIM and LEN
5.8 IPMT and PMT
5.9 LEFT, CELL MID and RIGHT functions
5.10 Concatenate
5.11 Excel Formula Symbols
Chapter 6: Data Analysis Functions in Excel
6.1 Data Analysis Functions
6.2 Difference between a Function and a Formula in Excel
Chapter 7: Macros and VBA Macros in Excel
7.1 Basics of Excel Macro
7.2 VBA Macros in Excel
7.3 Is it worthwhile to learn VBA?
7.4 Things To Understand Before Learning VBA
7.5 Advantages of Learning VBA
7.6 Drawbacks of Learning VBA
7.7 Why is it worthwhile to lead VBA?
7.8 The downfalls of VBA
7.9 Most Commonly Asked Questions
Chapter 8: How to Rapidly Learn Microsoft Excel?
8.1 Some Basics
8.2 Advanced Methodologies
8.3 Improve your Excel skills
Chapter 9: Tips to Save Time In Excel
9.1 To autocomplete functions, use the tab key
9.2 Functions final parenthesis should not be typed
9.3 Functions should not be typed in capital letters
9.4 While choosing multiple cells in a function, hold down the "Ctrl" key
9.5 To copy down formulae, double-click the fill handle
9.6 Make use of ToolTips
9.7 Show all the formulas in the sheet (Ctrl+')
9.8 Find then select cells that contain a formula
9.9 Trace Dependents and Precedents
9.10 In edit mode, press F2 to begin editing the cell
9.11 With the named range, make the formula more readable
9.12 Switch formula into value
9.13 Add names to a formula that already exists
9.14 To switch among absolute and relative references, press F4
9.15 Formulas that haven't been completed should be saved
9.16 F9 is used to evaluate a portion of the formula
9.17 Enter the SUM function using AutoSum (Alt+=)
9.18 Step-by-step evaluation of the formula
9.19 Creating a table from a range of data
9.20 To enhance readability, divide lengthy formulae into lines
Chapter 10: 6 Excel Tasks You Should Be Able To Complete
10.1 Data Sorting
10.2 Eliminate any duplicates
10.3 Functions of basic mathematics
10.4 Panes should be frozen
10.5 Add the current date
10.6 Make the same modification on all worksheets
Conclusion
Introduction
The most widely used spreadsheet program is Microsoft Excel. Excel is a
valuable skill to have in both your professional and personal life. Excel
makes it simple to track financial data such as profit and loss, estimate
payments on big purchases, create a budget, and keep organized using
checklists.
Microsoft Excel is the most widely used spreadsheet software in the world,
with millions of users. Excel or other spreadsheet programs are excellent for
analysis, data manipulation, and visualization because they allow you to
filter, sort, format, and chart the data all in one place. Want to keep track of
your grades and compute averages automatically? Consider gathering contact
details for a field trip. Or assist your pupils in writing a lab report? You and
your kids will benefit from Excel!
Data surround us, and everyone has to make use of it. That's a lot simpler
when you can collaborate with everyone else, and Excel assists you along the
way! Excel also includes natural language, cognitive analysis, and assistance
tools built in to help you rapidly comprehend your data. This book includes
the most recent enhancements to arrays, formula errors handling, and
statistics to help you get the most out of formulae and functions.
Chapter 1: Getting Started with MS Excel
To the extent that they're still distinct entities, each worksheet is autonomous
of the others. A formula that refers to several worksheets is possible. The
formulas are listed below.
Workbook
Simply stated, a workbook is an Excel file. Workbooks are Excel files that
include one or more worksheets. The workbook is labeled Book 1 in the
picture below. Each Excel file will be saved with this title if the filename is
not altered. Consider it a ledger book for bookkeeping. That's correct, the
whole thing. Worksheets are the names for individual pages.
Ribbon
Over the work, the area is the Ribbon, which is a row of buttons. A ribbon is
only available in Excel 2007 and subsequent editions. It takes the place of
previous versions' menus and toolbars. Insert, Home and Page Layout are just
a handful of the tabs on the Ribbon. The choices connected with this part of
the Ribbon are shown when you click on a tab.
Name Box
The Name Box displays the active/current cell's name and the names of a
specified range of tables or cells. By choosing the table and altering the name
in a Name Box, all cells or a range of cells in the table may be named.
Therefore, each worksheet can only have one cell/table with the same name.
Cell
Any rectangular box inside a worksheet is referred to as a cell. It may have
data or formulae in them. The presently chosen cell is known as the active
cell or known as the current cell. A broad black outline distinguishes it.
Cell Reference
The Cell Reference displays the name of the currently chosen cell or table,
i.e., the current or active cell or table. The Name Box displays cell references.
Formula
The ability to utilize formulae is one of Excel's more advanced features. You
may use formulas to do automatic computations inside worksheets and even
across workbooks. A formula must start with an equal (=) symbol and be
entered into the formula bar. You may use formulae to do any of the four
fundamental mathematical operations, such as subtract, add, multiply, and
divide, or you can use brackets to specify the order in which the formula is
solved, or you can utilize any of Excel's hundreds of built-in functions.
Formula Bar
The active/current cell's contents are shown in the Formula Bar.
If the active/current cell contains a formula, the Formula Bar will display the
formula, while the active/current cell will display the final, computed result,
which may be a number or a phrase.
Array or Range
An array, also called a range, will be discussed. Arrays/ranges are just groups
of cells that have been grouped. The array/range used in our SUM formula,
for example, is A1:B1, which instructs the formula to take from A1 to B1.
Between the beginning and final cells of an array/range, a colon (:) is used to
indicate the array/range. They may be applied to start calling cells in the
following places:
Rows, e.g., A1:E1, displayed in a red box
Columns, e.g., A1:A5, displayed in a green box
Tables, e.g., A1:E5, displayed in a blue box
As you'll see, when there are many cells to reference, they significantly assist
in abbreviating the formula.
Functions
Excel functions are pre-programmed formulae. Consider functions as a more
convenient method to construct formulae.
For example, in the picture below, we wish to determine the combination of
cells A1 & B1. =A1+B1 is how we would represent the formula.
The formula would be =SUM if we used the SUM function (A1:B1).
Granted, it may be simpler to add both cells. However, if you have to perform
this for many cells or across many tables, using the SUM function will
simplify the creation of the formula. Excel has about 400 built-in functions.
Chapter 5: Advanced Excel Formulas and its
Implementation
Each financial analyst spends unlimited hours in Excel rather than he or she
would like to acknowledge. Based on years of expertise, we've collected the
most essential and sophisticated Excel formulae that any top-rated financial
questioner should know.
5.1 Index Match
Formula:
INDEX (C3:E9, MATCH (B13, C3:C9, 0), MATCH (B14, C3:E3, 0))
It is a more sophisticated version of the VLOOKUP and HLOOKUP
formulae, with several disadvantages and restrictions.
INDEX MATCH is a strong Excel formula combination that can help you
improve overall financial modeling and analysis.
INDEX is a table function that gives the values of the cell depending on the
number of row and column.
MATCH executes the row or column position of the cell.
Here's an illustration of combining the INDEX + MATCH formulae. We
search back and deliver a person's height depending on the specific name in
this example. We may alter both the name and the height in the calculation
since they are both variables.
Example:
5.2 OFFSET added with AVERAGE or SUM
Formula:
SUM (B4: OFFSET (B4, 0, E2-1))
An OFFSET function isn't very complicated by its own, but when combined
with similar functions like AVERAGE or SUM, we may construct a rather
complex formula.
Consider the following scenario: you desire to build an active function which
can add variable numbers of cells. You can only do a fixed calculation with
the standard SUM formula, but you can shift the reference of cell around by
adding OFFSET.
The way it works is as follows:
We use the OFFSET function instead of a SUM function's ending reference
cell to make this formula operate. It makes your formula active, and you may
tell Excel that several connected cells you would like to sum up in the cell
referred to as E2. We have some sophisticated Excel formulae now.
This somewhat more complex formula is shown in the picture below.
SUM formula begins in a cell B4 yet finishes with the variable, an OFFSET
formula, which begins in cell B4 and continues with the number within E2
("3"), a negative one. It shifts the sum formula's finish across two cells, three
data years, having the beginning point. The total of cell B4:D4 equals to 15,
as seen in cell F7, which is just what an offset plus sum formula tells us.
5.3 IF combined with OR / AND
Formula:
IF (AND (C2>=C4, C2<=C5), C6, C7)
Anyone who has spent a significant amount of time working with different
financial models understands how difficult nested IF formulas can be.
Combining the IF function for the AND or OR function may make formulae
simpler to audit and comprehend for other users. You can see how we
combined the various functions to create a more sophisticated formula in the
example below.
5.4 XIRR and XNPV
Formula:
XNPV (discount rate, dates, cash flows)
These formulae will come in handy if you work in investment banking,
financial planning & analysis (FP&A), equity research, or any other area of
corporate finance that involves discounting cash flows.
Simply stated, XNPV and XIRR enable you to assign precise dates to each
discounted cash flow. The standard NPV and IRR calculations in Excel have
the flaw of assuming that the time intervals between cash flows are equal. As
an analyst, you'll encounter circumstances where cash flows aren't evenly
spaced regularly, and this method is how you solve it.
5.5 CHOOSE
Formula:
CHOOSE (choice, option1, option2, option3)
A Choose function is ideal for financial modeling scenario analysis. It
enables you to choose from a set of choices and can return the "decision"
you've made. Assume you have three alternative sales growth estimates for
next year as 5%, 12%, or 18%. If you tell Excel you desire option #2, you
may get a 12 percent return using the CHOOSE formula.
5.6 COUNTIF and SUMIF
Formula:
COUNTIF (D5:D12," >=21″)
Conditional functions are used effectively in these two sophisticated
formulae. All cells that satisfy specific requirements are added in SUMIF,
and all cells that match certain criteria are counted in COUNTIF. For
example, suppose you want to figure out how many bottles of alcohol you
require for a customer event by counting all cells of are more than or
equivalent to 21, the legal alcohol age in the United States. As seen in the
image below, COUNTIF may be used as an advanced solution.
5.7 TRIM and LEN
Formula:
LEN (text) and =TRIM (text)
The formulae shown above are a bit less frequent, but they are complex.
Financial analysts who want to organize and manage huge quantities of data
would benefit from them. Regrettably, the data we receive is not usually well-
organized, and problems such as excessive spaces at the start or end of cells
may arise.
The LEN formula yields the number of characters in a specified text string,
which is helpful when you need to count how several characters are in a text.
You can observe how the TRIM algorithm wipes up the Excel data in the
example below.
5.8 IPMT and PMT
Formula:
PMT (interest rate, # of periods, present value)
You'll need to know these two formulae if your job in real estate, commercial
banking, FP&A, or any other financial analyst job that works having debt
schedules.
So, PMT formula calculates exact value of making equal payments
throughout a loan's life. You may avail it in combination along IPMT (that
shows you how much interest you'll pay on the same kind of loan),
subsequently separate principle and payments of interest.
Here's a way to use that PMT formula to calculate a monthly mortgage for
the $1 million loan with a 5% interest rate over 30 years.
5.9 LEFT, CELL MID and RIGHT functions
These sophisticated Excel functions may be used to produce some very
complicated and advanced formulae. The CELL function may return various
data about a cell's contents (such as its location, name, row, column, and
more). The LEFT method returns data from the cell's beginning (left to right),
the MID function provides text from any cell's start point (left-right), and the
RIGHT function returns data from the cell's finish (right to the left).
The three formulae are shown in the diagram below.
5.10Concatenate
Formula:
A1&" more text."
The concatenate isn't a function in and of it; it's simply a creative method of
bringing data from various cells together and making spreadsheets more
dynamic. Since financial analysts conducting financial modeling, this is a
highly useful tool.
In the case below, a text "New York" with ", "is combined along "NY" to
form "New York, NY." It enables you to generate dynamic worksheet labels
and headers. Rather than renovating cell B8, you may now update cells D2
and B2 separately. It is a useful skill to use when dealing with big data
collection.
5.11 Excel Formula Symbols
Here are the Excel formula symbols. Excel uses these special characters for
various purposes. Let us examine the full collection of Excel symbols, their
meaning and applications.
1. Symbol: =
Name: Equal to
Description: Excel Formulas begin with the Equal sign (=).
Example: = A1+A2
2. Symbol: ()
Name: Parentheses
Description: The parentheses expressions will be assessed first.
Parentheses in Excel Formula alter the evaluation order.
Example: =65+(15*3)+7
3. Symbol: ()
Name: Parentheses
Description: All Excel Function Arguments in Parentheses.
Example: = COUNTIF(A2:A4,6)
4. Symbol: *
Name: Asterisk
Description: An all-encompassing wildcard operator.
Example: = COUNTIF(A2:A4,”*“)
5. Symbol: &
Name: Ampersand
Description: Concatenate means to connect two strings in an Excel
formula.
Example: =”Total: “&SUM(B1:B22)
6. Symbol: ,
Name: Comma
Description: Function Arguments Segregated via Comma within Excel
Formula.
Example: = COUNTIF(A3:A6,“>” &B2)
7. Symbol: $
Name: Dollar
Description: Makes absolute cell references in Excel formula.
Example: = SUM($B$3:$B$16)
8. Symbol: []
Name: Square Brackets
Description: In Excel Formula, the Table (List Object) Field Name is
referenced.
Example: = SUM(Table2[Column2])
9. Symbol: !
Name: Exclamation
Description: A ! symbol is used after sheet and table names in Excel
Formula.
Example: = SUM(Sheet1!A2:A25)
10. Symbol: {}
Name: Curly Brackets
Description: Shows the Array formula in MS Excel.
Example: {=MAX (B1:D5-D1:D5)}
11. Symbol: ,
Name: Comma
Description: It combines several references into one, a union operator.
Example: = SUM (B2:B25, C2:C25)
12. Symbol: :
Name: Colon
Description: Creates two references among all cells.
Example: = SUM (A2:A25)
13. Symbol: (space)
Name: Space
Description: Intersection Operator will join two references of common
reference.
Example: = SUM (B2:B10 D5:D25)
Chapter 6: Data Analysis Functions in Excel
If you've ever used Excel, you've undoubtedly felt the pain of selecting the
wrong formula to analyze a data collection. Perhaps you struggled on it for
days before giving up since the data return was incorrect, or perhaps the
function became too complex, and it seemed easier to count the data
manually.
Excel has hundreds of functions and attempting to match the appropriate
formula to the right type of data analysis may be daunting. The most valuable
functions don't need to be complex. You'll marvel at how you ever survived
without basic routines that will enhance your ability to interpret data.
This chapter has a feature for everyone, whether you dabble with Excel or use
it extensively at work.
6.1 Data Analysis Functions
1. CONCATENATE
When it comes to data analysis; CONCATENATE is the simplest to learn the
most effective formulae yet. Text, numbers, dates, and other data from
several cells may be combined into a single cell. This method is great for
constructing API endpoints, Java queries and product SKUs.
Formula:
= CONCATENATE (Select the cells you would like to combine)
2. COUNTA
COUNTA determines whether or not a cell is empty. You'll come across
incomplete data sets regularly as a data analyst. Without needing to rearrange
the data, COUNTA will enable you to assess any gaps in the dataset.
Formula:
= COUNTA (Choose a cell)
3. LEN
LEN returns the number of characters within a cell fast. Using the =LEN
formula to check how many characters a cell contains, you may distinguish
two distinct item Stock Keeping Units (SKUs), as seen in the example above.
LEN is particularly helpful when distinguishing between various Unique
Identifiers (UIDs), often long and out of order.
Formula:
= LEN (Choose a cell)
4. DAYS or NETWORKDAYS
DAYS is what it said on the tin. The number of calendar days among two
dates is calculated using this function. It is a helpful tool for evaluating
product lifecycles, contracts, or run rating revenue based on service duration,
which requires data analysis.
NETWORKDAYS is a little more robust and helpful than
NETWORKDAYS. This formula calculates the number of "workdays"
between two dates and includes a holiday option. Even workers need a
vacation from time to time! Comparing periods with these two formulae is
particularly useful for project management.
Formula:
= DAYS (Choose cell, Choose cell)
or
= NETWORKDAYS (Choose cell, Choose cell, [no. of holidays])
5. AVERAGEIFS
AVERAGEIFS, like SUMIFS, lets you take an average depending on one or
more parameters.
Formula:
= AVERAGEIF (Choose cell, criteria, [Average_Range])
6. SUMIFS
For a data analyst, SUMIFS is among the "must-know" formulae. =SUM is a
popular formula. However, what if you want to sum numbers depending on
several criteria? It's SUMIFS.
Formula:
= SUMIF (Range, criteria, [Sum_Range])
7. VLOOKUP
One of the most well-known and helpful data analysis functions is
VLOOKUP. Being an Excel user, you'll almost certainly need to "marry"
data at some time. Accounts receivable, for example, may know how much
every item costs; however, the shipping division can only give units that have
been delivered. It is the ideal application for VLOOKUP.
Formula:
= VLOOKUP(Lookup_Value, Table_Array, Col_Index_Num,
[Range_Lookup])
8. IFERROR
IFERROR is a powerful tool that every analyst who often displays data
should use. Looking for particular text/values in a dataset, like in the
preceding example, will not provide a match. It results in a #VALUE
mistake, which is innocuous but annoying and unsightly.
To substitute the #VALUE issues with any text/value, use =IFERROR. The
field is blank in the example above such that data consumers may quickly
identify which rows provided a matched value.
Formula:
= IFERROR (Find "Value", Select Cell, Value_If_Error)
9. FIND or SEARCH
The FIND/SEARCH methods are useful for locating particular text inside a
data collection. Both are included here because FIND returns a case-sensitive
match, e.g., if you use FIND to search for "Big," you'll only get results that
are Big=true. A SEARCH for "Large" will return results for Big or big,
broadening the scope of the query. It is very helpful when searching for
abnormalities or unique identifiers.
Formula:
= FIND (Text, Within_Text, [Start_Number])
or
=SEARCH (Text, Within_Text, [Start_Number])
10. COUNTIFS
The simplest method to count the number of times a dataset satisfies a set of
conditions is COUNTIFS. This product name is utilized in the scenario
below to identify which product is its top seller. COUNTIFS is strong since it
allows you to enter as many criteria as you like.
Formula:
= COUNTIFS (Range, Criteria)
11. RANK
Although the RANK function is an old Excel function, it is still useful for
data analysis. RANK is a quick way to show how values in a dataset rank in
descending or ascending order. RANK has been utilized in this case to
identify which customers order the most goods.
Formula:
= RANK (Select Cell, Range_To_Rank_Against, [Order])
12. LEFT or RIGHT
LEFT and RIGHT are simple and efficient methods to extract static data from
cells. LEFT returns the "x" number of characters out from the cell's
beginning, while RIGHT returns the "x" number of characters out from the
cell's end. The sample below extracts the consumer's area code from the
phone number using LEFT, while the final four digits are extracted using
RIGHT.
Formula:
= LEFT (Select Cell, Number)
or
= RIGHT (Select Cell, Number)
13. MINIFS
MINIFS is identical to the min function, but it allows you to find the
minimum from a set of values while matching criteria. MINIFS is used in this
example to determine the lowest price every product has ever sold for.
Formula:
= MINIFS (Range1, Criteria1, Range2)
14. SUMPRODUCT
The function SUMPRODUCT is useful for calculating average returns,
pricing points, and margins. SUMPRODUCT is a function that multiplies a
set of values by their row counterparts. It's pure gold when it comes to data
analysis. We compute the average sale price of all our goods in the example
below by multiplying Price x Quantity and dividing by the total volume sold.
Formula:
= SUMPRODUCT (Range1, Range2) / Select Cell
15. MAXIFS
Like its cousin minifs, MAXIFS enables you to check on criteria. However,
this time, it searches for the most.
Formula:
= MAXIFS (Range1, Criteria1, Range2)
6.2 Difference between a Function and a Formula in Excel
Have you ever used Excel as a sophisticated calculator? If that's the case,
you'll be utilizing an Excel formula. If you typed in a computation like
=A1+A2 or =452*12, you've entered a formula. If all you need is a formula,
that's fine. Excel, on the other hand, could do so much extra!
Although the terms function and formula are sometimes used
interchangeably, they are not the same. So, what's the difference between the
two? The formula is the expression that calculates the values of a cell using
cell references and hard-coded values. A basic formula is sometimes all one
needs to obtain the correct result, but functions allow you to do more.
A function is an Excel formula that has previously been defined. The process
of generating a computation is made easier using functions. Excel now
contains over 500 functions, and more are being introduced all the time to
Microsoft 365, like XLOOKUP, IFS, LET, and LAMBDA, to mention a few.
Functions can do complicated computations that would take a long time to
execute manually. Instead of =SUM, you'd write something like
=A1+A2+A3+A4+A5 if you needed to contribute up various cells instead of
using a function (A1:A5). Now, writing it manually in five cells isn't such a
huge issue. But what if you're working with a large number of cells?
Hundreds of thousands? As you'll see, functions make tasks a lot simpler and
are the entire purpose of using Excel.
In conclusion, a formula in Excel is any computation, while a function is a
pre-defined computation.
=A1/A2 is an example of a formula.
A formula involving a function is =MAX(A1:B20).
Understanding how to utilize functions in formulae is an important part of
learning financial modeling. But keep in mind! Being a competent financial
modeler entails a lot more than just understanding a bunch of Excel
functions. However, the more functions you are familiar with, the more
inclined you are to select the most suited to the task at hand. There are
typically many methods to accomplish the same goal in life, but the ideal
choice seems the clearest but easiest for everyone to comprehend and most
straightforward to audit.
Chapter 7: Macros and VBA Macros in Excel
What is meant by an Excel Macro?
Macro in Excel is a recording and replay tool that captures your Excel actions
and replays them as many times as you like. VBA Macros conserve time by
automating time-consuming activities. Macros are a kind of computer code
that runs in the Excel environment, but you don't have to be a programmer to
use them. To make sophisticated changes to the macro, you'll need a basic
understanding of VBA.
What are the Benefits of Excel Macros?
We are a creature of habit as people. There are certain activities that we do
regularly, every day of the week. Wouldn't it be nice if there was a way to
click one button and have all of our regular chores completed? Yes, we can
sense you say. Excel macros assist you in doing this. A macro is a recording
of the regular actions in Excel, which you can repeat with a single button in
layman's terms.
You work as a cashier with a water utility business, for example. Some
clients pay using their bank accounts, and at the ending of each day, you must
get the data from a bank to format it according to your company's needs.
You may format the data by importing it into Excel. You will be obliged to
repeat the same procedure the next day. It will quickly become tiresome and
uninteresting. Macros help to address these issues by automating regular
activities. To record the stages of a procedure, you may use a macro.
Importing the information/data
It'll be formatted to suit your company's reporting needs
In layman's terms, what is VBA?
(VBA) Visual Basic for Applications is an abbreviation for Visual Basic with
Applications. Excel employs a computer language to keep track of your
actions as you go about your daily routine. To profit from macros in Excel,
you don't need to be a coder or a highly technical person. Excel includes tools
that will create a source code for us automatically.
7.1 Basics of Excel Macro
Among the developer's features are macros. Excel does not show the
Developers tab by default. You'll have to modify the report to see it.
Excel Attackers may utilize macros to get access to your system. They are
deactivated by default in Excel. If you need to execute macros, you must first
enable them and then only run macros you know are from a reliable source.
You must save your worksheet in the macro-enabled format *.xlsm if you
wish to save Excel macros. There should be no spaces in the macro name.
When writing a macro, be sure to include a description. It will assist you and
others in comprehending what the macro does.
Recording Macros in Excel (Step by Step Example)
Now, in this chapter on Excel macros, we'll learn how to build a macro
in Excel:
We'll use the situation mentioned in Excel's significance of macros. We'll use
the below CSV file to create macros in Excel for an Excel macro lesson.
We'll build a macro-enabled template that will import and prepare the
abovementioned data to suit our business reporting needs.
Enable Developer Option
You must have access to the developer options in Excel to run a VBA
application. As demonstrated in the Excel macro example below, enable the
developer options and pin them to the main ribbon in Excel.
Step 1:
Go to the "FILE" option on the main menu.
Choose "Options" from the drop-down menu.
Step 2:
Now a new window will appear; in that window, do the following tasks:
Select Customize Ribbon.
Select the Developer option by checking the box.
Select the OK button.
Step 3:
Tab for Developers
The DEVELOPER tab will now be shown in the ribbon.
Step 4:
CSV files may be downloaded.