SlideShare a Scribd company logo
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

PPTX
Joins in SQL
PPT
Irahm I
PPTX
SQL JOIN
PDF
0.1 Sets
PPTX
Sql joins inner join self join outer joins
PPTX
Joins And Its Types
PDF
0.2 Real Number Properties
Joins in SQL
Irahm I
SQL JOIN
0.1 Sets
Sql joins inner join self join outer joins
Joins And Its Types
0.2 Real Number Properties

What's hot (18)

ODT
PPSX
Join query
PPTX
SQL Tutorial for Beginners
PPTX
Ms excel 2003 intermediate
PPT
Types Of Join In Sql Server - Join With Example In Sql Server
PPTX
PPTX
Sql joins
PPT
Sql join
PPT
PPTX
joins in database
PPT
Join sql
PPTX
PPT
SQL Joinning.Database
PPTX
Oracle: Joins
PDF
Pre-Cal 20S January 14, 2009
PPTX
Alg2 lesson 7-8
PPTX
Alg2 lesson 7-8
PPT
Mysql Statments
 
Join query
SQL Tutorial for Beginners
Ms excel 2003 intermediate
Types Of Join In Sql Server - Join With Example In Sql Server
Sql joins
Sql join
joins in database
Join sql
SQL Joinning.Database
Oracle: Joins
Pre-Cal 20S January 14, 2009
Alg2 lesson 7-8
Alg2 lesson 7-8
Mysql Statments
 
Ad

Similar to Excel formulas (20)

PPTX
Functions and formulas of ms excel
PDF
functionsandformulas-131221213835-phpapp01.pdf
PPTX
Grade 6 computer
PPTX
02 microsoft office (entering formulas)
PPTX
02 microsoft office (entering formulas)
PPT
Excel 2007 slide enter formulas
PPT
03 ms excel
PDF
Excel (E-Module 2)
PPTX
Excel 2007 (formula)
DOCX
PowerPoint presentation on Microsoft Excel.docx
PDF
instapdf.in-ms-excel-formulas-and-functions-list-856.pdf
PPT
Excelformulas
PPTX
Formulas and functions
PPT
Excel 2007- Enter Formulas
PPT
Excel Chapter 2 - Inserting Formulas in a Worksheet
 
PDF
MS Excel Overall Power Point Presentatio
PPT
Creating Formulas in Excel
PPTX
Basic course of MS Excel 2010 basics Chapter -02
PPTX
Useful Excel Functions & Formula Used everywhere.pptx
PPTX
Excel basics for everyday use part three
Functions and formulas of ms excel
functionsandformulas-131221213835-phpapp01.pdf
Grade 6 computer
02 microsoft office (entering formulas)
02 microsoft office (entering formulas)
Excel 2007 slide enter formulas
03 ms excel
Excel (E-Module 2)
Excel 2007 (formula)
PowerPoint presentation on Microsoft Excel.docx
instapdf.in-ms-excel-formulas-and-functions-list-856.pdf
Excelformulas
Formulas and functions
Excel 2007- Enter Formulas
Excel Chapter 2 - Inserting Formulas in a Worksheet
 
MS Excel Overall Power Point Presentatio
Creating Formulas in Excel
Basic course of MS Excel 2010 basics Chapter -02
Useful Excel Functions & Formula Used everywhere.pptx
Excel basics for everyday use part three
Ad

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PDF
Trump Administration's workforce development strategy
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Complications of Minimal Access Surgery at WLH
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PDF
1_English_Language_Set_2.pdf probationary
PDF
advance database management system book.pdf
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
Classroom Observation Tools for Teachers
Trump Administration's workforce development strategy
Weekly quiz Compilation Jan -July 25.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
History, Philosophy and sociology of education (1).pptx
What if we spent less time fighting change, and more time building what’s rig...
UNIT III MENTAL HEALTH NURSING ASSESSMENT
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Orientation - ARALprogram of Deped to the Parents.pptx
Complications of Minimal Access Surgery at WLH
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
1_English_Language_Set_2.pdf probationary
advance database management system book.pdf
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
202450812 BayCHI UCSC-SV 20250812 v17.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx

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)