0% found this document useful (0 votes)
8 views

Introducing Spreadsheets-If and CountIF

Uploaded by

mike.saunders
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Introducing Spreadsheets-If and CountIF

Uploaded by

mike.saunders
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Computing

With: Mr Mike

https://www.techiemike.com
Functions IF and COUNTIF

Date: 30 October 2023

LO: Understand how to use different functions in a spreadsheet.

Success criteria: Students can use IF and COUNTIF to carry out


calculations in a spreadsheet.

https://www.techiemike.com
Functions

Functions are pre programmed into spreadhseets.

The IF function is used to make choices:

=IF( Question, Do this if true, Do this if false)

There are three elements that need to be included inside the brakets,
seperated by a comma.

https://www.techiemike.com
The IF Function
Elements
1. A question: this is the logical test, with a True or False answer.

2. What will be displayed if the answer is True

3. What will be displayed if the answer is False

Example:

=IF(A3=60, “Pass”, “Fail”)

https://www.techiemike.com
Boolean operators

The logical test can use Boolean operators:

> greater than


< less than
= equal to
>= greater tahn or equal to
<= less than or equal to
<> not equal to

=IF(A3>=60, “Pass”, “Fail”)

https://www.techiemike.com
The COUNTIF
Function
The COUNTIF function counts the number of cells in a range that meet a
specific criterion.

=COUNTIF ( Range, Criterion )

The range selects the cells to be checked

The Criterion is the condition that determins which cells will be counted

=COUNTIF( B2:B5, “B-” )

https://www.techiemike.com
Activity Test Marks

Go to todays class, open the test marks document.

You need to create a MS Excel spreadsheet, before you do any work save the file
to your documents folder.

Use the correct formulae to carry out the calculations

Follow the instructions in the document.

https://www.techiemike.com
Pop Quiz
1. Give an example of a cell range?
» A1:A7
2. How many elements are there in an IF function?
»3
3. What are boolean operators?
» > < = >= <= <>
4. What does criterion mean?
» the condition that determins which cells will be counted

https://www.techiemike.com
Thank you.

In our next session, we will use Boolean operators


and the COUNT and COUNTA functions

Have Fun!

https://www.techiemike.com

You might also like