Spreadsheet Notes
Spreadsheet Notes
• A VLOOKUP, vertical lookup, is a function that allows you to find the closest value in a column of cells to
a given value. Having found the correct row it returns another value from that row. For e.g., a teacher
might have the student names and marks in two columns. To find a particular student’s mark they must
find the student’s name in the first column and then read out the mark from the second column of the
same row. VLOOKUP automates this process and will even work if the name is misspelt because
VLOOKUP finds the best match.
• The VLOOKUP function performs a vertical lookup by searching for a value in the first column of a
cellrange and returning in the same row in another column e.g. =VLOOKUP(B9,B2:E6,4)
USING PREDEFINED FUNCTIONS :PMT AND
IF
• PMT stands for payment and the PMT function is used to calculate the payments required to pay off a
loan. Companies often require a loan to purchase new premises or vehicles, and PMT calculates what
the repayments will be for a given loan amount, borrowed over a fixed period at a fixed interest rate.
• The IF function is used whenever you want to make a decision. For example, if the passenger number is
greater than 50 the company wants to run extra buses on this route. The If function performs a logical
test and returns one of the two results. For e.g. =IF(A1>=70, “PASS, “FAIL”) would return “pass” if the
value in the cell A1 is greater than or equal to 70 and Fail if the value in A1 is less than 70.