SlideShare a Scribd company logo
1 of 2
Download to read offline
Excel Formulas
Basic math
Function Formula Example
To add up the total =SUM(cell range) =SUM(B2:B9)
To add individual items =Value1 + Value 2 =B2+C2
Subtract =Value1 - Value 2 =B2-C2
Multiply =Value1 * Value2 =B2*C2
Divide =Value1 / Value2 =B2/C2
Exponents =Value1 ^ Value2 =B2^C2
Average =AVERAGE(cell range) =AVERAGE(B2:B9)
Median =MEDIAN(cell range) =MEDIAN(B2:B9)
Max =MAX(cell range) =MAX(B2:B9)
Min =MIN(cell range) =MIN(B2:B9)
Simple formatting tricks
Function Formula Example
To change a cell to proper
case
=PROPER(cell) =PROPER(A2)
To change a cell to upper
case
=UPPER(cell) =UPPER(A2)
To change a cell to lower
case
=LOWER(cell) =LOWER(A2)
Conditional statements
Function Formula Example
If statement =IF(logical test, “result if
the test answer is true”,
“result if the test answer is
false”)
=IF(B2>69,”Pass”,”Fail”)
Exact =EXACT(Value1, value2) =EXACT(B2, C2)
Absolute cell references
When a formula contains an absolute reference, no matter which cell the formula
occupies the cell reference does not change: if you copy or move the formula, it refers
to the same cell as it did in its original location. In an absolute reference, each part of
the reference (the letter that refers to the row and the number that refers to the column)
is preceded by a “$” – for example, $A$1 is an absolute reference to cell A1. Wherever
the formula is copied or moved, it always refers to cell A1.
Pulling things apart
Function Formula Example
To select a certain number
of characters from the left
=LEFT(cellwithtext,
number of characters to be
returned)
=LEFT(A2, 6)
To select a certain number
of characters from the right
=RIGHT(cellwithtext,
number of characters to be
returned)
=RIGHT(A2, 6)
Find text in a field =SEARCH(“text you want
to find”, where you want to
find it)
=SEARCH(“,”, A2)
Extract information from
the middle
=MID(cellwithtext, start
position, number of
characters you want
returned)
=MID(A2, 9, 4)
Separate a last name
(Example: Smith, Jane)
LEFT and SEARCH
functions
=LEFT(A2, SEARCH(“,”,
A2)‐1)
Separate a first name
(Example: Smith, Jane)
MID and SEARCH
functions
=MID(A2, SEARCH(“,”,
A2)+2, 20)
Putting things together
Function Formula Example
To combine cells with a
space in-between
=CONCATENATE(text, “ ”,
text)
=CONCATENATE(A2, “ “,
B2)
To combine cells with a
space in-between (second
option)
=text & “ “ & text =A2 & “ “ & B2
Dealing with dates
Function Formula Example
Return the year =YEAR(datefield) =YEAR(A2)
Return the month =MONTH(datefield) =MONTH(A2)
Return the day =DAY(datefield) =DAY(A2)
Return the day of the week
(1 = Sunday, 2 = Monday,
3 = Tuesday, etc.)
=WEEKDAY(datefield) =WEEKDAY(A2)
To create a date from year,
month, and day
=DATE(year, month, day) =DATE(B2, C2, D2)

More Related Content

What's hot

Mysql Statments
Mysql StatmentsMysql Statments
Mysql Statments
SHC
 

What's hot (18)

Sql Tags
Sql TagsSql Tags
Sql Tags
 
Join query
Join queryJoin query
Join query
 
SQL Tutorial for Beginners
SQL Tutorial for BeginnersSQL Tutorial for Beginners
SQL Tutorial for Beginners
 
Ms excel 2003 intermediate
Ms excel 2003 intermediateMs excel 2003 intermediate
Ms excel 2003 intermediate
 
Types Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql ServerTypes Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql Server
 
Sets
SetsSets
Sets
 
Sql join
Sql  joinSql  join
Sql join
 
Sql joins
Sql joinsSql joins
Sql joins
 
Set concepts
Set conceptsSet concepts
Set concepts
 
joins in database
 joins in database joins in database
joins in database
 
Join sql
Join sqlJoin sql
Join sql
 
Join
JoinJoin
Join
 
SQL Joinning.Database
SQL Joinning.DatabaseSQL Joinning.Database
SQL Joinning.Database
 
Oracle: Joins
Oracle: JoinsOracle: Joins
Oracle: Joins
 
Pre-Cal 20S January 14, 2009
Pre-Cal 20S January 14, 2009Pre-Cal 20S January 14, 2009
Pre-Cal 20S January 14, 2009
 
Alg2 lesson 7-8
Alg2 lesson 7-8Alg2 lesson 7-8
Alg2 lesson 7-8
 
Alg2 lesson 7-8
Alg2 lesson 7-8Alg2 lesson 7-8
Alg2 lesson 7-8
 
Mysql Statments
Mysql StatmentsMysql Statments
Mysql Statments
 

Similar to Excel formulas .

Excel lesson formulas and functions
Excel lesson formulas and functionsExcel lesson formulas and functions
Excel lesson formulas and functions
wildman099
 
Excel advanced formulas and functions i-school tutorials
Excel  advanced formulas and functions   i-school tutorialsExcel  advanced formulas and functions   i-school tutorials
Excel advanced formulas and functions i-school tutorials
techie_govind
 

Similar to Excel formulas . (20)

Excel formulas-a-quick-list
Excel formulas-a-quick-listExcel formulas-a-quick-list
Excel formulas-a-quick-list
 
cheatsheet from DataCamp.pdf
cheatsheet from DataCamp.pdfcheatsheet from DataCamp.pdf
cheatsheet from DataCamp.pdf
 
Excel formula
Excel formulaExcel formula
Excel formula
 
Use of Excel Spreadsheets in Computing Grades
Use of Excel Spreadsheets in Computing GradesUse of Excel Spreadsheets in Computing Grades
Use of Excel Spreadsheets in Computing Grades
 
Excel presentation
Excel presentationExcel presentation
Excel presentation
 
seleceted text for logical functions in microisoift excel
seleceted text for logical functions in microisoift excelseleceted text for logical functions in microisoift excel
seleceted text for logical functions in microisoift excel
 
Excel lesson formulas and functions
Excel lesson formulas and functionsExcel lesson formulas and functions
Excel lesson formulas and functions
 
Spreadsheets[1]
Spreadsheets[1]Spreadsheets[1]
Spreadsheets[1]
 
Spreadhsheets 1
Spreadhsheets 1Spreadhsheets 1
Spreadhsheets 1
 
Spreadhsheets 1
Spreadhsheets 1Spreadhsheets 1
Spreadhsheets 1
 
04.formula and fuction
04.formula and fuction04.formula and fuction
04.formula and fuction
 
Excle formula
Excle formulaExcle formula
Excle formula
 
Mtk3013 chapter 2-3
Mtk3013   chapter 2-3Mtk3013   chapter 2-3
Mtk3013 chapter 2-3
 
Mastering Excel Formulas and Functions
Mastering Excel Formulas and FunctionsMastering Excel Formulas and Functions
Mastering Excel Formulas and Functions
 
Excel (E-Module 2)
Excel (E-Module 2)Excel (E-Module 2)
Excel (E-Module 2)
 
Microsoft excel
Microsoft excelMicrosoft excel
Microsoft excel
 
Excel advanced formulas and functions i-school tutorials
Excel  advanced formulas and functions   i-school tutorialsExcel  advanced formulas and functions   i-school tutorials
Excel advanced formulas and functions i-school tutorials
 
Excel.useful fns
Excel.useful fnsExcel.useful fns
Excel.useful fns
 
Computer skills excel2010 3
Computer skills excel2010 3Computer skills excel2010 3
Computer skills excel2010 3
 
Lesson
LessonLesson
Lesson
 

More from Muhammadh Anas (9)

Excel e book
Excel e bookExcel e book
Excel e book
 
Management information system
Management information systemManagement information system
Management information system
 
Management information system
Management information systemManagement information system
Management information system
 
Management information system.
Management information system.Management information system.
Management information system.
 
Management information system
Management information systemManagement information system
Management information system
 
Nonverbal communication .
Nonverbal communication .Nonverbal communication .
Nonverbal communication .
 
Non verbal communication
Non verbal communicationNon verbal communication
Non verbal communication
 
Introduction to investment function.
Introduction to investment function.Introduction to investment function.
Introduction to investment function.
 
Information communication technology
Information communication technologyInformation communication technology
Information communication technology
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

Excel formulas .

  • 1. Excel Formulas Basic math Function Formula Example To add up the total =SUM(cell range) =SUM(B2:B9) To add individual items =Value1 + Value 2 =B2+C2 Subtract =Value1 - Value 2 =B2-C2 Multiply =Value1 * Value2 =B2*C2 Divide =Value1 / Value2 =B2/C2 Exponents =Value1 ^ Value2 =B2^C2 Average =AVERAGE(cell range) =AVERAGE(B2:B9) Median =MEDIAN(cell range) =MEDIAN(B2:B9) Max =MAX(cell range) =MAX(B2:B9) Min =MIN(cell range) =MIN(B2:B9) Simple formatting tricks Function Formula Example To change a cell to proper case =PROPER(cell) =PROPER(A2) To change a cell to upper case =UPPER(cell) =UPPER(A2) To change a cell to lower case =LOWER(cell) =LOWER(A2) Conditional statements Function Formula Example If statement =IF(logical test, “result if the test answer is true”, “result if the test answer is false”) =IF(B2>69,”Pass”,”Fail”) Exact =EXACT(Value1, value2) =EXACT(B2, C2) Absolute cell references When a formula contains an absolute reference, no matter which cell the formula occupies the cell reference does not change: if you copy or move the formula, it refers to the same cell as it did in its original location. In an absolute reference, each part of the reference (the letter that refers to the row and the number that refers to the column) is preceded by a “$” – for example, $A$1 is an absolute reference to cell A1. Wherever the formula is copied or moved, it always refers to cell A1.
  • 2. Pulling things apart Function Formula Example To select a certain number of characters from the left =LEFT(cellwithtext, number of characters to be returned) =LEFT(A2, 6) To select a certain number of characters from the right =RIGHT(cellwithtext, number of characters to be returned) =RIGHT(A2, 6) Find text in a field =SEARCH(“text you want to find”, where you want to find it) =SEARCH(“,”, A2) Extract information from the middle =MID(cellwithtext, start position, number of characters you want returned) =MID(A2, 9, 4) Separate a last name (Example: Smith, Jane) LEFT and SEARCH functions =LEFT(A2, SEARCH(“,”, A2)‐1) Separate a first name (Example: Smith, Jane) MID and SEARCH functions =MID(A2, SEARCH(“,”, A2)+2, 20) Putting things together Function Formula Example To combine cells with a space in-between =CONCATENATE(text, “ ”, text) =CONCATENATE(A2, “ “, B2) To combine cells with a space in-between (second option) =text & “ “ & text =A2 & “ “ & B2 Dealing with dates Function Formula Example Return the year =YEAR(datefield) =YEAR(A2) Return the month =MONTH(datefield) =MONTH(A2) Return the day =DAY(datefield) =DAY(A2) Return the day of the week (1 = Sunday, 2 = Monday, 3 = Tuesday, etc.) =WEEKDAY(datefield) =WEEKDAY(A2) To create a date from year, month, and day =DATE(year, month, day) =DATE(B2, C2, D2)