SlideShare a Scribd company logo
3
Most read
7
Most read
14
Most read
Excel Formulas
10 Formulas that helps you in any JOB
Presentation Flow
1. SUM Formula
2. Count Formula
3. Count A Formula
4. LEN Function
5. TRIM Function
6. RIGHT, LEFT and MID Function
7. VLOOKUP
8. IF Statements
9. SUMIF, COUNTIF AND AVERAGEIF
10. CONCATENATE Function
Private and Confidential - By Hitesh Biyani
SUM FORMULA
• The SUM formula does exactly what you would expect. It allows you to add 2 or
more numbers together
• Formula : =SUM(5,5) or =SUM(A1, B1) or =SUM(A1:B5)
• The above shows you different examples. You can have numbers in there
separated by commas and it will add them together for you, you can have cell
references and as long as there are numbers in those cells it will add them
together for you, or you can have a range of cells with a colon in between the 2
cells, and it will add the numbers in all the cells in the range.
• Keyboard Shortcuts: ALT + = (equal to sign) : The Shortcut automatically selects the
range of cells above the formula upto an empty cell. If used after applying a filter
on a column, this shortcut will give subtotal of the filtered values for that column
Shortcut : ALT + =
Private and Confidential - By Hitesh Biyani
COUNT Formula
• The count formula counts the number of cells in a range that have numbers in
them
• This formula only works with numbers though, It only counts the cells where there
are numbers
• Formula : =Count(A1:A10)
Private and Confidential - By Hitesh Biyani
COUNTA Formula
• Counts the number of non-empty cells in a range. It will count cells that have
numbers and/or any other characters in them
• Formula: =COUNTA(A1:A10)
• It counts the number of non-empty cells no matter the data type.
Private and Confidential - By Hitesh Biyani
LEN Function
• The LEN formula counts the number of characters in a cell. Be careful though! This
includes spaces.
• Formula : =LEN(A1)
• Notice the difference in the formula results: 10 characters without spaces in
between the words, 12 with spaces between the words.
Private and Confidential - By Hitesh Biyani
TRIM Function
• Useful for removing extra spaces in a cell whether at beginning, trailing or anywhere
between the words.
• Often when you pull data from a database you may find some extra spaces are put in
behind or in front of legitimate data.
• This can wreak havoc if you are trying to compare using IF statements or VLOOKUP’s.
• Formula: =TRIM(A1)
• I added in an extra space behind “I Love Excel”. The TRIM formula removes that extra
space. Check out the character count difference with and without the TRIM formula.
Private and Confidential - By Hitesh Biyani
RIGHT, LEFT and MID function
• These Formulas return the specified number of characters from a text string
• Right gives you the number of specified characters from right of a text string
• Left gives you the number of specified characters from left of a text string
• MID gives you the number of specified characters from middle of a text string
• Formula: =RIGHT(Text or Cell reference, number of characters), = LEFT(Text or Cell
reference, number of characters) and =MID(Text or Cell reference, Start Number,
number of characters)
I used the LEFT formula to get the
first word. I had it look in cell A1
and grab only the 1st character
from the left. This gave us the word
“I” from “I love Excel”
I used the MID formula to get the
middle word. I had it look in cell
A1, start at character 3, and grab 5
characters after that. This gives us
just the word “love” from “I love
Excel”
I used the RIGHT formula to get the
last word. I had it look at cell A1
and grab the first 5 characters from
the right. This gives us “Excel” from
“I love Excel”
Private and Confidential - By Hitesh Biyani
VLOOKUP Function
• By far the most used function in day to day operations of many businesses
• What it Does : Looks for a value in another table or array and returns value in the
same row from a column you specify
• In Simple terms, it does a find action of a value from one sheet or table or file in
another sheet or table or file and copies the value corresponding to that value
from the column specified in the formula
• Formula: =Vlookup(lookup_value, table_array, col_index_num, range_lookup)
• Let’s Break the above formula in 4 parts –
a. Lookup_Value = This is the field that has common references / values to other
file which has more details
b. Table_Array = This is the range that you select from another file or sheet or
table starting from the column which has common references / values to the
lookup_value as defined in (a) above
c. Col_index_num = This is the column reference number from which you wish to
pick values against the lookup value as defined in (a) above
d. range_lookup = This is used to derive approximate or exact match. “0” or “False”
value will provide an exact match whereas “1” or “True” value will provide an
approximate match
Private and Confidential - By Hitesh Biyani
VLOOKUP Function (Contd..)
• Example
• In this example, I am attempting to create Master List from List 1 and List 2 using Sales ID Person as my
“Lookup _value”
• Some Points to remember,
a. For a vlookup function, there always need to be a common field with common values which is referred to
as “lookup_value”.
b. It can be read like this while attempting the formula, lookup “x” in this range i.e. “x:y” and pick up “y” and
do an exact match i.e. “False” or “0”
Lookup_value Col_index_num
Range_lookupTable_Array
Private and Confidential - By Hitesh Biyani
IF Statements
• This again is most used formula for a lot of analytical scenarios where a data has to react differently based
on different situations
• Formula: =IF(logical_test, value_if_true, value_if_false)
• Logical Statements may include comparison of one value to another using “>”, “<“, “=“, “OR”, “AND”, etc
• In simple terms, it looks if the logical statement returns a true value or false value and accordingly, user
can define the value to be displayed if the result is true and and value to be displayed if result is false. So
basically it has 3 parts i.e. IF (logical test), THEN (if true) and ELSE (If not true)
• Let’s Break the above formula in 3 parts –
a. Logical Statement – Usually a comparison statement using Logical Operators
b. True value – If the answer to the logical statement is true, the value specified for true value will be
returned
c. False Value - If the answer to the logical statement is false, the value specified for false value will be
returned
• Example
Private and Confidential - By Hitesh Biyani
IF Statements(Contd…)
• If Statement is a very powerful formula which can be used to derive results of complex
problems. It can be used to avoid multiple steps while working on a worksheet and instead
can give result in one shot. This can be done using Nested IF Statements. This is covered in
our Advanced Excel Program
• Example of a Nested IF Statement
• =if(logical_test, value_if_true, if(logical_test, value_if_true, if(logical_test, so on and so
forth)
• Nested IF always has a new IF Statement for False value. This argument can be continued till
all the situations are covered. This statement is useful for defining Age Buckets
• =if(age<7, “0-7”,if(7<age<15, “8-15”, if(15<age<30, “16-30”, if(30<age<60, “31-60”, “60 and
above”))))
• There is one more version of IF Statements named IFERROR
• This formula will be triggered if the other formulas wind up giving you an error. It could look
something like #N/A and that’s pretty ugly. This can happen for legitimate reasons, but you
don’t want to hand your boss a sheet full of #N/A symbols
• In the above example to avoid #N/A values, below formula can be used
• =iferror(if(age<7, “0-7”,if(7<age<15, “8-15”, if(15<age<30, “16-30”, if(30<age<60, “31-60”, “60
and above”)))),””)
Private and Confidential - By Hitesh Biyani
SUMIF, COUNTIF AND AVERAGEIF
• These Formulas do their respective functions i.e. if the criteria are met
• Formulas: =SUMIF(Range, Criteria, Sum_Range) | =COUNTIF(Range, Criteria) | =AVERAGEIF(Range,
Criteria, Average_Range)
• In Simple Terms, it provides a sum of values within cells, count of cells and average of values within cells
for the criteria if satisfied
• Examples
Range
Criteria
Sum_Range Average_Range
Private and Confidential - By Hitesh Biyani
CONCATENATE
• Simple yet a very effective and useful formula for many day-to-day operations in office.
• This Formula is also denoted by Ampersand (&) Sign and it is used for joining the values in difference cells
• Many a times, we get a database where we feel the need to combine 2 columns or 2 fields, this formula
helps you achieve that in no time.
• Example
• In the above example, I have used Concatenate formula in Column D to derive Full Names from the
information given in Columns A, B and C
• Formula: = Concatenate(A2, “ ”, B2, “ ”, C2) OR =A2&“ ”&B2&“ ”&C2.
• In the above formula, I have combined the First Name, Middle Name and Surname with Spaces between
each of them. The SPACE or any Text has to be denoted in “Quotation” Marks to be reflected in the result
Private and Confidential - By Hitesh Biyani

More Related Content

What's hot (20)

PPTX
03 Excel formulas and functions
Buffalo Seminary
 
PPTX
Microsoft Excel Basics
Compudon
 
PPTX
Advance excel
SiddheshHadge
 
PDF
Formulas and functions - By Amresh Tiwari
Amresh Tiwari
 
PPT
Pivot Tables
Dr. C.V. Suresh Babu
 
PPT
MS Excel 2nd
Adrian Apolinar Bulacan
 
PPT
M.S EXCEL
Alvin Maderista
 
PDF
Microsoft Excel
YasirKhan357
 
PPTX
VLOOKUP HLOOKUP INDEX MATCH
Mridul Bansal
 
PPTX
MS Excel Learning for PPC Google AdWords Training Course
Ranjan Jena
 
PPT
Using vlookup in excel
megankilb
 
PPTX
Sorting and Filtering.pptx
DrAbhishekKumarSingh3
 
PPTX
Presentation
sindhu1801
 
PPT
Unit 4 ms excel of class 8
Geethu Bijesh
 
PPT
Training On Microsoft Excel
TimesRide
 
PPTX
Excel Pivot Tables
Matt Saragusa
 
PPTX
Excel for beginner
Shashank Jain
 
PPTX
VERSIONS AND FUNCTIONS OF MS EXCEL
IMRAN WASTA
 
PPTX
Excel lesson01
Erik Hardiyanto
 
03 Excel formulas and functions
Buffalo Seminary
 
Microsoft Excel Basics
Compudon
 
Advance excel
SiddheshHadge
 
Formulas and functions - By Amresh Tiwari
Amresh Tiwari
 
Pivot Tables
Dr. C.V. Suresh Babu
 
M.S EXCEL
Alvin Maderista
 
Microsoft Excel
YasirKhan357
 
VLOOKUP HLOOKUP INDEX MATCH
Mridul Bansal
 
MS Excel Learning for PPC Google AdWords Training Course
Ranjan Jena
 
Using vlookup in excel
megankilb
 
Sorting and Filtering.pptx
DrAbhishekKumarSingh3
 
Presentation
sindhu1801
 
Unit 4 ms excel of class 8
Geethu Bijesh
 
Training On Microsoft Excel
TimesRide
 
Excel Pivot Tables
Matt Saragusa
 
Excel for beginner
Shashank Jain
 
VERSIONS AND FUNCTIONS OF MS EXCEL
IMRAN WASTA
 
Excel lesson01
Erik Hardiyanto
 

Viewers also liked (18)

PPTX
How to use vlookup & simple formula's for inventory
howto-excel
 
PPTX
Functions and formulas of ms excel
madhuparna bhowmik
 
PPTX
MS EXCEL PPT PRESENTATION
Mridul Bansal
 
PDF
USING VLOOKUP FUNCTION
Ruffson Panganiban
 
PPT
Teaching Excel
sam ran
 
PPTX
Pivot table
Vijay Perepa
 
PPTX
Working on MS-Excel 'FORMULA TAB'
Pranav Kumar
 
PPSX
Conditional statement
Maxie Santos
 
PDF
E-Book 25 Tips and Tricks MS Excel Functions & Formulaes
BurCom Consulting Ltd.
 
PPT
Pivot table presentation
Sha Tibnjn
 
PDF
Basic Formulas - Excel 2013 Tutorial
SpreadsheetTrainer
 
PPT
Lesson 4 excel formula
Bishop Amat High School
 
DOCX
Riflessione Metacognitiva finale - gruppo docenti Caivano
Corrado Izzo
 
PDF
Tuyen sinh trung cap y duoc tphcm
Dược Sĩ Trung Cấp
 
ODP
Creating relationships with tables
Jhen Articona
 
PDF
Microsoft Access 2010 - a jargon free guide
Paul Barnett
 
PDF
PERSONAL INFORMATION (2)
Sherif Ouija
 
PDF
Octal and Hexadecimal Numbering Systems
Leo Hernandez
 
How to use vlookup & simple formula's for inventory
howto-excel
 
Functions and formulas of ms excel
madhuparna bhowmik
 
MS EXCEL PPT PRESENTATION
Mridul Bansal
 
USING VLOOKUP FUNCTION
Ruffson Panganiban
 
Teaching Excel
sam ran
 
Pivot table
Vijay Perepa
 
Working on MS-Excel 'FORMULA TAB'
Pranav Kumar
 
Conditional statement
Maxie Santos
 
E-Book 25 Tips and Tricks MS Excel Functions & Formulaes
BurCom Consulting Ltd.
 
Pivot table presentation
Sha Tibnjn
 
Basic Formulas - Excel 2013 Tutorial
SpreadsheetTrainer
 
Lesson 4 excel formula
Bishop Amat High School
 
Riflessione Metacognitiva finale - gruppo docenti Caivano
Corrado Izzo
 
Tuyen sinh trung cap y duoc tphcm
Dược Sĩ Trung Cấp
 
Creating relationships with tables
Jhen Articona
 
Microsoft Access 2010 - a jargon free guide
Paul Barnett
 
PERSONAL INFORMATION (2)
Sherif Ouija
 
Octal and Hexadecimal Numbering Systems
Leo Hernandez
 
Ad

Similar to 10 Excel Formulas that will help you in any Job (20)

PPTX
Getting started with microsoft excel.
Jatin Mishra
 
PPTX
advance spreadsheet skils LESSON 4 - PPT.pptx
MaeOlbis
 
PDF
Excel.useful fns
Rahul Singhal
 
PDF
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
Rakesh Sah
 
PPTX
Excel basics for everyday use part three
Kevin McLogan
 
PPT
Get more from excel
Gopal Sridharan
 
PDF
Excel Formulas Functions
simply_coool
 
PPTX
Excel Overview.pptx
NewmanLeke
 
PPTX
ExcelTipsAndTricks.pptx
John Donahue
 
PPTX
Elementary Data Analysis with MS Excel_Day-3
Redwan Ferdous
 
PDF
Empowerment Technologies - Module 5
Jesus Rances
 
PPTX
Advanced Spreadsheet Skills-1.pptx
CliffordBorromeo
 
PPT
Introduction to micro soft Training ms Excel.ppt
dejene3
 
PPTX
Excel Function Training
kapileshwar kumar
 
PPTX
micro soft advanced excel setting it up with micro soft excelppt.pptx
KGowri3
 
PDF
Excel Formulas Functions 2007
simply_coool
 
PPTX
This is a presentation on Microsoft Excel.pptx
csehithaldia
 
PPTX
This is a presentation on Microsoft Excel
csehithaldia
 
PPTX
PROF DUKER - BASIC 8 for - MS EXCEL.pptx
8r9ntpxfsy
 
PDF
Excel functionssimplymeasured
central.zone
 
Getting started with microsoft excel.
Jatin Mishra
 
advance spreadsheet skils LESSON 4 - PPT.pptx
MaeOlbis
 
Excel.useful fns
Rahul Singhal
 
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
Rakesh Sah
 
Excel basics for everyday use part three
Kevin McLogan
 
Get more from excel
Gopal Sridharan
 
Excel Formulas Functions
simply_coool
 
Excel Overview.pptx
NewmanLeke
 
ExcelTipsAndTricks.pptx
John Donahue
 
Elementary Data Analysis with MS Excel_Day-3
Redwan Ferdous
 
Empowerment Technologies - Module 5
Jesus Rances
 
Advanced Spreadsheet Skills-1.pptx
CliffordBorromeo
 
Introduction to micro soft Training ms Excel.ppt
dejene3
 
Excel Function Training
kapileshwar kumar
 
micro soft advanced excel setting it up with micro soft excelppt.pptx
KGowri3
 
Excel Formulas Functions 2007
simply_coool
 
This is a presentation on Microsoft Excel.pptx
csehithaldia
 
This is a presentation on Microsoft Excel
csehithaldia
 
PROF DUKER - BASIC 8 for - MS EXCEL.pptx
8r9ntpxfsy
 
Excel functionssimplymeasured
central.zone
 
Ad

Recently uploaded (20)

PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 

10 Excel Formulas that will help you in any Job

  • 1. Excel Formulas 10 Formulas that helps you in any JOB
  • 2. Presentation Flow 1. SUM Formula 2. Count Formula 3. Count A Formula 4. LEN Function 5. TRIM Function 6. RIGHT, LEFT and MID Function 7. VLOOKUP 8. IF Statements 9. SUMIF, COUNTIF AND AVERAGEIF 10. CONCATENATE Function Private and Confidential - By Hitesh Biyani
  • 3. SUM FORMULA • The SUM formula does exactly what you would expect. It allows you to add 2 or more numbers together • Formula : =SUM(5,5) or =SUM(A1, B1) or =SUM(A1:B5) • The above shows you different examples. You can have numbers in there separated by commas and it will add them together for you, you can have cell references and as long as there are numbers in those cells it will add them together for you, or you can have a range of cells with a colon in between the 2 cells, and it will add the numbers in all the cells in the range. • Keyboard Shortcuts: ALT + = (equal to sign) : The Shortcut automatically selects the range of cells above the formula upto an empty cell. If used after applying a filter on a column, this shortcut will give subtotal of the filtered values for that column Shortcut : ALT + = Private and Confidential - By Hitesh Biyani
  • 4. COUNT Formula • The count formula counts the number of cells in a range that have numbers in them • This formula only works with numbers though, It only counts the cells where there are numbers • Formula : =Count(A1:A10) Private and Confidential - By Hitesh Biyani
  • 5. COUNTA Formula • Counts the number of non-empty cells in a range. It will count cells that have numbers and/or any other characters in them • Formula: =COUNTA(A1:A10) • It counts the number of non-empty cells no matter the data type. Private and Confidential - By Hitesh Biyani
  • 6. LEN Function • The LEN formula counts the number of characters in a cell. Be careful though! This includes spaces. • Formula : =LEN(A1) • Notice the difference in the formula results: 10 characters without spaces in between the words, 12 with spaces between the words. Private and Confidential - By Hitesh Biyani
  • 7. TRIM Function • Useful for removing extra spaces in a cell whether at beginning, trailing or anywhere between the words. • Often when you pull data from a database you may find some extra spaces are put in behind or in front of legitimate data. • This can wreak havoc if you are trying to compare using IF statements or VLOOKUP’s. • Formula: =TRIM(A1) • I added in an extra space behind “I Love Excel”. The TRIM formula removes that extra space. Check out the character count difference with and without the TRIM formula. Private and Confidential - By Hitesh Biyani
  • 8. RIGHT, LEFT and MID function • These Formulas return the specified number of characters from a text string • Right gives you the number of specified characters from right of a text string • Left gives you the number of specified characters from left of a text string • MID gives you the number of specified characters from middle of a text string • Formula: =RIGHT(Text or Cell reference, number of characters), = LEFT(Text or Cell reference, number of characters) and =MID(Text or Cell reference, Start Number, number of characters) I used the LEFT formula to get the first word. I had it look in cell A1 and grab only the 1st character from the left. This gave us the word “I” from “I love Excel” I used the MID formula to get the middle word. I had it look in cell A1, start at character 3, and grab 5 characters after that. This gives us just the word “love” from “I love Excel” I used the RIGHT formula to get the last word. I had it look at cell A1 and grab the first 5 characters from the right. This gives us “Excel” from “I love Excel” Private and Confidential - By Hitesh Biyani
  • 9. VLOOKUP Function • By far the most used function in day to day operations of many businesses • What it Does : Looks for a value in another table or array and returns value in the same row from a column you specify • In Simple terms, it does a find action of a value from one sheet or table or file in another sheet or table or file and copies the value corresponding to that value from the column specified in the formula • Formula: =Vlookup(lookup_value, table_array, col_index_num, range_lookup) • Let’s Break the above formula in 4 parts – a. Lookup_Value = This is the field that has common references / values to other file which has more details b. Table_Array = This is the range that you select from another file or sheet or table starting from the column which has common references / values to the lookup_value as defined in (a) above c. Col_index_num = This is the column reference number from which you wish to pick values against the lookup value as defined in (a) above d. range_lookup = This is used to derive approximate or exact match. “0” or “False” value will provide an exact match whereas “1” or “True” value will provide an approximate match Private and Confidential - By Hitesh Biyani
  • 10. VLOOKUP Function (Contd..) • Example • In this example, I am attempting to create Master List from List 1 and List 2 using Sales ID Person as my “Lookup _value” • Some Points to remember, a. For a vlookup function, there always need to be a common field with common values which is referred to as “lookup_value”. b. It can be read like this while attempting the formula, lookup “x” in this range i.e. “x:y” and pick up “y” and do an exact match i.e. “False” or “0” Lookup_value Col_index_num Range_lookupTable_Array Private and Confidential - By Hitesh Biyani
  • 11. IF Statements • This again is most used formula for a lot of analytical scenarios where a data has to react differently based on different situations • Formula: =IF(logical_test, value_if_true, value_if_false) • Logical Statements may include comparison of one value to another using “>”, “<“, “=“, “OR”, “AND”, etc • In simple terms, it looks if the logical statement returns a true value or false value and accordingly, user can define the value to be displayed if the result is true and and value to be displayed if result is false. So basically it has 3 parts i.e. IF (logical test), THEN (if true) and ELSE (If not true) • Let’s Break the above formula in 3 parts – a. Logical Statement – Usually a comparison statement using Logical Operators b. True value – If the answer to the logical statement is true, the value specified for true value will be returned c. False Value - If the answer to the logical statement is false, the value specified for false value will be returned • Example Private and Confidential - By Hitesh Biyani
  • 12. IF Statements(Contd…) • If Statement is a very powerful formula which can be used to derive results of complex problems. It can be used to avoid multiple steps while working on a worksheet and instead can give result in one shot. This can be done using Nested IF Statements. This is covered in our Advanced Excel Program • Example of a Nested IF Statement • =if(logical_test, value_if_true, if(logical_test, value_if_true, if(logical_test, so on and so forth) • Nested IF always has a new IF Statement for False value. This argument can be continued till all the situations are covered. This statement is useful for defining Age Buckets • =if(age<7, “0-7”,if(7<age<15, “8-15”, if(15<age<30, “16-30”, if(30<age<60, “31-60”, “60 and above”)))) • There is one more version of IF Statements named IFERROR • This formula will be triggered if the other formulas wind up giving you an error. It could look something like #N/A and that’s pretty ugly. This can happen for legitimate reasons, but you don’t want to hand your boss a sheet full of #N/A symbols • In the above example to avoid #N/A values, below formula can be used • =iferror(if(age<7, “0-7”,if(7<age<15, “8-15”, if(15<age<30, “16-30”, if(30<age<60, “31-60”, “60 and above”)))),””) Private and Confidential - By Hitesh Biyani
  • 13. SUMIF, COUNTIF AND AVERAGEIF • These Formulas do their respective functions i.e. if the criteria are met • Formulas: =SUMIF(Range, Criteria, Sum_Range) | =COUNTIF(Range, Criteria) | =AVERAGEIF(Range, Criteria, Average_Range) • In Simple Terms, it provides a sum of values within cells, count of cells and average of values within cells for the criteria if satisfied • Examples Range Criteria Sum_Range Average_Range Private and Confidential - By Hitesh Biyani
  • 14. CONCATENATE • Simple yet a very effective and useful formula for many day-to-day operations in office. • This Formula is also denoted by Ampersand (&) Sign and it is used for joining the values in difference cells • Many a times, we get a database where we feel the need to combine 2 columns or 2 fields, this formula helps you achieve that in no time. • Example • In the above example, I have used Concatenate formula in Column D to derive Full Names from the information given in Columns A, B and C • Formula: = Concatenate(A2, “ ”, B2, “ ”, C2) OR =A2&“ ”&B2&“ ”&C2. • In the above formula, I have combined the First Name, Middle Name and Surname with Spaces between each of them. The SPACE or any Text has to be denoted in “Quotation” Marks to be reflected in the result Private and Confidential - By Hitesh Biyani