Excel
Excel Overview:
Excel's structure is made of two pieces, the Ribbon and the Sheet.
Ribbon
The Ribbon provides shortcuts to Excel commands. A command is an
action that allows you to make something happen. This can for example
be to: insert a table, change the font size, or to change the color of a cell.
The Ribbon is made up by the App launcher, Tabs, Groups and
Commands. In this section we will explain the different parts of the
Ribbon.
App Launcher
The App launcher icon has nine dots and is called the Office 365
navigation bar. It allows you to access the different parts of the Office
365 suite, such as Word, PowerPoint and Outlook. App launcher can be
used to switch seamlessly between the Office 365 applications.
Tabs
The tab is a menu with sub divisions sorted into groups. The tabs allow
users to quickly navigate between options of menus which display
different groups of functionality.
Groups
The groups are sets of related commands. The groups are separated by
the thin vertical line break.
Commands
The commands are the buttons that you use to do actions.
Sheet
The Sheet is a set of rows and columns. It forms the same pattern as we
have in math exercise books, the rectangle boxes formed by the pattern
are called cells.
Each cell has its unique reference, which is its coordinates, this is where
the columns and rows intersect.
Multiple Sheets
You start with one Sheet by default when you create a new workbook.
You can have many sheets in a workbook. New sheets can be added and
removed. Sheets can be named to making it easier to work with data
sets.
Tip: You can use the hotkey Shift + F11 to create new sheets. Try it!
Excel Syntax
A formula in Excel is used to do mathematical calculations. Formulas
always start with the equal sign = typed in the cell, followed by your
calculation.
Creating formulas, step by step
• Select a cell
• Type the equal sign (=)
• Select a cell or type value
• Enter an arithmetic operator
• Select another cell or type value
• Press enter
Using Formulas with Cells
You can type values to cells and use them in your formulas.
Lets type some dummy values to get started. Double click the cells to
type values into them. Go ahead and type:
• A1(309)
• A2(320)
• B1(39)
• B2(35)
Excel Ranges
Range is an important part of Excel because it allows you to work with
selections of cells.
There are four different operations for selection;
• Selecting a cell
• Selecting multiple cells
• Selecting a column
• Selecting a row
The Name Box
The Name Box shows you the reference of which cell or range you have
selected. It can also be used to select cells or ranges by typing their
values.
Selecting a Cell
Cells are selected by clicking them with the left mouse button or by
navigating to them with the keyboard arrows.
It is easiest to use the mouse to select cells.
Selecting Multiple Cells
More than one cell can be selected by pressing and holding down CTRL or
Command and left clicking the cells.
Selecting a Column
Columns are selected by left clicking it. This will select all cells in the
sheet related to the column.
Selecting a Row
Rows are selected by left clicking it. This will select all the cells in the
sheet related to that row.
Excel Fill
Filling
Filling makes your life easier and is used to fill ranges with values, so that
you do not have to type manual entries. Filling can be used for:
• Copying
• Sequences
• Dates
• Functions (*)
Excel Move Cells
Moving Cells
There are two ways to move cells: Drag and drop or by copy and paste.
Cut and Paste
Ranges can be moved by cutting and pasting values from one place to
another.
Copy and paste
Copy and paste works in the same way as cut and paste. The difference is
that it does not remove the original cells.
Delete Data
Select the original cells and remove them by pressing the "Delete" button
on the keyboard.
Excel Add Cells
Adding New Columns
Columns can be added and deleted. You access the menu by right clicking
the column letter. New columns are added to the same place you clicked.
Excel Delete Cells
Delete Cells
Cells can be deleted by selecting them, and pressing the delete button.
Excel Undo and Redo
The Undo function lets you reverse an action.
Undo is helpful if you regret an action and want to go back to how it was
before.
Examples of use
• Undo deleting a formula
• Undo adding a column
• Undo removing a row
There are two ways to access the Undo Command.
1. Pressing the Undo button in Ribbon
2. Using the keyboard shortcut CTRL + Z / Command + Z
Redo
The redo function has the opposite effect as Undo, it reverses the Undo
action.
Redo is helpful if you regret using Undo.
There are two ways to access the Redo Command.
1. Pressing the Redo button in Ribbon.
2. Using the keyboard shortcut CTRL + Y / Command + Z
Excel Formulas
A formula in Excel is used to do mathematical calculations. Formulas
always start with the equal sign (=) typed in the cell, followed by your
calculation.
Formulas can be used for calculations such as:
• =1+1
• =2*2
• =4/2=2
Excel Relative References
References are relative by default, and are without dollar sign ($).
The relative reference makes the cells reference free. It gives the fill
function freedom to continue the order without restrictions.
Absolute References
Absolute reference is when a reference has the dollar sign ($).
It locks the reference in the formula.
Add $ to the formula to use the absolute references.
The dollar sign has three different states:
• Absolute for column and row. The reference is absolutely locked.
E.g., =$A$1
• Absolute for the column. The reference is locked to that column.
The row remains relative. E.g., =$A1
• Absolute for the row. The reference is locked to that row. The
column remains relative. E.g., =A$1
Excel Arithmetic Operator
Addition Operator
Addition uses the + symbol in Excel, and is also known as plus.
There are two ways to do addition in Excel. Either by using the + symbol
in a formula or by using the SUM function.
How to add cells:
1. Select a cell and type ( = )
2. Select a cell
3. Type ( + )
4. Select another cell
5. Hit Enter.
You can add more cells to the formula by typing ( + ) between the cells.
Adding two manual entries.
1. Select a cell and type ( + )
2. Type 100 + 50
3. Hit Enter
Adding with SUM function:
1. Type (=SUM)
2. Double click the SUM method.
3. Mark the range.
4. Hit Enter.
Adding using Absolute Reference:
1. Select the cell and type ( = )
2. Select the cell you want to lock, add two dollar sign ( $ ) before the
column and row.
3. Type ( + )
4. Fill a range.
Subtraction Operator
Subtraction uses the ( - ) symbol, and is also known as minus.
How to subtract cells:
1. Select a cell and type ( = )
2. Select the cell
3. Type ( - )
4. Select the another cell
5. Hit Enter.
Subtracting Two manual Entries:
1. Select a cell and type ( = )
2. Type 100 – 50
3. Hit Enter
Subtracting using the Absolute reference:
1. Select a cell and type ( = )
2. Select the cell
3. Type ( - )
4. Select the another cell and two dollar sign ( $ ) before the column
and row.
5. Hit Enter
6. Fill the range
Excel Multiplication Operator
Multiplication used the ( * ) symbol in Excel.
How to multiply cells:
1. Select a cell and type ( = )
2. Select a cell
3. Type ( * )
4. Select another cell
5. Hit Enter
Multiplying Manual Entries
1. Select a cell and type ( = )
2. Type 2*2
3. Hit Enter
Multiplying using Absolute reference
1. Select a cell and type ( = )
2. Select the call you want to lock and add two dollar sign ( $ ) before
the column and row.
3. Type ( * )
4. Select another cell
5. Hit enter
6. Fill the range
Excel Division Operator
Division uses the ( / ) symbol in Excel.
How to division cells:
1. Select a cell and type ( = )
2. Select a cell
3. Type ( / )
4. Select another cell
5. Hit Enter
You can add more cells to the formula by typing ( / ) between the cells.
Dividing manual entries
1. Select a cell and type ( = )
2. Type 4 / 2
3. Hit enter.
Dividing using Absolute Reference
You can lock a cell and divide it with other cells.
1. Select a cell and type ( = )
2. Select the dividend
3. Type ( / )
4. Select the divisor lock and add two dollar signs ( $ ) before the
column and row.
5. Hit enter
6. Fill the range.
Excel Parentheses
Parentheses () is used to change the order of an operation.
Using parentheses makes Excel do the calculation for the numbers inside
the parentheses first, before calculating the reset of the formula.
Parentheses are added by typing () on both sides of numbers, like (2+2).
Examples:
No parentheses-
=10+5*2
The result is 20 because it calculates (10+10)
With parentheses-
=(10+5)*2
The result is 30 because it calculates (15)*2
Formulas can have groups of parentheses
=(10+5)+(2*4)+(4/2)
Excel Functions
Excel has many premade formulas, called functions.
Functions are typed by = and the functions name.
=AND Returns TRUE or FALSE based on
two or more conditions
=AVERAGE Calculates the average (arithmetic
mean)
=AVERAGEIF Calculates the average of a range
based on a TRUE or FALSE
condition
=AVERAGEIFS Calculates the average of a range
based on one ore more
TRUE/FALSE conditions
=COUNT Counts cells with numbers in a
range
=COUNTA Counts all cells in a range that has
values, both numbers and letters
=COUNTBLANK Counts blank cells in a range
=COUNTIF Counts cells as specified
=COUNTIFS Counts cells in a range based on
one or more TRUE or FALSE
condition
=IF Returns values based on a TRUE or
FALSE condition
=IFS Returns values based on one or
more TRUE or FALSE conditions
=MAX Returns the highest value in a
range
=MEDIAN Returns the middle value in the
data
=MIN Returns the lowest value in a
range
=MODE Finds the number seen most times.
The function always returns a
single number
=OR Returns TRUE or FALSE based on
two or more conditions
=STDEV.P Calculates the Standard Deviation
(Std) for the entire population
=STDEV.S Calculates the Standard Deviation
(Std) for a sample
=SUM Adds together numbers in a range
=SUMIF Calculates the sum of values in a
range based on a TRUE or FALSE
condition
=SUMIFS Calculates the sum of a range
based on one or more TRUE or
FALSE condition
=VLOOKUP Allows vertical searches for values
in a table
=XOR Returns TRUE or FALSE based on
two or more conditions
Excel AND Function
The AND function is a premade function in Excel, which returns TRUE or
FALSE based on two or more conditions.
It is typed =AND and takes two or more conditions.
The conditions are referred ad [logical1], [logical2], and so on.
The conditions can check things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
Note: The different parts of the function are separated by symbol like
comma ( , ) or semicolon ( ; )
Example of AND Function:
Check if the Pokemon type is fire and has speed greater than 70:
The function returns “TRUE” or “FALSE”.
Step By Step Output:
1. Select the cell D2
2. Type =AND
3. Double click the AND command.
4. Specify the first condition B2=”Fire”
5. Type ,
6. Specify the second condition C2>70
7. Hit enter
Since the value in the cell B2 is not “Fire” the first condition is FALSE
Since the value in the cell C2 is less than 70 the second condition is also
FALSE
All conditions need to be TRUE for the AND function to return TRUE.
Note: Text values needs to be in quotes: “”
Excel AVERAGE Function
The AVERAGE function is a premade function in Excel, which calculates
the average (arithmetic mean).
It is typed =AVERAGE
It adds the range and divides it by the number of observations.
Example:
Let’s have a look at an example where we help the Pokemon trainers to
calculate the average of Pokeballs per trainer.
How to use the =AVERAGE function, step by step:
1. Select a cell (F2)
2. Type =AVERAGE
3. Double click the AVERAGE command
4. Select a range (B2:E2)
5. Hit enter
6. Next, Fill F2:F7
Here we get the average of all the trainer in F column.
Excel AVERAGEIF Function
The AVERAGEIF function is a premade function in Excel, which calculates
the average of a range based on true or false condition.
It is typed =AVERAGEIF and has three parts:
=AVERAGEIF(range, criteria, [average_range])
The condition is referred to as criteria, which can check things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
The [average_range] is the range where the function calculates the
average.
Note: The [average_range] is optional.
If not specified, the function calculates the average of the same range as
condition.
Note: The different parts of the function are separated by a symbol, like
comma or semicolon.
Example of AVERAGEIF function
Find the average speed of Grass type Pokemon:
The condition is that the type is “Grass”.
Step by step method:
1. Select the cell F3
2. Type =AVERAGEIF
3. Double click the AVERAGEIF command
4. Specify the range for the condition B2:B10 (the Type 1 values)
5. Type ,
6. Specify the criteria (the cell E3, which has the value “Grass”)
7. Type ,
8. Specify the range for the average C2:C10 (the Speed values)
9. Hit enter
Excel AVERAGEIFS Function
The AVERAGEIFS function is a premade function in Excel, which calculates the
average of a range based on one or more true or false condition.
It is typed =AVERAGEIFS:
=AVERAGEIFS(average_range, criteria_range1, criteria1, ...)
The conditions are referred to as critera1, criteria2, .. and so on, which can
check things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
The criteria_range1, criteria_range2, and so on, are the ranges where the
function check for the conditions.
The average_range is the range where the function calculates the average.
Example AVERAGEIFS function
Find the average defense of Grass type 1st Generation Pokemon:
The conditions are that the type is "Grass" and Generation is 1.
Example AVERAGEIFS function, step by step:
1. Select the cell H3
2. Type =AVERAGEIFS
3. Double click the AVERAGEIFS command
4. Specify the range for the average C2:C13 (the Defense values)
5. Type ,
6. Specify the range for the first conditionB2:B13 (the Type 1 values)
7. Type ,
8. Specify the criteria (the cell F3, which has the value "Grass")
9. Type ,
10. Specify the range for the second conditionD2:D13 (the Generation
values)
11. Type ,
12. Specify the criteria (the cell G3, which has the value "1")
13. Hit enter
Excel Count Function
The COUNT function is a premade function in Excel, which counts cells with numbers
in a range.
It is typed =COUNT
Note: The COUNT function only counts cells with numbers, not cells with letters.
The COUNTA function is better used if the cells have letters.
How to use the =COUNT function:
1. Select a cell
2. Type =COUNT
3. Double click the COUNT command
4. Select a range
5. Hit enter
Example:
Apply the =COUNT function to range D2:D21. Counting the cells of Pokemon Total stats,
which is numbers only:
COUNT function, step by step:
1. Select D23
2. Type =COUNT
3. Double click COUNT in the menu
4. Select range D2:D21
5. Hit enter
Note: It is used to count the cells with only numbers found.
Excel COUNTA Function
The COUNTA function is a premade function in Excel, which counts all cells in a
range that has values, both numbers and letters.
It is typed =COUNTA
How to use the =COUNTA function:
1. Select a cell
2. Type =COUNTA
3. Double click the COUNTA command
4. Select a range
5. Hit enter
Example:
Apply the =COUNTA function to range A2:A21, counting Pokemons by their names,
which are letters only:
COUNTA function, step by step:
1. Select A23
2. Type =COUNTA
3. Double click COUNTA in the menu
4. Select range A2:A21
5. Hit enter
Note: The COUNTA function counts cells in a range with values both numbers and
letters.
Excel COUNTBLANK Function
The COUNTBLANK function is a premade function in Excel, which counts blank cells
in a range.
It is typed =COUNTBLANK
Note: The COUNTBLANK function is helpful to find empty cells in a range.
How to use the =COUNTBLANK function:
1. Select a cell
2. Type =COUNTBLANK
3. Double click the COUNTBLANK command
4. Select a range
5. Hit enter
Example:
Apply the =COUNTBLANK function to range C2:C21, to find the Pokemons which do not
have a 2nd Type:
COUNTBLANK function, step by step:
1. Select C23
2. Write =COUNTBLANK
3. Double click COUNTBLANK in the menu
4. Select range C2:C21
5. Hit enter
Excel COUNTIF Function
The COUNTIF function is a premade function in Excel, which counts cells as
specified.
It is typed =COUNTIF
1. Select a cell
2. Type =COUNTIF
3. Double click the COUNTIF command
4. Select a range
5. Type ,
6. Select a cell (the criteria, the value that you want to count)
7. Hit enter
Example:
Apply the COUNTIF function to range B2:B21, to count how many Pokemons we have
in the different types:
The same steps apply
1. Select G6
2. Type =COUNTIF
3. Select B2:B21
4. Type (,)
5. Select F6 (Specifying Water as criteria)
6. Hit enter
We can count rest of the cells more effectively by making B cell absolute.
Excel COUNTIFS Function
The COUNTIFS function is a premade function in Excel, which counts cells in a range
based on one or more true or false condition.
It is typed =COUNTIFS:
=COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...)
The conditions are referred to as critera1, criteria2, .. and so on, which can
check things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
The criteria_range1, criteria_range2, and so on, are the ranges where the
function check for the conditions.
Example:
Find the number of 1st generation water type of pokemon.
Example COUNTIFS function, step by step:
1. Select the cell G3
2. Type =COUNTIFS
3. Double click the COUNTIFS command
4. Specify the range for the type B2:B759 (the Type 1 values)
5. Type ,
6. Specify the criteria (the cell E3, which has the value "Water")
7. Type ,
8. Specify the range for the second conditionC2:C759 (the Generation values)
9. Type ,
10. Specify the criteria (the cell F3, which has the value "1")
11. Hit enter
Excel IF Function
The IF function is a premade function in Excel, which returns values based on
a true or false condition.
It is typed =IF and has 3 parts:
=IF(logical_test, [value_if_true], [value_if_false])
The condition is referred to as logical_test, which can check things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
Example:
Check if the Pokemon type is grass:
The condition is if the "Type 1" value for the Pokemon is "Grass".
The function returns "Yes" or "No".
Example IF function, step by step:
1. Select the cell D2
2. Type =IF
3. Double click the IF command
4. Specify the condition B2="Grass"
5. Type ,
6. Specify the value "Yes" for when the condition is TRUE
7. Type ,
8. Specify the value "No" for when the condition is FALSE
9. Hit enter
Excel IFS Function
The IFS function is a premade function in Excel, which returns values based on one
or more true or false conditions.
It is typed =IFS and has two or more parts:
=IF(logical_test, [value_if_true], [value_if_false])
The conditions are referred to as logical_test1, logical_test2, ..., which can
check things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
Each condition is connected with a return value.
Example:
Make categories for how fast the Pokemon are:
The conditions and return values are:
• Speed more than 90: "Fast"
• Speed more than 50: "Normal"
• Speed less than or equal to 50: "Slow"
Example IFS function, step by step:
1. Select the cell D2
2. Type =IFS
3. Double click the IFS command
4. Specify the first condition C2>90
5. Type ,
6. Specify the value "Fast" for when the first condition is TRUE
7. Type ,
8. Specify the second condition C2>50
9. Type ,
10. Specify the value "Normal" for when the second condition is TRUE
11. Type ,
12. Specify the third condition C2<=50
13. Type ,
14. Specify the value "Slow" for when the third condition is TRUE
15. Hit enter
Excel MAX Function
The MAX function is a premade function in Excel, which finds the highest number in a
range.
It is typed =MAX
How to use the =MAX function:
1. Select a cell (G5)
2. Type =MAX
3. Double click the MAX command
4. Select a range (D2:D21)
5. Hit enter
Example:
Find the Pokemon which has the highest total stats in the range D2:D21:
Step By Step:
1. Select the cell G6
2. Type =MAX
3. Double click the command =MAX
4. Then select the range (D2:D21)
5. Hit Enter
Excel MEDIAN Function
The MEDIAN function is a premade function in Excel, which returns the middle value
in the data.
It is typed =MEDIAN
How to use the =MEDIAN function, step by step:
1. Select a cell
2. Type =MEDIAN
3. Double click the MEDIAN command
4. Select a range
5. Hit enter
Step By step:
1. Select a Cell
2. Select the cell G6
3. Type =MEDIAN
4. Double click the command =MEDIAN
5. Then select the range (D2:D21)
6. Hit Enter
Excel MIN Function
The MIN function is a premade function in Excel, which finds the lowest number in a
range.
It is typed =MIN
How to use the =MIN function:
1. Select a cell (G5)
2. Type =MIN
3. Double click the MIN command
4. Select a range (D2:D21)
5. Hit enter
Example:
Step By step:
1. Select a Cell
2. Select the cell G6
3. Type =MIN
4. Double click the command =MIN
5. Then select the range (D2:D21)
6. Hit Enter
Excel MODE Function
The MODE function is a premade function in Excel, which is used to find the number
seen most times.
This function always returns a single number.
It is typed =MODE.SNGL
It returns the most occurring number in a range or array.
How to use the =MODE function, step by step:
1. Select a cell (B10)
2. Type =MODE
3. Double click the MODE.SNGL command
4. Select a range (B2:E7)
5. Hit enter
Excel OR Function
The OR function is a premade function in Excel, which returns TRUE or FALSE based
on two or more conditions.
It is typed =OR.
The conditions are referred to as [logical1], [logical2], and so on.
The conditions can check things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
Example:
Example OR function, step by step:
1. Select the cell D2
2. Type =OR
3. Double click the OR command
4. Specify the first condition B2="Water"
5. Type ,
6. Specify the second condition C2>60
7. Hit enter
Example OR Function (with IF)
The IF function is typed =IF and has 3 parts:
=IF(logical_test, [value_if_true], [value_if_false])
The OR function takes the place of the logical_test condition.
Here, the IF function returns "Yes" or "No".
Example OR function as the condition for IF function, step by step:
1. Select cell C2
2. Type =IF
3. Double click the IF command
Example OR function as the condition for IF function, step by step:
1. Select cell C2
2. Type =IF
3. Double click the IF command
4. Type OR
5. Double click the OR command
6. Specify the first condition B2="Water"
7. Type ,
8. Specify the second condition C2>60
9. Type ),
10. Specify the value "Yes" for when either or both conditions are TRUE
11. Type ,
12. Specify the value "No" for when both conditions are FALSE
13. Type ) and hit enter
Excel STDEV.P Function
The STDEV.P function is a premade function in Excel, which calculates the Standard
Deviation (Std) for the entire population.
It is typed =STDEV.P
How to use the =STDEV.P function:
1. Select a cell (H5)
2. Type =STDEV.P
3. Double click the STDEV.P command
4. Select a range (E2:E755), including all Pokemons
5. Hit enter
Example:
Excel STDEV.S Function
The STDEV.S function is a premade function in Excel, which calculates the Standard
Deviation (Std) for a sample.
It is typed =STDEV.S
How to use the =STDEV.S function:
1. Select a cell (H5)
2. Type =STDEV.S
3. Double click the STDEV.S command
4. Select a range (E2:E21)
5. Hit enter
Excel SUM Function
The SUM function is a premade function in Excel, which adds numbers in a range.
It is typed =SUM
Note: The =SUM function adds cells in a range, both negative and positive.
How to use the =SUM function:
1. Select a cell
2. Type =SUM
3. Double click the SUM command
4. Select a range
5. Hit enter
Example:
Excel SUMIF Function
The SUMIF function is a premade function in Excel, which calculates the sum of
values in a range based on a true or false condition.
It is typed =SUMIF:
The condition is referred to as criteria, which can check things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
The [sum_range] is the range where the function calculates the sum.
Example:
Example SUMIF function, step by step:
1. Select the cell F3
2. Type =SUMIF
3. Double click the SUMIF command
4. Specify the range for the conditionB2:B10 (the Type 1 values)
5. Type ,
6. Specify the criteria (the cell E3, which has the value "Grass")
7. Type ,
8. Specify the range for the sum C2:C10 (the Total values)
9. Type ,
10. Hit enter
Excel SUMIFS Function
The SUMIFS function is a premade function in Excel, which calculates the sum of a
range based on one or more true or false condition.
It is typed =SUMIFS:
=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2]
...)
The conditions are referred to as criteria1, criteria2, and so on, which can check
things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
The criteria_range1, criteria_range2, and so on, are the ranges where the function
check for the conditions.
Example:
Example SUMIFS function, step by step:
1. Select the cell H3
2. Type =SUMIFS
3. Double click the SUMIFS command
4. Specify the range for the sum C2:C759 (the Total values)
5. Type ,
6. Specify the range for the first conditionB2:B759 (the Type 1 values)
7. Type ,
8. Specify the criteria (the cell F3, which has the value "Water")
9. Type ,
10. Specify the range for the second conditionD2:D759 (the Generation values)
11. Type ,
12. Specify the criteria (the cell G3, which has the value "1")
13. Hit enter
Excel VLOOKUP Function
The VLOOKUP function is a premade function in Excel, which allows searches across
columns.
It is typed =VLOOKUP and has the following parts:
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Lookup_value: Select the cell where search values will be entered.
Table_array: The table range, including all cells in the table.
Col_index_num: The data which is being looked up. The input is the number of the
column, counted from the left:
How to use the VLOOKUP function.
1. Select a cell (H4)
2. Type =VLOOKUP
3. Double click the VLOOKUP command
4. Select the cell where search value will be entered (H3)
5. Type (,)
6. Mark table range (A2:E21)
7. Type (,)
8. Type the number of the column, counted from the left (2)
9. Type True (1) or False (0) (1)
10. Hit enter
11. Enter a value in the cell selected for the Lookup_value H3(7)
Excel XOR Function
The XOR function is a premade function in Excel, which returns TRUE or FALSE based
on two or more conditions.
=XOR([logical1], [logical2], ...)
The conditions are referred to as [logical1], [logical2], and so on.
The conditions can check things like:
• If a number is greater than another number >
• If a number is smaller than another number <
• If a number or text is equal to something =
For two conditions, you can think of the XOR function as: "either this or that,
but not both"
Example:
Check if the Pokemon type is either Fire type OR has HP less than 60, but not
both:
The function returns "TRUE" or "FALSE".
Example XOR function, step by step:
1. Select the cell D2
2. Type =XOR
3. Double click the XOR command
4. Specify the first condition B2="Fire"
5. Type ,
6. Specify the second condition C2<60
7. Hit enter