Master Excel Formulas in 30 Days - Final Version
Master Excel Formulas in 30 Days - Final Version
2
Master Excel Formulas in 30 Days
MASTER EXCEL
FORMULAS
IN 30 DAYS
YOUR ROADMAP TO BECOMING AN EXCEL
FORMULA GURU IN 4 WEEKS
SRIDHAR REDDY
3
Master Excel Formulas in 30 Days
4
Master Excel Formulas in 30 Days
Every effort has been made to avoid errors or omissions in this publication. In spite of this,
errors may creep in. Any mistake, error or discrepancy noted may be brought to our notice
which shall be taken care of in the next edition. It is notified that neither the publisher nor
the author or seller will be taken responsible for any damage or loss of action to any one, of
any kind, in any manner, therefrom. It is suggested that to avoid any doubt the reader
should cross-check all the facts, law and contents of the publication with original
Government publication or notifications.
No part of this book may be reproduced or copied in any form or by any mean [graphic,
electronic or mechanical, including photocopying, record-ing, taping, or information
retrieval systems] or reproduced on any disc tape, perforated media or other information
storage device, etc., without the written permission of the author. Breach of this condition is
liable for legal action.
5
Master Excel Formulas in 30 Days
Contents
INTRODUCTION .............................................................................................................................. 7
Chapter 1: Getting Started – Introduction To Excel’s Interface ................................................. 8
Chapter 2: Foundation Laid - Understanding Basic Cell References and Operations .......... 11
Chapter 3: The Power of Arithmetic - Basic Arithmetic Formulas in Excel ............................. 14
Chapter 4: Using the Right Function - An Overview of Excel’s Formula Tab .......................... 17
Chapter 5: Sorting and Filtering - Making Data Management Easier .................................... 20
Chapter 6: Logical Tests 1 - Introduction to the IF Function .................................................... 23
Chapter 7: Logical Tests 2 - Exploring Nested IFs and More Conditions ................................ 26
Chapter 8: Lookups and References 1 - Introduction to VLOOKUP ........................................ 29
Chapter 9: Lookups and References 2 - Mastering HLOOKUP and Match Functions ........... 32
Chapter 10: Dates and Time - Manipulating and Calculating Time in Excel ......................... 35
Chapter 11: Text Manipulation 1 - LEFT, RIGHT, MID: Extracting Text Efficiently ..................... 38
Chapter 12: Text Manipulation 2 - UPPER, LOWER, PROPER: Transforming Text Formats ........ 41
Chapter 13: Grouping Data with PivotTables - Summarizing Data Effectively ....................... 44
Chapter 14: Introduction to Financial Formulas - Exploring PMT, RATE, and NPER ................ 47
Chapter 15: Digging Deeper into Financial Functions - Understanding PV and FV .............. 50
Chapter 16: Dealing with Errors - IFERROR, ISERROR and Other Error Handling Functions ..... 53
Chapter 17: Statistical Formulas 1: Averages, Medians, and Modes ..................................... 56
Chapter 18: Statistical Formulas 2: Standard Deviations and Variances ............................... 59
Chapter 19: Array Formulas: Processing Data in Batches ....................................................... 62
Chapter 20: Dynamic Ranges with OFFSET and INDIRECT ....................................................... 65
Chapter 21: Rounding Numbers with ROUND, ROUNDUP, and ROUNDDOWN Functions ...... 68
Chapter 22: Conditional Summing – Utilizing SUMIF and SUMIFS ............................................ 71
Chapter 23: Conditional Counting – Mastering COUNTIF and COUNTIFS ............................... 74
Chapter 24: Advanced Text Manipulation – CONCATENATE, SUBSTITUTE, and SEARCH ....... 77
Chapter 25: Database Functions – DSUM, DAVERAGE, and DMAX Explained ...................... 80
Chapter 26: Unlocking Array Formulas - CSE Functions and Their Magic .............................. 83
Chapter 27: Advanced Lookup – INDEX and MATCH Combined .......................................... 86
Chapter 28: Auditing and Tracing – Tracking Dependencies and Precedents ..................... 89
Chapter 29: Optimization and Efficiency – Tips for Faster Formulas and Shortcuts ............... 92
Chapter 30: Wrap-Up and Beyond - Recap, Best Practices, & Next Steps in Excel Mastery 95
Conclusion: The Excel Odyssey................................................................................................. 98
Bibliography of Excel Formulas Covered ................................................................................. 99
6
Master Excel Formulas in 30 Days
INTRODUCTION
7
Master Excel Formulas in 30 Days
8
Master Excel Formulas in 30 Days
Real-world Example
9
Master Excel Formulas in 30 Days
Imagine Mr. Sharma, an accountant, logging into Excel for the first time.
He'd primarily use the 'Home' tab for basic formatting, adjusting fonts or
cell colours. Once he gets some data, perhaps he'd move to the 'Insert'
tab to place a pie chart visualizing his company's expenses. Without the
Ribbon and its clearly defined sections, Mr. Sharma would be fishing in
the dark!
Hands-On Exercise
Task 1: Open Excel and start a new blank workbook.
Task 2: Explore the Ribbon. Click on each tab and take a moment to
hover over different commands to see their descriptions.
Task 3: Enter your name in any cell. Now, locate and use the 'Merge &
Center' option in the 'Home' tab to center your name across multiple
columns.
Task 4: Head over to the 'File' tab and explore the 'Backstage View'.
Check out the 'Options' – but for now, just look, don't change anything!
Task 5: Customize your Quick Access Toolbar. Add a command you
think you'd use frequently.
Reflection: After completing these tasks, reflect on the layout and the
ease of finding tools and commands. The design of Excel is not
random; it's structured to streamline your tasks. Understanding this will
set a solid foundation for mastering formulas.
In Conclusion
Understanding Excel's interface is akin to learning the ABCs before
diving into literature. It might seem basic, but without this foundational
knowledge, advancing would be a challenge. Tomorrow, we'll dive into
the core of Excel - data entry, and basic operations. But for now,
practice, explore, and familiarise. Remember, every Excel maestro once
started right where you are now.
We'll see you in the next chapter. Until then, happy exploring!
10
Master Excel Formulas in 30 Days
11
Master Excel Formulas in 30 Days
Real-world Example
Let's visualise a typical Indian classroom scenario. Ms. Gupta, a school
teacher, has a list of her students' marks in two subjects: Maths (Column
A) and Science (Column B). She wants to calculate the total marks for
each student.
Using relative cell references, Ms. Gupta can type a formula in C1 as
=A1+B1. When she drags down this formula in column C, Excel will
automatically adjust the formula for each row. So, C2 will have =A2+B2,
C3 will have =A3+B3, and so on.
However, suppose there's a constant multiplier, say a "bonus" factor
stored in a particular cell, which she wants to use for each student's
total. In this case, she'd use an absolute reference for the bonus cell,
ensuring it remains constant when the formula is dragged.
Hands-On Exercises
Task 1: Start with a blank workbook. In cells A1 through A10, input
numbers 1 to 10.
12
Master Excel Formulas in 30 Days
Task 2: In cell B1, write =A1*2. This formula will double the number in A1.
Now, use the auto-fill feature to drag the formula from B1 to B10.
Observe how the formula changes in each cell.
Task 3: Set a "multiplier" in cell D1. Let it be 3. Now, in C1, type the
formula =A1*$D$1. Drag this formula down from C1 to C10. Notice the
difference in cell referencing from Task 2.
Task 4: Play with the F4 key. Select a cell with a formula, and while in
the formula bar, hit F4 to see how the reference type changes.
Reflection: These exercises aim to solidify the understanding of how
Excel treats different cell references. By practising these basic
operations, you lay a robust foundation for the advanced topics ahead.
In Conclusion
Excel might seem like an intricate dance of numbers and cells, but once
you understand its rhythm – the way cells relate and communicate with
each other – it becomes a harmonious ballet of data. With today’s
knowledge, you're better equipped to choreograph your own Excel
masterpiece.
The foundation is set. Tomorrow, we enter the vibrant realm of arithmetic
operations, where numbers come alive. Until then, keep practising, and
remember: every cell, every reference, and every formula plays a part
in your Excel story.
See you in the next chapter, and happy referencing!
13
Master Excel Formulas in 30 Days
14
Master Excel Formulas in 30 Days
• Watch Out for Division: Always ensure the denominator isn't zero.
Dividing by zero in Excel returns a #DIV/0! error.
Real-world Example
Imagine Mr. Kumar, a trader from Jaipur, keeping track of his sales and
expenses on an Excel sheet. His column A has daily sales, and column B
has daily expenses. He wants to calculate daily profits.
He simply needs to subtract his expenses from his sales. In C1, he would
input the formula =A1 - B1. But, Mr. Kumar also gives occasional
discounts, recorded in column D. To include these, he'd adjust his
formula to =A1 - B1 - D1.
On weekends, Mr. Kumar often holds sales, where he gives an additional
10% off on the total bill. This can be computed as =0.9 * (A1 - B1 - D1).
From the bustling markets of Jaipur to the finance departments in
Mumbai's high-rises, these simple arithmetic operations keep businesses
ticking.
Hands-On Exercises
Task 1: Start with a blank workbook. In cells A1 through A5, input random
numbers. Use the AutoSum feature to calculate their total in A6.
Task 2: In column B, enter five different percentages (in decimal form,
like 0.05 for 5%). In column C, multiply each corresponding number in A
with its percentage in B.
Task 3: Assume column D has five numbers, representing discounts on
the products from column A. Subtract the discounts from the original
prices in a new column, E.
Task 4: Play with the order of operations. In any cell, input =2+3*4 and in
another =(2+3)*4. Observe the results and understand the difference.
Reflection: These exercises instil the importance of arithmetic operations
in Excel. Reflect on how these basics can be extended to more complex
real-world calculations.
In Conclusion
Excel’s arithmetic capabilities are much like the gears of a clock; they
appear simple from the outside, but they’re integral for the clock’s
precision. Mastering these is akin to mastering the art of telling time –
something that underlies all of Excel’s more advanced functionalities.
15
Master Excel Formulas in 30 Days
16
Master Excel Formulas in 30 Days
Hello again, Excel learners! Welcome to the fourth chapter of our 30-
day Excel mastery journey. We've spent the past few days in the basic
arithmetic playground of Excel. It's now time to enter the intellectual
amusement park that is Excel's Formula tab.
The Formula tab is like the spice box in an Indian kitchen—full of different
ingredients to make your data flavorful and wholesome. Let's embark
on a journey through this fascinating world!
4.1 The Grandeur of the Formula Tab
The Formula tab is where the real magic happens in Excel. Located on
Excel's Ribbon, it's like a treasure chest of functions and utilities that take
your data manipulation capabilities to another level.
• Function Library: From simple arithmetic functions like SUM and
AVERAGE to complex financial and statistical functions, this library
has it all.
• Defined Names: You can give a cell or a range of cells a name for
easy reference.
• Formula Auditing: This is where you can trace, evaluate, and error-
check your formulas.
• Calculation: Opt for manual or automatic calculation modes
based on your needs.
4.2 Function Categories
Functions in Excel are neatly organized into categories:
• Math & Trig: Includes functions like SUM, AVERAGE, ROUND, etc.
• Lookup & Reference: Functions like VLOOKUP, HLOOKUP, INDEX
and MATCH.
• Financial: Use PMT, RATE, and others for loan calculations,
depreciation, etc.
• Text: UPPER, LOWER, CONCATENATE help in text manipulation.
• Date & Time: NOW, TODAY, DAY, etc. come in handy here.
4.3 The Insert Function Dialogue Box
17
Master Excel Formulas in 30 Days
If you’re not sure which function to use, the Insert Function dialogue box
is your friend. Click "Insert Function" (it’s like a lifesaver on a ship), search
for what you want to do, and Excel will list functions that could be useful.
Tips and Tricks
1. Function AutoComplete: Start typing a function name, and Excel
will offer to complete it for you. Press Tab to accept the suggestion.
2. Name Ranges: Naming a range of cells can make your formulas
easier to read. E.g., instead of =SUM(A1:A10), you could name
A1:A10 as "Sales_Data" and then write =SUM(Sales_Data).
3. Immediate Answers: Hover your cursor over a cell with a formula,
and a tooltip shows the result and the original formula.
Real-world Example
Imagine Mrs. Sharma, a human resources manager at a startup in
Bangalore. She needs to calculate monthly salaries, leave balances,
and yearly bonuses. In Excel, she can perform these complex
calculations with just a few clicks.
• For monthly salaries, she could use the SUM function to add up
basic pay, allowances, and other components.
• To calculate leave balances, she could use the DATEDIF function
to find the number of days between two dates and subtract the
leaves taken.
• For bonuses, she might use the IF function to set conditions based
on performance ratings.
Hands-On Exercises
Task 1: Open a new worksheet. Fill column A with ten random numbers.
Use the SUM function in A11 to sum them up.
Task 2: In column B, list the names of five fruits. Use the UPPER function in
column C to convert these names to uppercase.
Task 3: Imagine column D is the price per unit of those fruits. In column
E, calculate the total price if you were to buy 5 units of each. Use
multiplication in Excel to achieve this.
Task 4: Name the range of cells that contain the prices as ‘Price_List’.
Use the SUM function to find the total expenditure if you were to buy 5
units of each fruit, but this time use the name ‘Price_List’ in the formula.
18
Master Excel Formulas in 30 Days
19
Master Excel Formulas in 30 Days
20
Master Excel Formulas in 30 Days
Click on the dropdown in each column header, and you can select
which unique values you want to display. Say you have a list of dishes
and only want to see those that are vegetarian. Just check 'Vegetarian'
and uncheck the rest!
Tips and Tricks
• Avoid Empty Rows/Columns: Before sorting, ensure no empty rows
or columns exist within your data set. Else, you might end up with
inaccurate results.
• Use the Status Bar: When you filter data, Excel displays the number
of visible rows out of the total rows in the status bar.
• Sort by Color: If you’ve used cell or font colors to highlight specific
data points, you can even sort by color.
Real-world Example
Consider Mr. Mehta, a school principal in Pune. He's got a list of students
with scores in various subjects. Here's how he'd use Excel's capabilities:
• Sorting: Mr. Mehta wants to reward the top 10 students in Maths.
He can sort the Maths column in descending order to quickly
identify the top scorers.
• Filtering: During the parents-teachers meeting, if a parent wants to
know how their child performed in sports, Mr. Mehta can quickly
apply a filter on the student name column to find that particular
student’s sports performance.
Hands-On Exercises
Task 1: Create a list of 20 Indian cities. Next to each city, mention the
state it belongs to. Now, sort this list first by state and then by city within
each state.
Task 2: Below the city list, create a list of ten dishes. Mention whether
they are vegetarian or non-vegetarian. Apply filters and then display
only the vegetarian dishes.
Task 3: On the same list of dishes, use different cell colors to highlight
North Indian and South Indian dishes. Now, sort the list based on cell
color.
Task 4: Create a list of your favourite Bollywood movies from the last
decade. Next to each movie, write the lead actor's name. Use filters to
display movies of only one particular actor.
21
Master Excel Formulas in 30 Days
22
Master Excel Formulas in 30 Days
23
Master Excel Formulas in 30 Days
24
Master Excel Formulas in 30 Days
Reflection: With these exercises, you've stepped into the logical universe
of Excel. The IF function, though simple, forms the foundation of decision-
making in Excel.
In Conclusion
As we wrap up today's lesson, remember this: the IF function embodies
the essence of decision-making in Excel. With it, you can guide Excel on
different paths, just as we sometimes have to choose our paths in life.
But for now, our path leads us to tomorrow's lesson. Till then, keep
practicing, keep exploring, and as we often say here, let your logic lead
the way! Dhanyavaad and see you soon!
25
Master Excel Formulas in 30 Days
26
Master Excel Formulas in 30 Days
27
Master Excel Formulas in 30 Days
Reflection: Nested IFs and multiple conditions form the crux of logical
decision-making in more complex scenarios. With these tools, you're
better equipped to make informed decisions using Excel.
In Conclusion
Today’s journey took us deeper into the logical canyons of Excel.
Remember, life, much like Excel, isn’t binary. There’s a multitude of
decisions that branch out from one another, and with nested IFs, you’re
not just answering life’s questions but also asking the next set of
questions.
Keep practicing and playing with these formulas, and you’ll soon find
that decisions, no matter how complex, can be systematically broken
down and tackled. So, until tomorrow's session, keep those logical juices
flowing! Dhanyavaad, and happy experimenting!
28
Master Excel Formulas in 30 Days
29
Master Excel Formulas in 30 Days
Let's see where and how VLOOKUP becomes the unsung hero of
spreadsheet problem-solving.
Real-world Example
Ms. Radha, a school principal in Jaipur, wants to quickly find out the
marks scored by a student named 'Aman' in 'Mathematics' from a
massive spreadsheet. Instead of scrolling endlessly, she can simply use
the VLOOKUP function to fetch the marks instantly.
Tips and Tricks
• Exact Match: Always use FALSE as the [range_lookup] value when
you need an exact match. This avoids unwanted results.
• First Column is Key: Ensure the value you're looking up is in the first
column of your table array.
• Beware of Errors: If VLOOKUP can't find the lookup value, it will
return an #N/A error. You can pair it with IFERROR for better error
handling.
• Data Alignment: Ensure that the data type of your lookup value
and your lookup column match. For example, a number stored as
text won't match a regular number.
Hands-On Exercises
Task 1: Create a table with book names in one column and their authors
in the second. Use VLOOKUP to find out the author of 'The God of Small
Things'.
Task 2: Build a cricket scorecard. List down the names of players and the
runs they scored in a match. Use VLOOKUP to find out how much did
'Virat Kohli' score.
Task 3: Envision you have a database of vehicle numbers and the
names of their respective owners. A traffic officer wants to quickly find
out the name of the owner based on a vehicle number. Aid him with
the VLOOKUP function.
Task 4: Create an employee database with their ID numbers, names,
and designations. Now, use VLOOKUP to retrieve the designation of an
employee using their ID number.
Reflection
The VLOOKUP function is akin to the ancient practice of "dowsing" –
finding something you can't see, using a tool. It helps you navigate vast
30
Master Excel Formulas in 30 Days
data lakes, fishing out the information you need. But like every tool,
mastering it requires understanding its nuances.
There's a Sanskrit shloka: "उद्यमेन हि हिद्ध्यन्ति कार्ाा हि न मनोरथैः " which means
"Work gets accomplished by effort, not merely by wishing". True to this,
continuous practice and hands-on efforts are your best allies in
mastering VLOOKUP.
Stay curious, and we'll dive deeper into lookup functions in our
subsequent chapters. Until then, practice, explore, and Dhanyavaad for
being with us on this enlightening journey!
31
Master Excel Formulas in 30 Days
32
Master Excel Formulas in 30 Days
Reflection
HLOOKUP and MATCH are like the GPS systems for your data landscape,
guiding you through rows and columns, ensuring you reach your desired
33
Master Excel Formulas in 30 Days
34
Master Excel Formulas in 30 Days
35
Master Excel Formulas in 30 Days
36
Master Excel Formulas in 30 Days
As the ancient Indian proverb goes, “Kal kare so aaj kar, aaj kare so ab,”
which means, "Do tomorrow's work today, and today's work now!" With
Excel's potent date and time tools, planning for 'tomorrow' and 'now'
becomes as breezy as a monsoon afternoon.
On that note, we conclude this chapter. As always, practice diligently,
and embrace the magic of dates and times in Excel. Until the next
chapter, धन्यवाद (thank you) and may you master the rhythm of time!
37
Master Excel Formulas in 30 Days
Hello, dear readers! Textual data forms a major chunk of the data we
handle daily, be it in our professional lives or when managing personal
tasks. Just think about the innumerable emails we read or the myriad
messages we send on platforms like WhatsApp. With Excel, one can do
wonders in manipulating and organizing such textual information. As we
dive into this chapter, we will explore the realms of LEFT, RIGHT, and MID,
three of Excel's maestros of text extraction. So, without much ado, chalo
shuru karte hai (let’s get started)!
11.1 Basics of Text Extraction
Real-world Example
Imagine a database with names stored as "Last Name, First Name". To
segregate first names and last names into separate columns, we need
text extraction.
For "Sharma, Rohit", LEFT can extract "Sharma", and RIGHT, combined
with other functions, can fetch "Rohit".
11.2 Deep Dive into LEFT, RIGHT, and MID
• LEFT(text, [num_chars]): This function fetches a specified number of
characters from the beginning (leftmost) of the text.
Real-world Example: For PAN card details "ABCDE1234F", using LEFT
can extract the alphabetic part: LEFT("ABCDE1234F", 5) will return
"ABCDE".
• RIGHT(text, [num_chars]): Extracts a specified number of
characters from the end (rightmost) of the text.
Real-world Example: In the above PAN card example, to extract
the numeric segment: RIGHT("ABCDE1234F", 4) will give "1234".
• MID(text, start_num, num_chars): This gem extracts characters
from the middle of a text, starting at any position.
Real-world Example: For a mobile number "98765-43210", to get the
last 5 digits excluding the hyphen, one can use: MID("98765-43210",
7, 5) which will yield "43210".
38
Master Excel Formulas in 30 Days
extract just the essentials. A fun way to ponder upon your newfound
knowledge, right?
With this, we wrap up our journey through the lanes of text manipulation
for now. Practise well, and you'll soon be weaving magic with Excel's
text functions. Until our next rendezvous, अलहवदा (goodbye) and happy
extracting!
40
Master Excel Formulas in 30 Days
41
Master Excel Formulas in 30 Days
Reflection
From the bustling streets of Chandni Chowk to the high-tech zones of
Bangalore, the need for standardized communication is paramount.
And this isn't just about aesthetic appeal or OCD satisfaction. Properly
formatted text promotes clarity, reduces misunderstandings, and
ensures seamless data integration.
42
Master Excel Formulas in 30 Days
We often talk about first impressions in life. In the realm of data, how it's
presented is often its first impression. And with the magic wands of
UPPER, LOWER, and PROPER, you're well-equipped to make that
impression count.
As we close this chapter, take a moment to appreciate the blend of art
and science in data presentation. As they say, "It's not just what you say,
but how you say it!" So, until next time, keep experimenting and keep
learning. Khush rahiye aur seekhte rahiye (Stay happy and keep
learning)!
Remember: The power of Excel is not just in numbers, but also in ensuring
every word, every name, and every title speaks in the tone you desire.
Happy formatting!
43
Master Excel Formulas in 30 Days
Namaskar, dear learners! Picture this: you're handed a huge data sheet
from your boss, filled with sales figures from across multiple Indian cities,
spanning various products and months. You’re told to summarize the
data and present insights by tomorrow. Before you break into a cold
sweat, let me introduce you to one of the most potent tools in Excel –
the PivotTable. Just like a chef masterfully bringing together ingredients
to create a lip-smacking dish, a PivotTable can bring together vast data
points to present meaningful insights.
So, let's begin our journey into the world of PivotTables, shall we?
13.1. What is a PivotTable?
At its essence, a PivotTable is a dynamic data summarization tool. It
allows you to transform lengthy and detailed data into compact and
meaningful reports. Whether it's categorizing data, finding a trend, or
comparing subsets, PivotTables are your go-to solution.
Real-world Example
Imagine running a chain of sweet shops across Delhi. You'd want to
know which shop sold the most 'gulab jamuns' last Diwali or which
product is the least popular during the monsoon season. A PivotTable
will let you drill down to such specific insights with just a few clicks.
13.2. Creating a Basic PivotTable
Creating a PivotTable is as easy as making your morning cup of chai!
1. Select your data: Ensure you have headers for each column.
2. Navigate to the Insert tab and choose PivotTable.
3. Choose where you'd like to place your PivotTable: a new
worksheet or the existing one.
4. Drag and drop your column headers into Rows, Columns, Values,
or Filters to start generating insights!
Real-world Example
Suppose you have monthly sales data of ethnic wear from different
regions like Punjab, Rajasthan, Kerala, and Gujarat. Using a PivotTable,
44
Master Excel Formulas in 30 Days
you can quickly identify which region performed the best in a particular
month or which product was the best-seller in a specific region.
Tips and Tricks
• Refreshing Data: As data updates, don't forget to refresh your
PivotTable. Just right-click and select 'Refresh'.
• Use Slicers for Interactivity: For a more visual filter, use slicers. It
allows even those unfamiliar with PivotTables to dive into the data.
13.3. Getting More from PivotTables
PivotTables offer a host of functionalities to deepen your analysis:
1. Calculated Fields: Create new data derived from your existing
columns.
2. Grouping: Combine rows or columns for a higher level of
categorization.
3. Conditional Formatting: Highlight specific data points based on
certain criteria.
Real-world Example
Imagine managing inventory for a supermarket chain. You might want
to flag products that are below a certain threshold or highlight regions
where sales have dipped significantly. With PivotTables, this task
becomes a breeze.
Tips and Tricks
• Double-Click to Drill Down: Double-click on any value in your
PivotTable to see the underlying data.
• Hide/Show Field List: Toggle the field list pane by right-clicking and
choosing 'Show Field List'.
13.4. Hands-On with PivotTables
Exercise 1: Given a dataset of IPL players, their teams, runs scored in
each match, and wickets taken, identify the top-performing player for
each team.
Exercise 2: Using a dataset of popular Indian dishes and their calorie
count, group them by region (North, South, East, West) and find out
which region's cuisine is the most calorific.
Exercise 3: For a given dataset of Bollywood movies, their release dates,
and box office collections, determine which year had the highest
grossing films.
45
Master Excel Formulas in 30 Days
46
Master Excel Formulas in 30 Days
47
Master Excel Formulas in 30 Days
48
Master Excel Formulas in 30 Days
49
Master Excel Formulas in 30 Days
Greetings, dear readers! Hope you're all in good spirits. We've previously
delved into some of Excel’s financial functions like PMT, RATE, and NPER.
Today, we'll explore two more indispensable functions in this arena: PV
(Present Value) and FV (Future Value). They're like the two sides of a
coin, helping us understand the value of money over time.
Let's plunge in, shall we?
15.1. The PV (Present Value) Function
You've likely heard the phrase, "A rupee today is worth more than a
rupee tomorrow." This idea forms the backbone of the Present Value. It
refers to the current worth of an amount that will be received or paid in
the future, considering a specific interest rate.
Syntax:
=PV(rate, nper, pmt, [fv], [type])
Real-world Example:
Imagine, you're offered two jobs:
1. Company A pays you ₹10 lakhs at the end of 5 years.
2. Company B offers you ₹8 lakhs today.
Which one is a better deal, especially if you could invest today’s money
at an annual interest rate of 7%?
Using the PV function for Company A’s offer: =PV(7%/12, 5*12, 0,
1000000)
Now, compare this with Company B's immediate ₹8 lakhs.
Tips and Tricks:
• A negative value might be returned, representing an outflow of
money.
15.2. The FV (Future Value) Function
Contrary to PV, the Future Value provides us with the worth of a sum of
money at a future date, given a specific interest rate. It helps determine
how much an investment made today will grow over time.
Syntax:
50
Master Excel Formulas in 30 Days
51
Master Excel Formulas in 30 Days
Conclusion:
Understanding the time value of money is crucial. With PV and FV, Excel
equips you with the tools to gauge the value of money over time,
allowing you to plan, invest, and dream big with clarity. As always, keep
experimenting with these functions. Play with numbers, scenarios, and
witness the magic of Excel unfold.
Till our next chapter, remember the wise words of Warren Buffett, "Do not
save what is left after spending; instead, spend what is left after saving."
Happy Excel-ing!
52
Master Excel Formulas in 30 Days
53
Master Excel Formulas in 30 Days
54
Master Excel Formulas in 30 Days
55
Master Excel Formulas in 30 Days
Namaste, dear readers! Today, we’re delving deep into the heart of
data analysis by discussing some primary statistical functions. Imagine
watching a cricket match without knowing the average score of a
batsman or browsing a shopping site without seeing product ratings.
These are everyday scenarios where statistics drive our decisions. Excel,
being the versatile tool it is, can help us find these statistical measures
with ease. Let’s dive in!
17.1. Starting with the Basics: What are Averages, Medians,
and Modes?
In the vast field of statistics, three fundamental measures help us
summarize data:
1. Average (Mean): The sum of all numbers divided by the count.
2. Median: The middle number in a sorted list.
3. Mode: The number that appears most often.
Real-world Example:
Think about Virat Kohli’s batting average in ODIs. It’s the sum of all his
scores divided by the number of times he has been out. This average
gives us a good idea about his consistent performance.
17.2. Calculating Average in Excel
Use the AVERAGE function to find the mean of a series of numbers.
Syntax:
=AVERAGE(number1, [number2], ...)
Real-world Example:
If you have monthly sales data in cells A1 to A12, you can determine the
average monthly sale using: =AVERAGE(A1:A12)
Tips and Tricks:
• To consider only the non-blank and non-zero values in the
average, use AVERAGEA.
• You can also use AVERAGEIF or AVERAGEIFS to calculate averages
based on specific conditions.
56
Master Excel Formulas in 30 Days
57
Master Excel Formulas in 30 Days
58
Master Excel Formulas in 30 Days
59
Master Excel Formulas in 30 Days
Real-world Example:
Building on the Bangalore expenses, if you wish to understand how
much, on average, each household's expenses differ from the mean,
you'd use: =STDEV.S(A1:A12)
Tips and Tricks:
• A low standard deviation indicates data points are close to the
mean, while a high value indicates wide dispersion.
18.4. Hands-On Statistical Exercises
Exercise 1: Given a dataset in cells B1 to B100, compute its variance and
standard deviation.
Exercise 2: For yearly temperatures in Kolkata listed from C1 to C12,
calculate the variance using VAR.P.
Exercise 3: Using the STDEV.P function, determine the standard
deviation of gold prices from a 10-year data range in cells D1 to D10.
18.5. Real-Life Scenario: Stock Market Analysis
Real-world Example:
Imagine you're an investor examining stocks of two companies,
Reliance and Infosys, over a period. By employing the standard
deviation, you can ascertain the volatility of each stock. A higher
standard deviation may indicate higher risk, but it could also mean
higher returns. On the contrary, a lower standard deviation suggests
stability but might also mean lower potential returns.
18.6. Unraveling the Connection: Variance vs. Standard
Deviation
While both metrics shed light on data dispersion, the key is to know when
to employ each:
• Variance is about the average of squared differences and can be
significant. It's best when comparing the variance of two similar
items.
• Standard Deviation gives a clearer understanding of dispersion in
original units, making it easier to interpret.
Real-world Example:
Suppose you’re comparing the academic performances of two
sections of Class 10 in a school in Delhi. While variance can help initially,
60
Master Excel Formulas in 30 Days
to truly grasp how scores deviate from the average, you'll lean on
standard deviation.
18.7. When Things Don't Go As Planned: Error in Data
Always cross-check the data before running statistical formulas. Outliers,
or extreme values, can heavily skew variance and standard deviation.
Tips and Tricks:
• Filter your data! If you suspect extreme outliers, consider using
Excel’s conditional formatting to highlight values that are
significantly above or below the mean.
Conclusion:
With the power of variance and standard deviation in your Excel toolkit,
you're now well-equipped to not just find the 'average' story in data, but
also the stories of variability and risk. Whether you're making decisions in
business, finance, or even planning a trip based on historical weather
data, these tools add layers of depth to your analyses.
So, the next time someone mentions an "average" number, you can
indulge them in a deeper conversation about its spread and variability.
Till our next chapter, keep diving deep into data, and as always, happy
analysing! Dhanyavaad!
61
Master Excel Formulas in 30 Days
62
Master Excel Formulas in 30 Days
63
Master Excel Formulas in 30 Days
64
Master Excel Formulas in 30 Days
65
Master Excel Formulas in 30 Days
Real-world Example:
Suppose in a cell (A1), you type "B2". In another cell, using INDIRECT(A1),
you can refer to the content of cell B2, even though you're indirectly
pointing to it via A1.
20.4. Hands-On Exercises with Dynamic Ranges
Exercise 1: Use OFFSET to create a dynamic average for a column of
grades where students' scores get added every week.
Exercise 2: Design a dropdown list where the source range adapts to
new entries using the INDIRECT function.
Exercise 3: Combine OFFSET and INDIRECT to make a super dynamic
chart range that adjusts both column-wise and row-wise.
20.5. Real-Life Scenario: Stock Inventory
Real-world Example:
You run a mobile store, and new stock entries are made weekly.
Sometimes, you add more than one brand in a week. Instead of
resetting data validation ranges or chart data series, use OFFSET to
create a dynamic named range. This way, as you add more stock, your
charts and summaries automatically reflect the changes.
20.6. Tips and Tricks for Using OFFSET and INDIRECT
• The Speed Game: While OFFSET and INDIRECT are potent, overuse
can slow down your Excel workbook. Be judicious!
• Reference Across Sheets: INDIRECT can help you reference cells
across different sheets dynamically. For instance, =INDIRECT(A1 &
"!B2") can refer to cell B2 of the sheet named in A1.
• Dynamic Drop-downs: Use INDIRECT in data validation to change
drop-down options based on another cell's value.
20.7. Potential Pitfalls and How to Dodge Them
• Volatile Nature: Both functions are volatile, meaning they
recalculate with every Excel operation. This can make your
workbook laggy if not used wisely.
• Text Accuracy: Since INDIRECT deals with text-to-reference
conversions, ensure the text is a valid reference to prevent errors.
66
Master Excel Formulas in 30 Days
67
Master Excel Formulas in 30 Days
68
Master Excel Formulas in 30 Days
69
Master Excel Formulas in 30 Days
70
Master Excel Formulas in 30 Days
71
Master Excel Formulas in 30 Days
73
Master Excel Formulas in 30 Days
74
Master Excel Formulas in 30 Days
Real-world Example:
An HR manager might use COUNTIFS to find out the number of
employees in the IT department with more than 5 years of experience.
23.4. Hands-On Exercises
Exercise 1: Using COUNTIF, find out how many days in a month Delhi
experienced temperatures above 35°C.
Exercise 2: Deploy COUNTIFS to ascertain the number of students in a
school who are in Class 10 and play cricket.
Exercise 3: From a dataset of books in a library, use COUNTIFS to
determine the number of 'Fiction' books published after 2015.
23.5. Conditional Counting in Population Surveys
Real-world Example:
Imagine a census where officials need to count the number of
households in Uttar Pradesh with more than five members and having a
monthly income above Rs. 20,000. This task is tailor-made for COUNTIFS.
23.6. Tips and Tricks
• Non-text Criteria: When using non-text criteria like >10, ensure they
are enclosed in double quotes, like ">10".
• Using Wildcards: The asterisk * and the question mark ? can be
used as wildcards in the criteria. For instance, if you want to count
names starting with 'A', you'd use "A*".
• Dates as Criteria: To use dates as criteria, combine them with the
DATE function. E.g., to count dates after 1st January 2020, use
">"&DATE(2020,1,1).
23.7. Conditional Counting in Healthcare
Real-world Example:
Consider a city's health department during a dengue outbreak. They'd
likely use COUNTIFS to tally the number of patients with dengue fever,
above the age of 50, and residing in a specific locality.
23.8. Pitfalls and Their Antidotes
• Criteria Mismatch: Ensure that all criteria in COUNTIFS are
independent to prevent undercounting.
• Text Criteria Formatting: If counting based on text criteria, make
sure there's no trailing or leading white space.
75
Master Excel Formulas in 30 Days
76
Master Excel Formulas in 30 Days
77
Master Excel Formulas in 30 Days
Real-world Example:
In Bollywood movie scripts, sometimes, the name of the city might be
changed for the storyline's suitability. This requires the efficient
replacement of one city's name with another.
24.4. The Inquisitive SEARCH
Curious about the position of a specific word or character? SEARCH is
your detective in the world of text.
Syntax: =SEARCH(find_text, within_text, [start_num])
Real-world Example:
A publisher might want to find out the position of a specific chapter title
in a long manuscript. SEARCH can pinpoint the exact location.
24.5. Hands-On Exercises
Exercise 1: Use CONCATENATE to combine the first name and last name
columns in an address book, separating them with a space.
Exercise 2: With SUBSTITUTE, transform the phrase 'Good Morning' to
'Good Evening' in a list of daily greetings.
Exercise 3: Utilize SEARCH to determine the position of the word
'Monsoon' in a poem about Indian seasons.
24.6. Advanced Text Manipulation in Indian Cuisine Recipes
Real-world Example: In writing a multi-cuisine cookbook, one might
need to replace 'Chilli' with 'Capsicum' for a milder version of a recipe.
Or, while merging recipes, ingredients from two sources might need
joining using CONCATENATE.
24.7. Tips and Tricks
• Using CONCAT with CONCATENATE: Excel has introduced a new
function called CONCAT which provides similar functionality as
CONCATENATE but is more versatile.
• Case Sensitivity in SEARCH: Remember, SEARCH is not case-
sensitive. If you need a case-sensitive search, consider FIND.
• N-th Instance in SUBSTITUTE: Use the [instance_num] argument in
SUBSTITUTE if you wish to replace only the nth instance of a text.
78
Master Excel Formulas in 30 Days
79
Master Excel Formulas in 30 Days
Namaskar to all our Excel devotees! Just as the traditional 'tally' system
in our kirana stores helps shopkeepers to efficiently manage their
inventory and finances, Excel’s database functions serve a similar
purpose, albeit for larger data sets. In this chapter, we delve deep into
the treasure trove of database functions such as DSUM, DAVERAGE, and
DMAX.
25.1. A Primer on Database Functions
Excel's database functions offer precise ways to interrogate vast
amounts of data, applying conditions to summarise, average, or identify
the maximum value within defined sets.
Real-world Example:
Imagine a vast wedding guest list with various details like name, relation,
city, and RSVP status. If you want to know the total number of guests
coming from Mumbai, DSUM would be your trusted aide.
25.2. The Grand DSUM
DSUM stands tall amongst database functions. It provides a sum of
selected database entries based on specific conditions.
Syntax: =DSUM(database, field, criteria)
Real-world Example:
In an Indian jewellery store, one might want to calculate the total weight
of gold items sold during Diwali. With DSUM, it's just a few clicks away!
25.3. The Diligent DAVERAGE
DAVERAGE dives into your database and calculates an average for the
specified criteria.
Syntax: =DAVERAGE(database, field, criteria)
Real-world Example:
Consider the scores of students in various schools. A school principal
might wish to know the average marks of students from a specific
district. DAVERAGE simplifies the task.
80
Master Excel Formulas in 30 Days
82
Master Excel Formulas in 30 Days
83
Master Excel Formulas in 30 Days
to quickly calculate the total value of all his spices, multiplying and then
summing up prices and quantities in one go.
26.5. Tips and Tricks
• Avoid Manual Editing: Once you've entered an array formula using
CSE, avoid editing the formula within the curly braces {}. Instead,
re-enter the formula and use CSE again.
• Spotting Array Formulas: Easily identify an array formula by looking
for the curly braces {} that automatically appear when you use
CSE.
• Dynamic Arrays: Recent versions of Excel introduced dynamic
arrays, which auto-spill results, eliminating the need for CSE in many
scenarios.
26.6. The Power of Simultaneous Calculations
Array formulas allow for simultaneous operations on multiple data points.
This capability is especially valuable when dealing with large datasets,
where processing data en masse can save ample time.
Real-world Example:
Consider a bustling call centre in Gurgaon. The manager wants to
analyse the average call duration for multiple days and multiple agents
simultaneously. An array formula can tackle this multi-dimensional
challenge with ease.
26.7. Pitfalls to Navigate
• Performance Issues: Large array formulas can slow down Excel. It's
essential to use them judiciously, especially in extensive
spreadsheets.
• Error Troubleshooting: Errors in array formulas can be trickier to
debug given their multi-faceted nature. Keep your formulas clean
and test them on smaller ranges first.
26.8. Expanding the Horizon with Array Formulas
Much like the diverse languages and dialects in India, array formulas
add richness to Excel’s language. They empower users to think beyond
the cell-by-cell approach, embracing a more holistic, range-based
perspective.
26.9. A Cultural Analogy
The intricacies of array formulas are reminiscent of our grand Indian
classical music performances. Each raga consists of multiple swaras
84
Master Excel Formulas in 30 Days
(notes), and their collective rendition brings out the melody. Similarly,
array formulas play with multiple data points to produce harmonious
results.
26.10. Looking Ahead
As we traverse the vast landscape of Excel, understanding tools like
array formulas can redefine our data processing capabilities. It's like
having a swiss army knife in the world of calculations. As always,
practice is key, so keep experimenting, keep learning, and
Dhanyawaad for joining us on this enlightening journey!
85
Master Excel Formulas in 30 Days
86
Master Excel Formulas in 30 Days
87
Master Excel Formulas in 30 Days
88
Master Excel Formulas in 30 Days
89
Master Excel Formulas in 30 Days
90
Master Excel Formulas in 30 Days
91
Master Excel Formulas in 30 Days
92
Master Excel Formulas in 30 Days
93
Master Excel Formulas in 30 Days
Real-world Example:
It's similar to how a supply chain manager in Mumbai's Dabbawala
system ensures timely delivery of lunches. The efficiency of the whole
process starts right from the sourcing of ingredients.
29.8. Hardware and Software Factors
Remember, Excel’s performance isn't just about the sheet itself. A
computer's RAM, the version of Excel, and even hard drive speed can
impact performance.
Real-world Example:
Just as a rickshaw's performance is determined by its maintenance, fuel
quality, and the skill of the driver, Excel’s performance is a sum of various
hardware and software components.
29.9. Concluding Thoughts: Embrace the Journey
Optimization is a continuous journey, much like the perennial waters of
the Ganges. As you delve deeper into Excel, regularly revisit your
formulas, stay updated with new functions, and always be on the
lookout for efficiency improvements.
In the end, efficiency in Excel is akin to the rhythmic beats of a dhol in a
Punjabi Bhangra or the meticulous steps of a Kathak dance. Each move,
each step, each formula should seamlessly flow into the next, creating
a symphony of data-driven decisions.
Till our next chapter, may your Excel sheets be as vibrant as the festivals
of India and as efficient as the clockwork precision of a Rajdhani Express.
Dhanyavaad!
94
Master Excel Formulas in 30 Days
95
Master Excel Formulas in 30 Days
96
Master Excel Formulas in 30 Days
97
Master Excel Formulas in 30 Days
98
Master Excel Formulas in 30 Days
1. Mathematical Functions:
• SUM
• AVERAGE
• MIN
• MAX
2. Logical Functions:
• IF
• AND
• OR
• NOT
3. Text Manipulation Functions:
• LEFT
• RIGHT
• MID
• UPPER
• LOWER
• PROPER
• CONCATENATE
• SUBSTITUTE
• SEARCH
4. Financial Functions:
• PMT
• RATE
• NPER
• PV
• FV
5. Error Handling Functions:
• IFERROR
• ISERROR
6. Statistical Functions:
• MEDIAN
• MODE
• STDEV (Standard Deviation)
99
Master Excel Formulas in 30 Days
• VAR (Variance)
7. Array Functions:
• {Array Formulas} (as they are processed differently in Excel, they
don't have a specific name)
8. Reference and Lookup Functions:
• OFFSET
• INDIRECT
• INDEX
• MATCH
9. Database Functions:
• DSUM
• DAVERAGE
• DMAX
10. Rounding Functions:
• ROUND
• ROUNDUP
• ROUNDDOWN
11. Conditional Counting & Summing Functions:
• COUNTIF
• COUNTIFS
• SUMIF
• SUMIFS
12. Tracing & Auditing Tools:
• (These aren't formulas, but Excel tools for auditing, such as 'Trace
Precedents' and 'Trace Dependents')
13. Miscellaneous Functions & Features:
• (Other advanced Excel features and shortcuts mentioned for
optimization and efficiency)
Each of these formulas has its own syntax, arguments, and intricacies, so
the reader is encouraged to refer back to the respective chapters for
detailed explanations, use cases, and hands-on exercises.
100