Beruflich Dokumente
Kultur Dokumente
Click on the Name of the formula below to take you to the page which explains how the formula works
Formula
And/Or
Absolute Cells
Array Formula
Calendar
Combining Statements
Concatenate
Conditional Formats
Correct case
Column
Count
Date Functions
Find
Formats
IF
Index
Is Statements
Left
Len
List Validations
Lowercase
Mid
Numeric Conditions
Pivot Tables
Range Names
Right
Row
Substitute
Sum
Sumif
Uppercase
Text to Columns
Validation
VLOOKUP
Amendment History
he formula below to take you to the page which explains how the formula works
Description
Ability to nest values together in an IF statement
Fixes the cell being referenced in a formula
Allow multiple SUMIFs conditions to be nested
Inserting a calendar in Excel worksheet
Examples of combined statements
Joins two or more cells together
Sets the colour of a cell depending on what the value is
Puts all text into correct upper / lower case letters
Picks up the column number
Counts the number of values or text fields in a range
Different ways of formatting a date - showing working day, year, day of week etc
Finds the position of a string of text - also combining statements
Formatting cells - dates, fonts, borders, colours etc
Checks whether a condition exists, returns one value if true, another if false
Pick up a nominated column from a range of columns (similar to vlookup)
Validates a cell depending on the IS statement used and returns true or false
Extracts a portion of text starting from the left - also see Right and Mid
Finds the length of text
Puts in Cell Validation using a separately stored list
Puts all text into Lowercase letters
Extracts a portion of text starting from the middle - also see Right and Left
Gives common numerical conditions used in excel - eg greater than, less than
Puts large data into a summarised table
References a group of cells using a name
Extracts a portion of text starting from the Right - also see Left and Mid
Picks up the row number
Replaces one value with another
Sums up a range of numbers
Sums up columns of numbers if certain criteria is met
Puts all text into Uppercase letters
Splits a column into 2+ columns
Validates the entry made to a cells - checks if it is a value etc
Looks for a value in another spreadsheet, workbook etc and returns another value
=CONCATENATE(MID(a2,4,2),"/",LEFT(a2,2),"/",RIGHT(a2,4))
Uses
In IF statements to save having to repeat the condition
When copying a formula down this will fix the cell being referenced
Picking out the first, second etc word from a sentence - useful for splitting firstnames and surnames
Changes the way a cell looks and behaves
Very quick at checking two columns for any differences
Allows a total / value to change depenent on the column selected
Used to trap errors - removes N/As, DIV/0 errors
Picking up the x amount of characters from a cell
Separates a column of values into separate columns - ie first name and surname
Can be used to restrict entries to only numbers etc
Can be used if you need information from one spreadsheet copied into another - eg names from netids
Numeric Conditions
Sign Command
+ Adds numbers together
- Takes (minus's) the second number away from the first
/ Divides the first number by the second
* Multiplies two numbers together
() Performs the formula within the brackets first
> Checks if first number is greater than second number
< Checks if first number is lower than second number
= Equals, is the same
<> Does not equal, is not the same
' Apostrophe - used to enter a number or sign as text
Quick Keys
Ctrl+C Holding down the control key and pressing the C key
Ctrl+V Holding down the control key and pressing the V key
Ctrl+X Holding down the control key and pressing the X key
Clicking on the row or column and then
Ctrl+ - Holding down the control key and pressing the minus key
Clicking on the row or column and then
Holding down the control key and shift key and pressing the
Ctrl+Shift+ + plus key
Ctrl+S Holding down the control key and pressing the S key
Ctrl+P Holding down the control key and pressing the P key
Ctrl+F Holding down the control key and pressing the F key
Ctrl+H Holding down the control key and pressing the H key
Return to Front Page
Location
Shift =
- on keyboard
/ next to shift key
Shift 8
Shift 9 & Shift 0
Shift ,
Shift .
= on keyboard
Shift , & Shift .
Copy
Paste
Cut
Example 1: If the value in column A is the same as B then print 'True' in Column C otherwise print 'False'
=IF(A7=B7,"True","False")
=IF(A23="Apple",B23*0.5,B23*0.2)
=CONCATENATE(A8," ",B8)
=CONCATENATE("Pass",A25)
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
CONCATENATE The command in this case is 'CONCATENATE'
( The command to obey is contained within brackets - to show the start and end
"Pass" First value to join
, A comma is added to break up the command - it signifies the end of the first value
A25 Second value to join
) Close the brackets to complete the command
Calendar Return to Front Page
Example 1:
Sep 2008 Sep 2008
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
Instructions
The way to insert the calendar is
View > Toolbars > Control Toolbars
Click on the Design Mode button (looks like a set square)
Click on 'More Controls' (Looks like a hammer and spanner crossed over)
Select Calendar Control 11.0
Click on the Excel Screen and drag the square where you want to place the calendar
Once you have placed it in the required location - Click on the 'Design Mode' button to turn off editing
If you want to extract the date selected you will need to tie some VB code around it using "x1 = Calendar1.value"
Activecell.value = Calendar1.value
ndar1.value"
Left Return to Front Page
Example 1: Column A has a persons pass number and initials in it - you only want the initials
=LEFT(A8,3)
Condition Cell No of
Characters
Example 2: Column A contains a persons name - you only want the initial
=LEFT(A21,1)
Condition No of
Cell Characters
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
LEFT The command in this case is 'LEFT'
( The command to obey is contained within brackets - to show the start and end
A21 Cell reference of the data to use
, A comma is added to break up the command - it signifies the end of the first value
1 Number of characters to extract
) Close the brackets to complete the command
Right Return to Front Page
Example 1: Column A has a persons pass number and initials in it - you only want the passnumber
=RIGHT(A8,3)
Condition Cell No of
Characters
Example 2: Column A has the persons sex appended to the name - you want to pull this out
=RIGHT(A21,1)
Condition No of
Cell Characters
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
RIGHT The command in this case is 'RIGHT'
( The command to obey is contained within brackets - to show the start and end
A21 Cell reference of the data to use
, A comma is added to break up the command - it signifies the end of the first value
1 Number of characters to extract
) Close the brackets to complete the command
Row Return to Front Page
Row Number
6
7
8
9
10
11
Results Explained
The formula picks up the row number it is entered in.
This can then be used in hlookup etc
=Row()
Condition
Range to
add up
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
ROW The command in this case is 'ROW'
( The command to obey is contained within brackets - to show the start and end
Cell to pick up or blank for current row
) Close the brackets to complete the command
Column Return to Front Page
Column Number Column Number Column Number Column Number Column Number
1 2 3 4 5
Results Explained
The formula picks up the column number it is entered in.
This can then be used in vlookup etc
=Column()
Condition
Range to
add up
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
COLUMN The command in this case is 'COLUMN'
( The command to obey is contained within brackets - to show the start and end
Cell to pick up or blank for current column
) Close the brackets to complete the command
Absolute Return to Front Page
Example 1: The list below contains the quantity of fruit bought by each person. The absolute formula is used in column D when finding the percentage
=C8/$C$15
Number
items being Cell being fixed -
bought total fruit
(known as Absolute)
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
C8 Cell showing items bought - this will change as the formula is dragged down to other cells
/ Divided by sign - in this case we are trying to find the fruit per line as a percentage of the total so you need to divide each line by the total fruit
$C$15 Fixed absolute cell of total fruit bought. Even when the formula is copied down this cell does not change. The fix can be on just the row or column if required
Mid Return to Front Page
Example 1: Column A has a month and the number of days in the month - you only want the month
=MID(A8,1,3)
No of
Characters
Condition Cell
Starting
Character
Example 2: Column A has a part number in it - the second field is the stock number you need
=MID(A21,5,2)
No of
Characters
Condition
Cell Starting
Character
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
MID The command in this case is 'MID'
( The command to obey is contained within brackets - to show the start and end
A21 Cell reference of the data to use
, A comma is added to break up the command - it signifies the end of the first value
1 Character to start at
, A comma is added to break up the command - it signifies the end of the second value
2 Number of characters to extract
) Close the brackets to complete the command
Find Return to Front Page
Used to find the position of a certain string of characters - mainly used in nested formulas (see Combining Statements)
Example 1: The fullname is in Column A - you need to know where the space is so the firstname can be extracted
=FIND(" ",A8,1)
Starting
Character
Condition Value to Cell
find
Example 2: Column A contains a part number - you need to find the position of the first hyphen in order to extract the stock
number (2nd field) - See Combining Statements
=FIND("-",A22,1)
Starting
Condition Character
Value to Cell
find
Example 3: Column A contains a part number - you need to find the position of the second hyphen in order to extract the stock
number (3rd field) - See Combining Statements
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
FIND The command in this case is 'FIND'
( The command to obey is contained within brackets - to show the start and end
"-" String to find - this can be any number of characters
, A comma is added to break up the command - it signifies the end of the first value
A25 Cel to look in
, A comma is added to break up the command - it signifies the end of the second value
1 Character to start looking from
) Close the brackets to complete the command
=LEN(A8)
Condition Cell
=LEN(A21)
Condition Cell
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
LEN The command in this case is 'LEN'
( The command to obey is contained within brackets - to show the start and end
A21 Cell reference of the data to use
) Close the brackets to complete the command
COUNT Return to Front Page
Example 1: Column B has a list of peoples names - you need to know how many
=COUNTA(B8:B10)
Example 2: Column B has a list of numbers - you need to know how many numbers
=COUNT(B24:B26)
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
COUNT The command in this case is 'COUNT' for numbers or COUNTA for text
( The command to obey is contained within brackets - to show the start and end
B24:B26 Cell range of the data to use
) Close the brackets to complete the command
Date Functions Return to Front Page
Rules: EOMONTH
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
EOMONTH The command in this case is 'EOMONTH'
( The command to obey is contained within brackets - to show the start and end
A8 Cell reference of the data to use
, A comma is added to break up the command - it signifies the end of the first value
x Number of months from the date - in this case it is zero to signify end of current month
) Close the brackets to complete the command
NB: This command needs to have the Analysis Toolpak added - this is done via Tools > Addins > Analysis Toolpak
Rules: WORKDAY
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
WORKDAY The command in this case is 'WORKDAY'
( The command to obey is contained within brackets - to show the start and end
A8 Cell reference of the data to use
, A comma is added to break up the command - it signifies the end of the first value
x Number of days from the date - in this case it is 9 - the weekends will be missed
) Close the brackets to complete the command
NB: This command needs to have the Analysis Toolpak added - this is done via Tools > Addins > Analysis Toolpak
Select the 'Custom' Category and enter in the format required shown below
ddd Short Day eg Mon, Tue etc
dddd Long Day eg Monday, Tuesday etc
mmm Short Month eg Jan, Feb, Mar etc
mmmm Long Month eg January, February etc
yy Short Year description eg 03, 04 etc
yyyy Long Year description eg 2003, 2004 etc
IS Statement Return to Front Page
Validates a cell returning the value "TRUE" or "FALSE". Validations include ISERROR, ISNUMBER, ISTEXT, ISBLANK
Results Explained
ISBLANK Checks to see if the cell is blank or contain a value / text
ISNUMBER Checks to see if the cell has a value in it
ISERROR Checks to see if the cell has an error (N/A) etc
ISTEXT Checks to see if the cell contains a text field
ISEVEN Checks to see if a value is even - if the cell is not a number an error is returned
ISNA Checks to see if the cell contains a N/A value
=ISxxxx(A8)
Condition Cell
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
ISxxxx The command in this case is 'ISxxx' where xxx is NUMBER, TEXT, EVEN, ERROR etc
( The command to obey is contained within brackets - to show the start and end
A21 Cell reference of the data to use
) Close the brackets to complete the command
Changing Case Return to Front Page
Changes the case of text words into Upper, Lower or Mixed case
Results Explained
UPPER Changes all text to be capital letters
LOWER Changes all text to be small letters
PROPER Changes all text to be in correct format of capital and lower letters
=UPPER(A8)
Condition Cell
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
UPPER The command in this case is UPPER, LOWER or PROPER
( The command to obey is contained within brackets - to show the start and end
A21 Cell reference of the data to use
) Close the brackets to complete the command
And / Or Return to Front Page
Example 1: Column A has a list of fruit and Column B has the cost - if the fruit is an Apple AND it is free then flag as 'True'
=IF(AND(A8="Apple",B8="Free"),"True","False")
Condition Values to
Check for
Example 2: Column A has a list of fruit and Column B has the price - if the fruit is and Apple OR it is Free then flag "True"
=IF(OR(A25="Apple",B25="Free"),"True","False")
Condition Values to
Check for
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
OR The command in this case is 'AND' or 'OR'
( The command to obey is contained within brackets - to show the start and end
Condition 1 Condition 1 to check in the 'If'
, A comma is added to break up the command - it signifies the end of the first value
Condition 2 Condition 2 to check in the 'If'
, A comma is added to break up the command - it signifies the end of the first value
Condition 3 etc Condition 3 to check in the 'If'
) Close the brackets to complete the command
Ranges Return to Front Page
Range names are used to reference a group of cells. These can be used in formulas, list validations, Visual Basic etc
Example: Column A has a list of colours which you want to name as 'Colours'
Instructions
The way to produce a range name is broken down below:
Toolbar > Insert > Names > Define
Insert Click on the word 'Insert' on the top toolbar (or hold the Alt key and press 'I')
Name Click on the word 'Name' on the 'Insert' drop down or press the 'N' button. (NB if the option 'Name' is not there click on the double chevron to expand the list)
Define Click on the word 'Define' on the 'Name' drop down or press the 'D' button.
Colours' Key in the name of the range - in this case 'Colours' in the top box
OK Click OK to close the box
Validation Return to Front Page
Example: Column A has a list of colours which you want to name as 'Colours'
Instructions
The way to produce a validation is broken down below:
Toolbar > Data > Validation
Data Click on the word 'Data' on the top toolbar (or hold the Alt key and press 'D')
Validation Click on the word 'Validation' on the 'Data' drop down or press the 'L' button. (NB if the option 'Validation' is not there click on the double chevron to expand the list)
Settings Select the Validation Type required from Any Value, Whole Number, Decimal, List, Date, Time, Lext Length or Custom - in this case it is Whole Number
Enter the 'Data Type' eg Greater Than, Less Than, Between etc. Then enter the range of values. With the list option the valid list should be entered in the 'source' box without quotes but
Enter Values with each value separated by a comma eg one, two. See 'Example - Settings' below
Input Message Optional. Key in the message that will appear as a yellow box when the cell containing the validation is click on. See 'Example - Input Message' below
Error Alert Optional. Key in the message that will appear if an incorrect value is entered. See 'Example - Error Alert' below
OK Click OK to close the box
Before Explanation
This command allows a column to be split into several other columns - ensure you insert blank columns before the start otherwise other data will be copied over
Value It is used to split items such as names etc
Anne Minihan 07966126409
Fred Bloggs 01982111222
Mary Trarer 0911122222
Judith Jenkins 01222122222
Instructions
The way to split the columns is
Toolbar > Data > Text to Columns
Data Click on the word 'Data' on the top toolbar (or hold the Alt key and press 'D')
Text to Columns Click on the word 'Text to Columns' on the 'Data' drop down or press the 'E' button. (NB if the option 'Text to Columns' is not there click on the double chevron to expand the list)
Delimited / Fixed Width If you want the values split using a space or special character as the separator choose Delimited - otherwise choose Fixed Width
Choose ths delimited type - or the fixed width split
Click Finish
Example - Delimited Click Space - to choose the space as a delimiter - then click Finish Result
Value
Anne Minihan 7966126409
Fred Bloggs 1982111222
Mary Trarer 911122222
Judith Jenkins 1222122222
Example - Fxied Width Click on the box where you want the split to occur Result - NB - in this case you would use Delimited and not fixed
Value
Anne Minihan 0 7966126409
Fred Bloggs 01 982111222
Mary Trarer 09 11122222
Judit h Jenkins 1222122222
List Validation Return to Front Page
Rules:
The command is a combination of creating a range name and setting up a list validation
Create a Range name by selecting the data you want in the list and then selecting 'Insert > Names > Define'. In this case the name of the range is
'Colours'.
Create Range Click on the Hyperlink 'Create Range' to take you to the 'Ranges' page for full details
Create Validation Add the validation to another cell by selecting 'Data > Validation'. Select 'Allow' List. In the source box type the Range Name - in this case 'Colours'
Formats Return to Front Page
Formating cells allow you to display the field how you want - eg two decimal places
Example: Column A has a list of values - the other columns show what formating can do. The explanation will contain the menu selection
NB: The Format Cells option can be used to change Fonts, Put Borders around cells, colour cells and much more
Instructions
The way to produce a cell formatting is broken down below:
Toolbar > Format > Cells
Format Click on the word 'Format' on the top toolbar (or hold the Alt key and press 'F')
Cells Click on the word 'Cells' on the 'Format' drop down or press the 'e' button. (NB if the option 'Cells' is not there click on the double chevron to expand the list)
Select Option Select the format as displayed on Key Commands
OK Click OK to close the box
Formating cells allow you to change the colour / display of the cell depending on its value
Example: Col A has a list of fruits and Col B has their price, If the price is greater than 12p then this is expensive and flagged Amber, if more than 49p it is very expensive and flagged Red
Fruit Cost Expiry Date Cost Results Explained Expiry Results Explained
Apple 9 1/26/2009 9p is less than 12p so flagged Green Date is today so fruit is still ok to eat therefore colour is Amber
Banana 80 1/31/2009 80p is more than 49p and is flagged Red Date is today + 5 days - it is greater than today and therefore Green
Pear 50 1/23/2009 50p is more than 49p and is flagged Red Date is less than today and therefore Red
Strawberry 39 2/2/2009 39p is greater than 12p but less than 49p so is flagged Amber Date is today + 7 days which is greater than today therefore Green
NB: The Format Cells option can be used to change Fonts, Put Borders around cells, colour cells and much more
Instructions
The way to produce a conditional format is broken down below:
Toolbar > Format > Conditional Format
Format Click on the word 'Format' on the top toolbar (or hold the Alt key and press 'F')
Cells Click on the word 'Conditional Formatting' on the 'Format' drop down or press the 'd' button. (NB if the option 'Cells' is not there click on the double chevron to expand the list)
Select Option Enter in the conditions you wish to check. It is important to check the greatest value first as the conditions are checked in order. Clicking on the Format box will allow the colour etc to be set
OK Click OK to close the box
Example
Substitute Return to Front Page
Changes a value (or string of values) in a cell from one item to another
=SUBSTITUTE(A8,"-"," ")
Item to replace
it with
Condition Cell Value to Find
and replace
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
SUBSTITUTE The command in this case is SUBSTITUTE
( The command to obey is contained within brackets - to show the start and end
A8 Cell reference of the data to use
, A comma is added to break up the command - it signifies the end of the first value
"-" Item to find in the cell - this is the value that will be replaced. The value must be incased in speech marks ""
, A comma is added to break up the command - it signifies the end of the second value
- Item to replace the found item with. The value must be incased in speech marks ""
) Close the brackets to complete the command
Sum Return to Front Page
Example 1: The list below contains the quantity of fruit bought by each person
=SUM(C8:C14)
Condition
Range to
add up
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
SUM The command in this case is 'SUM'
( The command to obey is contained within brackets - to show the start and end
C8:C14 Range of values to add up
) Close the brackets to complete the command
Sumif Return to Front Page
Example 1: The list below contains the quantity of fruit bought by each person
=SUMIF(B8:B14,"Banana",C8:C14)
Condition
Range to Value to Find Range to add
Look in up
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
SUMIF The command in this case is 'SUMIF'
( The command to obey is contained within brackets - to show the start and end
B8:B14 The range / column to look for the 'value to find' - in this case it is the 'Fruit Bought'
, A comma is added to break up the command - it signifies the end of the first value
"Banana" Value to find in the range - if the value is text then it should be enclosed in quotes - for numbers do not use quotes
, A comma is added to break up the command - it signifies the end of the second value
C8:C14 Range of values to add up if the 'value to find' is correct (eg if the fruit is banana)
) Close the brackets to complete the command
Array Formula Return to Front Page
Example 1: The list below shows how much fruit was bought by each person and in which class
Range to add up is
=SUM(IF((B8:B14="Apple")+(C8:C14="Beech"),D8:D14,0)) conditions are not
met
Condition 1st Range Operand - 2nd Range 2nd Value Range to add up if
1st Value
to Look in + is or, * is to Look in to Find conditions are met
to Find
and
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
SUM The command in this case is 'SUM'
( The command to obey is contained within brackets - to show the start and end
IF The array in this case is 'IF'
( The command to obey is contained within brackets - to show the start and end
(B8:B14="Apple") The first condition to check is whether any of the fruits in the range B8:B14 is an Apple
The operand to perform on the conditions. In this case a '+' is used to mean if either of the conditions are met add the values. If you wanted both/all
+ conditions to be correct then use a '*'
(C8:C14="Beech") The second condition to check is whether any of the classes in the range C8:C14 is Beech. You can have as many conditions as you require
, A comma is added to break up the command - it signifies the end of the first value
D8:D14 Range of values to add up if the 'values to find' are correct (eg if the fruit is apple or the class is Beech)
, A comma is added to break up the command - it signifies the end of the second value
0 The values to add up if the condition is not correct - in this case zero
) Close the brackets to complete the command
NB - With array formulas you will get an #Value error. You must then edit the formula and hold the Ctrl + Shift keys and then press enter. The sum will then be enclosed
in {} brackets.
Index Return to Front Page
Allows a value to be picked up from one sheet dependant on the row / column choosen.
Example 1: The table contains a list of total by month. Dependant on the month choos en in B18 the total fruit changes as the column being picked up references the month number
=INDEX(B13:E13,B18)
Condition
Column
Range to
number to
look in
pick up value
from
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
INDEX The command in this case is 'INDEX'
( The command to obey is contained within brackets - to show the start and end
B13:E13 Range to look in.
, A comma is added to break up the command - it signifies the end of the first value
B18 This is the column number in the range to pick up. In this case it is the 3rd column
) Close the brackets to complete the command
Pivot Tables Return to Front Page
Instructions
The way to create a pivot table is
Select the Columns required - or the top corner for all of the sheet
Toolbar > Data > PivotTable and PivotChart Report
Data Click on the word 'Data' on the top toolbar (or hold the Alt key and press 'D')
PivotTable and PivotChart Report Click on the word 'PivotTable and PivotChart Report' on the 'Data' drop down or press the 'P' button. (NB if the option 'PivotTable and PivotChart Report is not there click on the double chevron to expand the list)
Ensure Microsoft Office Excel List and PivotTable or selected (these are the default options)
Click Finish
Drag required Rows, Columns and Data fields into the table
Click Finish
Hint: If you get an error message saying the field name is invalid check the columns -
you probably have a blank column in your selection
Example 1 - Summarise bonus by Cost Centre We now need to see a summary of the bonus's. So we drag the word 'Bonus' By default the data field normally appears as 'Count' and not 'Sum'
Decide which rows you would like displayed - on this occasion we want to see bonuss by CC so from the PivotTable Field List into the table section where it says To change this right-click on one of the 'data' count lines (ie B5 where it has 4)
so we drag the word 'Cost Centre' from the PivotTable Field List (box on the right) into the table section "Drop Data Items Here" and select Field Settings > Sum
where it says "Drop Row Fields Here"
As we don't want to see the Blank cost centre we will hide this line.
This is done by right-clicking on the (blank) word (cell A7), and selecting Hide
Lookup Return to Front Page
Used to look up a value on one spreadsheet and return the value from another
Example 1: List 1 contains the Names and Titles of some people. List 2 (which is on another spreadsheet) contains their Date of Births. You need this information on your List 1
Rules:
The command is broken down below:
= Always enter the '=' sign first to show it is a formula
VLOOKUP The command in this case is 'VLOOKUP'
( The command to obey is contained within brackets - to show the start and end
A8 The value to look for - this would be the value which is the same in both lists / spreadsheets. In this case it is a persons name
, A comma is added to break up the command - it signifies the end of the first value
Range to look in. The $ fixes the cells so the formula remains the same when copied down to other cells. The range must start with the value which is the same in both list
$A$19:$B$25 (eg persons name) and must also include the column you want to return
, A comma is added to break up the command - it signifies the end of the second value
The column number you want to pick up the value from. In this case the 'Date of Birth' is the second column in the range. If we wanted to pick up the 'Sex' of the person the
2 range would need to be extended to pick up Column C and the column number would be '3'
, A comma is added to break up the command - it signifies the end of the second value
FALSE The value to return if the 'lookup value' cannot be found. In this case we have asked for an error
) Close the brackets to complete the command
Combining Statements Return to Front Page
All of the formulas shown can be combined together to make Excel a very powerful tool. Detailed below are some ways that combining statements can be used