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 (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 joins
Sql joinsSql joins
Sql joins
 
Sql join
Sql  joinSql  join
Sql join
 
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

cheatsheet from DataCamp.pdf
cheatsheet from DataCamp.pdfcheatsheet from DataCamp.pdf
cheatsheet from DataCamp.pdfRakesh Nimhan
 
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 GradesElli May Cañas
 
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 excelRaizaCalimagPanganib
 
Excel lesson formulas and functions
Excel lesson formulas and functionsExcel lesson formulas and functions
Excel lesson formulas and functionswildman099
 
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 tutorialstechie_govind
 
Computer skills excel2010 3
Computer skills excel2010 3Computer skills excel2010 3
Computer skills excel2010 3zahraa F.Muhsen
 

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
 

Recently uploaded

OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMELOISARIVERA8
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
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Ă...Nguyen Thanh Tu Collection
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfcupulin
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MysoreMuleSoftMeetup
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 

Recently uploaded (20)

OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
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Ă...
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 

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)