SlideShare a Scribd company logo
1 of 71
Download to read offline
PowerSchool University
2012
Trainer Name
Trainer/Consultant
Excel: Advanced
Functions
Agenda
• Welcome & Introductions
• Lookup and Reference Functions
• Logical Functions
• Conditional Math Functions
• Data Validation and Field Protection
• Time for Review
Lookup and
Reference Functions
Excel Functions
• Excel functions find, calculate, and manipulate data
• Excel has over 300 built-in functions
The LEN (Length) Function
• Used to find long text entries
• Counts total number of characters in a cell
• Returns a number
=LEN(TEXT)
Lookup Functions
• Use MATCH to find a location in a table
=MATCH(Value,Array,Match Type)
• Use VLOOKUP to return data from a table
=VLOOKUP(Value,Array,Column Number, Approximate?)
The MATCH Function
Look for related data in another table, and return the position
=MATCH(Lookup_Value,Lookup_Array,Match Type)
A B C
1
2
3
A B
1 Math Biology
2 English History
=MATCH(“English”,B2:B3,0)
Returns 2
A Word About Match Type
Match Type can be one of three values:
• 0 = Exact Match
• 1 = Find the largest value less than “Value”
(Must be in ascending order)
• -1 = Find the smallest value greater than “Value”
(Must be in descending order)
Using the MATCH Function
• Does A2 have a corresponding
value in the Photos worksheet,
column A?
• Values have to be an exact
match (0)
=MATCH(A2,Photos!A$2:A$427,0)
Returns 1
Students Worksheet
Photos Worksheet
The VLOOKUP Function
Look for related data in the first column of a table, and
return the value from another specified column
A B C
1
2
3
A B
1 Math Biology
2 English History
=VLOOKUP(1,A2:C3,3,FALSE)
Returns “Biology”
=VLOOKUP(Value,Array,Column Number,Approximate?)
Using the VLOOKUP Function
Lookup_Value is the value you're searching for
Table_Array is the range of cells you’re searching in,
with the matching value contained in column 1 and
other columns containing values to be returned
Col_Index_Num is the number of the column in the
Table_Array you want to return
TRUE is for an approximate match, FALSE is for an
exact match
=VLOOKUP(Value,Array,Column Number,Approximate?)
=VLOOKUP(A2
PGFinalGrades Sections
Formula in
this cell
=VLOOKUP(A2,Sections!A$1:B$2651
PGFinalGrades Sections
Formula in
this cell
PGFinalGrades Sections
1 2
=VLOOKUP(A2,Sections!A$1:B$2651,2
Formula in
this cell
PGFinalGrades Sections
=VLOOKUP(A2,Sections!A$1:B$2651,2,FALSE)
The
match
must
be
exact
Formula in
this cell
Grades and Lookups
• Start with the lowest possible
value in the Grade column
• Use the minimum value for
each range
• Sort rows in ascending order
• Make sure to account for the
uppermost value
Grade
Letter
Grade
Gr. Pts.
0 F 0.00
60 D- 0.67
61 D 1.00
69 D+ 1.33
70 C- 1.67
77 C 2.00
78 C+ 2.33
80 B- 2.67
82 B 3.00
87 B+ 3.33
90 A- 3.67
93 A 4.00
No More Dollar Signs!
• Use Named Ranges to make
referring to a table easier
- Names cannot have more
than 255 characters
- Names cannot have spaces
• Select the cells, then enter the
name
• Match a percentage to its letter grade
• Now that you have a named range, use it instead of having to
spell out the cells
• Since you're matching specific values to another value that is
less than or equal to it, use TRUE instead of FALSE
=VLOOKUP(G2,grades_list,2,TRUE)
Use VLOOKUP to Find Grades
VLOOKUP Limitation
• For VLOOKUP to work, the value you are looking for must be in
the first column
• Re-ordering the columns is one way to make it work, but the
INDEX function is quicker
INDEX to the Rescue!
Returns the value of the intersection of a
row and a column from a table
=INDEX(Table,Row Number,Column Number)
A B C
1
2
3
A B
1 Math Biology
2 English History
=INDEX(B2:C3,2,1)
Returns “English”
Look Up Values in Any Column with
INDEX/MATCH
In the INDEX function, define a table
For the row, use a MATCH function to define the
matching column and return the row
Use FALSE, since you want an exact match
Specify the column number that contains the value you
want returned
In the INDEX function, define a table
=INDEX(Photos!A$2:D$427
Formula in
this cell
Reverse Lookup Photos
=INDEX(Photos!A$2:D$427,
MATCH(A2,Photos!D$2:D$427,FALSE)
Formula in
this cell
Reverse Lookup Photos
The
match
must
be
exact
Use FALSE, since you want an exact match
=INDEX(Photos!A$2:D$427,
MATCH(A2,Photos!D$2:D$427,FALSE),1)
1 2 3 4Formula in
this cell
Reverse Lookup Photos
Specify the column number you want to return a value from
Now It’s
Your Turn
Complete hands-on
activities 1-4:
Finding Course Names
that Are Too Long
Finding Missing Records
Using the MATCH
Function
What if You Have Three
Lists?
Matching a SectionID to a
Course Number and
Course Name
Now It’s
Your Turn
Complete hands-on
activities 5-8:
Matching a Grade to a
Letter Grade
No More Dollar Signs in
Your Functions!
Look Up the Grade Points
Associated with a
Percentage
Reverse Lookup
Logical Functions
The IF Function
• The first argument is the test; does D2 equal Caucasian?
• The second argument is what you want to see if the test is
true: "Non-Minority"
• The third argument is what you want to see if the test is false:
"Minority"
=IF(D2=Caucasian,”Non-Minority”,”Minority”)
=IF(Logic Test,True Value,False Value)
The AND Function
• Test for multiple conditions (255 max)
• Every condition has to be true for the result to return TRUE
• To test for students who are both American-Indian and female,
the formula is:
=AND(Logic Test1,Logic Test2,...)
=AND(D2="American-Indian",E2="Female")
Using IF with the AND function
• The AND function by itself returns TRUE or FALSE only
• Use the IF function, along with the AND function, to control the
message:
=IF(AND(D2="American-Indian",E2="Female"),
"Eligible","Not Eligible")
The OR Function
• Test for multiple conditions (255 max), just like AND
• Only one of the conditions has to be true for the result to
be TRUE
• To test for students who are an ethnic minority or female,
the formula is:
=OR(Logic Test1,Logic Test2,...)
=OR(F2="Minority",E2="Female")
Using IF with the OR Function
• Just like the AND function, the OR function by itself can only
return TRUE or FALSE
• Use the IF function to customize the message:
=IF(OR(F2="Minority",E2="Female"),
"EEOC Group","Non-EEOC Group")
Change the Missing Pictures Message
• In the earlier example, the pictures that weren't found
returned the value #N/A
• To get rid of that error message, use the ISNA function:
=ISNA(MATCH(A2,Photos!A$2:A$427,FALSE))
=ISNA(VALUE)
What Happened?!
• The pictures that are missing are showing the word TRUE
• The pictures that are not missing are showing the word FALSE
Reverse the Polarity
• By using the NOT function, you can change the TRUE cells to
FALSE, and the FALSE cells to TRUE
• The revised formula is:
=NOT(ISNA(MATCH(A2,Photos!A$2:A$427,FALSE)))
Now It’s
Your Turn
Complete hands-on activities 9–14:
The IF Function
The AND Function
Change TRUE or FALSE to a More
Meaningful Message
The OR Function
Combining the IF and OR Functions
Missing Pictures, Part 2
Conditional Math
Functions
Conditionally Summing Values
• SUM cells IF they meet a condition
• The cells you're checking and the cells you're summing can
be different
=SUMIF(A2:A196,"Art Supplies",B2:B196)
=SUMIF(Criteria Range,Criteria,Sum Range)
Find Only Art Supplies Fees
Select the Criteria Range: Fee Type
Define the Criteria: Art Supplies
Select the Sum Range: Fee Amount
=SUMIF(A2:A196,
Select the Criteria Range:
Fee Type
=SUMIF(A2:A196,"Art Supplies",
Define the Criteria:
Art Supplies
=SUMIF(A2:A196,"Art Supplies",B2:B196)
Select the Sum Range:
Fee Amount
A Test to Make Sure It Works
1. Turn on AutoFiltering
2. Filter Fee Type for “Art Supplies”
A Test to Make Sure It Works
1. Select all of the Art Supplies fees
2. Check the Status Bar at the bottom
of the screen for a quick sum
125.00
Finding Duplicate Records
• Count only cells that meet a specified condition
• Find duplicate records (look for cell values that show up
more than once)
• If no unique value exists, join together the individual pieces
of data
=COUNTIF(I$2:I$73,I2)
=COUNTIF(Range,Criteria)
Find Duplicate Enrollments
Make a unique field
Use the COUNTIF function; the first argument is the
range of cells
The second argument is the value to look for
Add an IF statement—Does it appear more than once?
Flag records that show up more than once as possible
duplicates
=A2&" "&D2&" "&MONTH(G2)&MONTH(H2)
• A2 is the course number
• D2 is the student number
• MONTH(G2) is the numeric month of the DateEnrolled
• MONTH(H2) is the numeric month of the DateLeft
I$2:I$73 is the range of cells where the unique values are listed
=COUNTIF(I$2:I$I$73
I2 is the current value
=COUNTIF(I$2:I$I$73,I2)
Does the value show up more than once?
=IF(COUNTIF(I$2:I$I$73,I2)>1),
=IF(COUNTIF(I$2:I$I$73,I2)>1),
"Possible Duplicate","Unique")
If the value does show up more than once, use the words “Possible
Duplicate” in the cell; if it does not, use the word “Unique”
Now It’s
Your Turn
Complete hands-on
activities 15–16:
Adding the Art
Supplies Fees
Finding Duplicate
Records
Data Validation and
Field Protection
Data Validation
• Whole Numbers
• Decimals
• List
• Date
• Time
• Text Length
• Custom criteria
Field Protection
• Protects fields from “accidents”
• Great for protecting formulas
• Use Control + ~
• Passwords are optional
Now It’s
Your Turn
Complete hands-on
activity 17:
Data Validation and
Field Protection
Time
for
Review
A B
C DFIND
INDEX MATCH
COMPARE
What function can you use to verify if
a record exists in two different lists?
Question 1
A B
C D
Answer 1
FIND
INDEX MATCH
COMPARE
What function can you use to verify if
a record exists in two different lists?
A B
C DCHAR
LEN PROPER
EXACT
What function can you use to verify
a course name isn't too long?
Question 2
A B
C D
What function can you use to verify
a course name isn't too long?
Answer 2
LEN
EXACTCHAR
PROPER
Question 3
True/False: To find the data in a
specific cell, use the VLOOKUP
function.
True!
To find the data in a specific cell,
use the VLOOKUP function.
Answer 3
A B
C DSUMIF
SUMPRODUCT COUNTIF
SUM
What function can you use to add
up numbers that meet a certain
condition?
Question 4
A B
C D
Answer 4
SUMIF
SUMPRODUCT COUNTIF
SUM
What function can you use to add
up numbers that meet a certain
condition?
Question 5
True/False: You can use the IF
function to compare data.
False!
Use the IF function to return
different values based on a
Logical Test.
Answer 5
Key Points from Today’s Class
• When using lookup and reference functions,
use TRUE for an approximate match and
FALSE for an exact match
• When used with such functions as AND, OR,
and NOT, the IF function is a powerful tool
• When using SUMIF or COUNTIF, make sure to
use dollar signs in the first argument to keep
the criteria the same, or use named ranges
Question and Answer
Copyright © 2011 Pearson Education, Inc., or its affiliates. All rights reserved.
Don’t Forget!!
Navigate to
http://powerschooluniversity.com
and tell us what you think!

More Related Content

Similar to Excel functions, formulas, Prepared by singh institute RK Puram

1.2 Zep Excel.pptx
1.2 Zep Excel.pptx1.2 Zep Excel.pptx
1.2 Zep Excel.pptxPizzaM
 
Excel functions formulas
Excel functions formulasExcel functions formulas
Excel functions formulasLearnIT@UD
 
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
 
UNIT 1 - Revision of Basics - II.pptx
UNIT 1 - Revision of Basics - II.pptxUNIT 1 - Revision of Basics - II.pptx
UNIT 1 - Revision of Basics - II.pptxNishanSidhu2
 
Microsoft excel training
Microsoft excel trainingMicrosoft excel training
Microsoft excel trainingEmilyE120
 
Power of functions in a typed world
Power of functions in a typed worldPower of functions in a typed world
Power of functions in a typed worldDebasish Ghosh
 
Excel Training for SEOs
Excel Training for SEOsExcel Training for SEOs
Excel Training for SEOsTroyfawkes
 
3. lookup functions in excel
3. lookup functions in excel3. lookup functions in excel
3. lookup functions in excelDr. Prashant Vats
 
30237--KK30237--KK EMBED Equa.docx
30237--KK30237--KK EMBED Equa.docx30237--KK30237--KK EMBED Equa.docx
30237--KK30237--KK EMBED Equa.docxgilbertkpeters11344
 
Due November 22 2021 This assignment is worth 20 of your .pdf
Due November 22 2021 This assignment is worth 20 of your .pdfDue November 22 2021 This assignment is worth 20 of your .pdf
Due November 22 2021 This assignment is worth 20 of your .pdfabibagschennai
 
Lecture 5: Functional Programming
Lecture 5: Functional ProgrammingLecture 5: Functional Programming
Lecture 5: Functional ProgrammingEelco Visser
 

Similar to Excel functions, formulas, Prepared by singh institute RK Puram (20)

Excel tips
Excel tipsExcel tips
Excel tips
 
1.2 Zep Excel.pptx
1.2 Zep Excel.pptx1.2 Zep Excel.pptx
1.2 Zep Excel.pptx
 
Ms excel
Ms excelMs excel
Ms excel
 
Excel functions formulas
Excel functions formulasExcel functions formulas
Excel functions formulas
 
Excel formula
Excel formulaExcel formula
Excel formula
 
cheatsheet from DataCamp.pdf
cheatsheet from DataCamp.pdfcheatsheet from DataCamp.pdf
cheatsheet from DataCamp.pdf
 
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
 
UNIT 1 - Revision of Basics - II.pptx
UNIT 1 - Revision of Basics - II.pptxUNIT 1 - Revision of Basics - II.pptx
UNIT 1 - Revision of Basics - II.pptx
 
Microsoft excel training
Microsoft excel trainingMicrosoft excel training
Microsoft excel training
 
Excel formulas
Excel formulasExcel formulas
Excel formulas
 
Power of functions in a typed world
Power of functions in a typed worldPower of functions in a typed world
Power of functions in a typed world
 
Excel Training for SEOs
Excel Training for SEOsExcel Training for SEOs
Excel Training for SEOs
 
Excel.07.ppt
Excel.07.pptExcel.07.ppt
Excel.07.ppt
 
itm file
 itm file itm file
itm file
 
Use Excel Formulas
Use Excel FormulasUse Excel Formulas
Use Excel Formulas
 
3. lookup functions in excel
3. lookup functions in excel3. lookup functions in excel
3. lookup functions in excel
 
30237--KK30237--KK EMBED Equa.docx
30237--KK30237--KK EMBED Equa.docx30237--KK30237--KK EMBED Equa.docx
30237--KK30237--KK EMBED Equa.docx
 
Due November 22 2021 This assignment is worth 20 of your .pdf
Due November 22 2021 This assignment is worth 20 of your .pdfDue November 22 2021 This assignment is worth 20 of your .pdf
Due November 22 2021 This assignment is worth 20 of your .pdf
 
Lecture 5: Functional Programming
Lecture 5: Functional ProgrammingLecture 5: Functional Programming
Lecture 5: Functional Programming
 
Spreadsheet Package
Spreadsheet PackageSpreadsheet Package
Spreadsheet Package
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 

Excel functions, formulas, Prepared by singh institute RK Puram

  • 2. Agenda • Welcome & Introductions • Lookup and Reference Functions • Logical Functions • Conditional Math Functions • Data Validation and Field Protection • Time for Review
  • 4. Excel Functions • Excel functions find, calculate, and manipulate data • Excel has over 300 built-in functions
  • 5. The LEN (Length) Function • Used to find long text entries • Counts total number of characters in a cell • Returns a number =LEN(TEXT)
  • 6. Lookup Functions • Use MATCH to find a location in a table =MATCH(Value,Array,Match Type) • Use VLOOKUP to return data from a table =VLOOKUP(Value,Array,Column Number, Approximate?)
  • 7. The MATCH Function Look for related data in another table, and return the position =MATCH(Lookup_Value,Lookup_Array,Match Type) A B C 1 2 3 A B 1 Math Biology 2 English History =MATCH(“English”,B2:B3,0) Returns 2
  • 8. A Word About Match Type Match Type can be one of three values: • 0 = Exact Match • 1 = Find the largest value less than “Value” (Must be in ascending order) • -1 = Find the smallest value greater than “Value” (Must be in descending order)
  • 9. Using the MATCH Function • Does A2 have a corresponding value in the Photos worksheet, column A? • Values have to be an exact match (0) =MATCH(A2,Photos!A$2:A$427,0) Returns 1 Students Worksheet Photos Worksheet
  • 10. The VLOOKUP Function Look for related data in the first column of a table, and return the value from another specified column A B C 1 2 3 A B 1 Math Biology 2 English History =VLOOKUP(1,A2:C3,3,FALSE) Returns “Biology” =VLOOKUP(Value,Array,Column Number,Approximate?)
  • 11. Using the VLOOKUP Function Lookup_Value is the value you're searching for Table_Array is the range of cells you’re searching in, with the matching value contained in column 1 and other columns containing values to be returned Col_Index_Num is the number of the column in the Table_Array you want to return TRUE is for an approximate match, FALSE is for an exact match =VLOOKUP(Value,Array,Column Number,Approximate?)
  • 16. Grades and Lookups • Start with the lowest possible value in the Grade column • Use the minimum value for each range • Sort rows in ascending order • Make sure to account for the uppermost value Grade Letter Grade Gr. Pts. 0 F 0.00 60 D- 0.67 61 D 1.00 69 D+ 1.33 70 C- 1.67 77 C 2.00 78 C+ 2.33 80 B- 2.67 82 B 3.00 87 B+ 3.33 90 A- 3.67 93 A 4.00
  • 17. No More Dollar Signs! • Use Named Ranges to make referring to a table easier - Names cannot have more than 255 characters - Names cannot have spaces • Select the cells, then enter the name
  • 18. • Match a percentage to its letter grade • Now that you have a named range, use it instead of having to spell out the cells • Since you're matching specific values to another value that is less than or equal to it, use TRUE instead of FALSE =VLOOKUP(G2,grades_list,2,TRUE) Use VLOOKUP to Find Grades
  • 19. VLOOKUP Limitation • For VLOOKUP to work, the value you are looking for must be in the first column • Re-ordering the columns is one way to make it work, but the INDEX function is quicker
  • 20. INDEX to the Rescue! Returns the value of the intersection of a row and a column from a table =INDEX(Table,Row Number,Column Number) A B C 1 2 3 A B 1 Math Biology 2 English History =INDEX(B2:C3,2,1) Returns “English”
  • 21. Look Up Values in Any Column with INDEX/MATCH In the INDEX function, define a table For the row, use a MATCH function to define the matching column and return the row Use FALSE, since you want an exact match Specify the column number that contains the value you want returned
  • 22. In the INDEX function, define a table =INDEX(Photos!A$2:D$427 Formula in this cell Reverse Lookup Photos
  • 23.
  • 24. =INDEX(Photos!A$2:D$427, MATCH(A2,Photos!D$2:D$427,FALSE) Formula in this cell Reverse Lookup Photos The match must be exact Use FALSE, since you want an exact match
  • 25. =INDEX(Photos!A$2:D$427, MATCH(A2,Photos!D$2:D$427,FALSE),1) 1 2 3 4Formula in this cell Reverse Lookup Photos Specify the column number you want to return a value from
  • 26. Now It’s Your Turn Complete hands-on activities 1-4: Finding Course Names that Are Too Long Finding Missing Records Using the MATCH Function What if You Have Three Lists? Matching a SectionID to a Course Number and Course Name
  • 27. Now It’s Your Turn Complete hands-on activities 5-8: Matching a Grade to a Letter Grade No More Dollar Signs in Your Functions! Look Up the Grade Points Associated with a Percentage Reverse Lookup
  • 29. The IF Function • The first argument is the test; does D2 equal Caucasian? • The second argument is what you want to see if the test is true: "Non-Minority" • The third argument is what you want to see if the test is false: "Minority" =IF(D2=Caucasian,”Non-Minority”,”Minority”) =IF(Logic Test,True Value,False Value)
  • 30. The AND Function • Test for multiple conditions (255 max) • Every condition has to be true for the result to return TRUE • To test for students who are both American-Indian and female, the formula is: =AND(Logic Test1,Logic Test2,...) =AND(D2="American-Indian",E2="Female")
  • 31. Using IF with the AND function • The AND function by itself returns TRUE or FALSE only • Use the IF function, along with the AND function, to control the message: =IF(AND(D2="American-Indian",E2="Female"), "Eligible","Not Eligible")
  • 32. The OR Function • Test for multiple conditions (255 max), just like AND • Only one of the conditions has to be true for the result to be TRUE • To test for students who are an ethnic minority or female, the formula is: =OR(Logic Test1,Logic Test2,...) =OR(F2="Minority",E2="Female")
  • 33. Using IF with the OR Function • Just like the AND function, the OR function by itself can only return TRUE or FALSE • Use the IF function to customize the message: =IF(OR(F2="Minority",E2="Female"), "EEOC Group","Non-EEOC Group")
  • 34. Change the Missing Pictures Message • In the earlier example, the pictures that weren't found returned the value #N/A • To get rid of that error message, use the ISNA function: =ISNA(MATCH(A2,Photos!A$2:A$427,FALSE)) =ISNA(VALUE)
  • 35. What Happened?! • The pictures that are missing are showing the word TRUE • The pictures that are not missing are showing the word FALSE
  • 36. Reverse the Polarity • By using the NOT function, you can change the TRUE cells to FALSE, and the FALSE cells to TRUE • The revised formula is: =NOT(ISNA(MATCH(A2,Photos!A$2:A$427,FALSE)))
  • 37. Now It’s Your Turn Complete hands-on activities 9–14: The IF Function The AND Function Change TRUE or FALSE to a More Meaningful Message The OR Function Combining the IF and OR Functions Missing Pictures, Part 2
  • 39. Conditionally Summing Values • SUM cells IF they meet a condition • The cells you're checking and the cells you're summing can be different =SUMIF(A2:A196,"Art Supplies",B2:B196) =SUMIF(Criteria Range,Criteria,Sum Range)
  • 40. Find Only Art Supplies Fees Select the Criteria Range: Fee Type Define the Criteria: Art Supplies Select the Sum Range: Fee Amount
  • 44. A Test to Make Sure It Works 1. Turn on AutoFiltering 2. Filter Fee Type for “Art Supplies”
  • 45. A Test to Make Sure It Works 1. Select all of the Art Supplies fees 2. Check the Status Bar at the bottom of the screen for a quick sum 125.00
  • 46. Finding Duplicate Records • Count only cells that meet a specified condition • Find duplicate records (look for cell values that show up more than once) • If no unique value exists, join together the individual pieces of data =COUNTIF(I$2:I$73,I2) =COUNTIF(Range,Criteria)
  • 47. Find Duplicate Enrollments Make a unique field Use the COUNTIF function; the first argument is the range of cells The second argument is the value to look for Add an IF statement—Does it appear more than once? Flag records that show up more than once as possible duplicates
  • 48. =A2&" "&D2&" "&MONTH(G2)&MONTH(H2) • A2 is the course number • D2 is the student number • MONTH(G2) is the numeric month of the DateEnrolled • MONTH(H2) is the numeric month of the DateLeft
  • 49. I$2:I$73 is the range of cells where the unique values are listed =COUNTIF(I$2:I$I$73
  • 50. I2 is the current value =COUNTIF(I$2:I$I$73,I2)
  • 51. Does the value show up more than once? =IF(COUNTIF(I$2:I$I$73,I2)>1),
  • 52. =IF(COUNTIF(I$2:I$I$73,I2)>1), "Possible Duplicate","Unique") If the value does show up more than once, use the words “Possible Duplicate” in the cell; if it does not, use the word “Unique”
  • 53. Now It’s Your Turn Complete hands-on activities 15–16: Adding the Art Supplies Fees Finding Duplicate Records
  • 55. Data Validation • Whole Numbers • Decimals • List • Date • Time • Text Length • Custom criteria
  • 56. Field Protection • Protects fields from “accidents” • Great for protecting formulas • Use Control + ~ • Passwords are optional
  • 57. Now It’s Your Turn Complete hands-on activity 17: Data Validation and Field Protection
  • 59. A B C DFIND INDEX MATCH COMPARE What function can you use to verify if a record exists in two different lists? Question 1
  • 60. A B C D Answer 1 FIND INDEX MATCH COMPARE What function can you use to verify if a record exists in two different lists?
  • 61. A B C DCHAR LEN PROPER EXACT What function can you use to verify a course name isn't too long? Question 2
  • 62. A B C D What function can you use to verify a course name isn't too long? Answer 2 LEN EXACTCHAR PROPER
  • 63. Question 3 True/False: To find the data in a specific cell, use the VLOOKUP function.
  • 64. True! To find the data in a specific cell, use the VLOOKUP function. Answer 3
  • 65. A B C DSUMIF SUMPRODUCT COUNTIF SUM What function can you use to add up numbers that meet a certain condition? Question 4
  • 66. A B C D Answer 4 SUMIF SUMPRODUCT COUNTIF SUM What function can you use to add up numbers that meet a certain condition?
  • 67. Question 5 True/False: You can use the IF function to compare data.
  • 68. False! Use the IF function to return different values based on a Logical Test. Answer 5
  • 69. Key Points from Today’s Class • When using lookup and reference functions, use TRUE for an approximate match and FALSE for an exact match • When used with such functions as AND, OR, and NOT, the IF function is a powerful tool • When using SUMIF or COUNTIF, make sure to use dollar signs in the first argument to keep the criteria the same, or use named ranges
  • 71. Copyright © 2011 Pearson Education, Inc., or its affiliates. All rights reserved. Don’t Forget!! Navigate to http://powerschooluniversity.com and tell us what you think!