Docsity

Microsoft Excel Functions and Formulas: A Comprehensive Guide, Exams of Computer Science

Toggle sidebar
bg1
Table of Contents
Microsoft word-Definitions................................................................................................................... 4
Operator Precedence........................................................................................................................... 8
Copy/Paste a Formula............................................................................................................................8
Insert a Function.................................................................................................................................... 8
EXCEL FUNCTIONS........................................................................................................................... 9
Count..................................................................................................................................................... 9
Countif................................................................................................................................................... 9
Countifs..................................................................................................................................................9
Sum..................................................................................................................................................... 9
Sumif..................................................................................................................................................... 9
Sumifs.................................................................................................................................................... 9
If Function..............................................................................................................................................9
The IF function returns Correct because the value in cell A1 is higher than 10....................................9
And Function......................................................................................................................................... 9
Or Function..........................................................................................................................................10
Relative Reference...............................................................................................................................10
Absolute Reference..............................................................................................................................10
Mixed Reference.................................................................................................................................. 11
Date & Time Functions..............................................................................................................................13
Year, Month, Day.................................................................................................................................13
Date Function.......................................................................................................................................13
Current Date & Time........................................................................................................................... 14
Hour, Minute, Second..........................................................................................................................14
Time Function...................................................................................................................................... 14
Text Functions............................................................................................................................................ 14
Join Strings.......................................................................................................................................... 15
Left..................................................................................................................................................... 15
Right.....................................................................................................................................................15
Mid..................................................................................................................................................... 15
Len..................................................................................................................................................... 15
Find..................................................................................................................................................... 16
Substitute............................................................................................................................................. 16
Lookup & Reference Functions................................................................................................................16
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37

Partial preview of the text

Download Microsoft Excel Functions and Formulas: A Comprehensive Guide and more Exams Computer Science in PDF only on Docsity!

Table of Contents

paragraph centered between the margins). There is a fourth alignment option known as

"justified". Text in a justified paragraph will be spread evenly across the page and appear as a block with text lining up on both the left and right margins.

F 0 B 7 Application:^ Another word for a software program. In word processing, the application is a Word Processor such as Microsoft Word.

F 0 B 7 AutoCorrect:^ This feature is used to correct typos and misspelled words. When AutoCorrect is turned on, common mistakes are automatically replaced using a default a list of words that are stored in the word processing application. The user can also typically modify the list to include their own common misspellings.

F 0 B 7 Clipboard : The clipboard is a temporary holding area the computer uses for any item that has been copied or cut. When an item such as text is placed on the clipboard, it can then be pasted elsewhere in the document. Items will stay on the clipboard until they are deleted or erased. The manner in which the clipboard is cleared depends on the application being used. Quite often, the clipboard is cleared when another item is cut or copied or if the application is closed.

F 0 B 7 Copying:^ The process of copying will take an existing item in a document and creates a duplicate in a new location in the document (or even in another document). When an item is copied, it is stored temporarily on the clipboard waiting to be pasted elsewhere.

F 0 B 7 Cursor/ Insertion Point:^ The cursor (also known as the insertion point) is a flashing vertical bar on the screen that indicates where entered text or objects will be placed in the document. To place the cursor to a new location in your document, you would move your mouse pointer to the new location and click the left mouse button once. The flashing cursor should now appear in the new location and any text typed or object inserted will be placed there.

F 0 B 7 Cutting:^ The process of cutting is used to move text or objects in a document. Cutting takes an existing item in a document, removes it from its current location and stores it on the clipboard. The item can then be pasted elsewhere in the document (or even in another document) as long as it remains on the clipboard.

F 0 B 7 Document : A document is the file that is created using a word processor. Documents can contain many different types of items such as text, images, tables, charts, borders and clip art.

F 0 B 7 Editing : Editing is the process of making changes or corrections in a document. It includes alterations to the text itself, moving or copying items to other locations and applying formatting options to the document itself and items within it.

F 0 B 7 Footer:^ The footer is an area that appears at the bottom of every page in a document that can contain one or more lines of text. One common use of the footer is to insert the current page number on every page in the document.

F 0 B 7 Font:^ A font is a set of letters and numbers of one particular typeface. The font includes not only the typeface, but other characteristics such as size, spacing and emphasis. An example of a font would be Arial, 12 point, italic.

F 0 B 7 Formatting:^ The process of formatting a document involves specifying how the document will look in its final form on the screen and when printed. Common formatting options include the font, font size, color, alignment, spacing, margins and other properties.

F 0 B 7 Header:^ The header is an area that appears at the top of every page in a document that can contain one or more lines of text. One common use of the header is to include information about the document (such as the title) on every page in the document.

F 0 B 7 Highlighting / Selecting : Highlighting (or Selecting) an object or area of text is typically the first step to making a change to that item. When an item is highlighted (or selected) the next action (whether it be formatting, deleting, copying, or cutting) will typically only affect that item. Items are usually highlighted (selected) using the mouse by clicking in the starting position (and holding down the mouse button) and dragging to the end of the area that you want to select.

F 0 B 7 Indent:^ The space between the margin of the page and the text. Most word processors allow for both left and right indentation. One other common use of indention is what is known as a "first line indent" where only the first line of a paragraph is indented and the remaining lines of text lie directly against the left margin of the page.

F 0 B 7 Insertion Point/ Cursor:^ The insertion point (also known as the cursor) is a flashing vertical bar on the screen that indicates where entered text or objects will be placed in the document. To place the insertion point to a new location in your document, you would move your mouse pointer to the new location and click the left mouse button once. The flashing insertion point should now appear in the new location and any text typed or object inserted will be placed there.

F 0 B 7 Landscape:^ Page orientation refers to the way the rectangular page is turned or positioned for viewing or printing. The two types of orientation in word processing are portrait and landscape. Portrait orientation is where the height of the page is greater than the width. Landscape orientation, on the other hand, has a greater width than height (the page is turned on its side).

F 0 B 7 Legal Size:^ The term "Legal" in the page layout area of a word processing application refers to the size of the paper being used to print the document. The dimensions of legal sized paper are 8.5 X 14 inches.

F 0 B 7 Letter Size:^ The term "Letter" in the page layout area of a word processing application refers to the size of the paper being used to print the document. The dimensions of letter sized paper are 8.5 X 11 inches.

F 0 B 7 Line Spacing:^ Line spacing refers to the amount of white space between lines of text in a paragraph. Commonly used line spacing settings are single spaced and double spaced.

F 0 B 7 Spelling / Grammar Checker:^ Most word processing programs include a utility that checks for proper spelling and grammar. Depending on the application being used, these utilities may run automatically and alert you to errors as you type (such as in Microsoft Word) or require you to run the utility manually. Either way, you typically will be given options as to whether or not to accept the changes suggested by the utility. The exception to this would be if AutoCorrect is turned on and the item in question appears in the AutoCorrect listing.

F 0 B 7 Tabs:^ Tabs are used to control the placement of text on a page. Tab stops can be set within the ruler at the top of the word processing window. In addition to the location of a tab (example: 2 inches in from the left margin), the type of tab can also be set. Common tab types include left, right, centered and decimal. The tab type controls how the text will be aligned if it is forced to that tab stop. When the tab key is pressed on the keyboard, the cursor will move to the next tab stop location.

F 0 B 7 Table:^ A table is a collection of text, data or other items that are arranged in columns and rows.

F 0 B 7 Template:^ A template is a starting point for a document that contains initial formatting options, settings, colors, layout and placeholders. A typical blank document begins with the "Normal" template, but sometimes it is a time saver to begin with a preformatted template when creating a more advanced document (such as a brochure or flyer).

F 0 B 7 Tool bar : A tool bar consists of buttons that provide a shortcut way of performing a commonly used function. There are many different toolbars that exist in word processing applications, each of which focuses on a particular topic or category.

F 0 B 7 Typeface:^ The typeface determines the shape of the letters and numbers in a document. Common typefaces include Times New Roman and Arial. A collection of letters and numbers of one particular typeface makes up a Font.

F 0 B 7 Undo : The "Undo" command can be used to reverse the last action (or series of actions) that you have performed in a document. When using the Undo command, each item must be reversed sequentially, meaning that if you would like to undo the action you took 7 actions ago, you would first need to undo actions 1 through 6 as well.

F 0 B 7 Wizard:^ A wizard is an interactive feature built into the word processing application (particularly in Microsoft Word) that will walk you step-by-step through a specialized process. One example of a Wizard included in Microsoft Word is the Mail Merge Wizard which provides assistance with automatically creating letters, mailing labels or envelopes from a list of names and addresses.

F 0 B 7 Word Processing:^ Word Processing refers to the act of using a computer to create, edit, save and print documents.

F 0 B 7 Word Wrap: Word Wrap refers to the function of a word processor that will automatically force text to a new line when the right margin is reached while typing. Word Wrap eliminates the

need for pressing the Enter key on the keyboard at the end of every line.

  • Format painter :The format painter is a Microsoft Word tool that can be used to quickly and easily copy the formatting from one area of text and apply the same formatting elsewhere.

MICROSOFT OFFICE EXCELL

FORMULA AND FUNCTION

A formula is an expression which calculates the value of a cell. Functions are predefined

formulas and are already available in Excel.

Operator Precedence Excel uses a default order in which calculations occur. If a part of the formula is in parentheses,

that part will be calculated first. It then performs multiplication or division calculations. Once this is complete, Excel will add and subtract the remainder of your formula. See the example below.

Copy/Paste a Formula When you copy a formula, Excel automatically adjusts the cell references for each new cell the formula is copied to. To understand this, execute the following steps.

Insert a Function Every function has the same structure. For example, SUM(A1:A4). The name of this function is SUM. The part between the brackets (arguments) means we give Excel the range A1:A4 as input. This function adds the values in cells A1, A2, A3 and A4. It's not easy to remember which function and which arguments to use for each task. Fortunately, the Insert Function feature in Excel helps you with this.

EXCEL FUNCTIONS Count To count the number of cells that contain numbers, use the COUNT function.

E,g Count(AI:A9)

Countif To count cells based on one criteria (for example, higher than 9), use the following COUNTIF function.

E.g countif(A1:A9,”>9”)

Countifs To count cells based on multiple criteria (for example, green and higher than 9), use the following COUNTIFS function.

E.g countifs(A1:A9,”green”,B2:B9,”>9”)

Sum To sum a range of cells, use the SUM function.

E.g Sum(A1:A9)

Sumif

Relative Reference By default, Excel uses relative reference. See the formula in cell D2 below. Cell D2 references (points to) cell B2 and cell C2. Both references are relative.

Absolute Reference See the formula in cell E3 below.

  1. To create an absolute reference to cell H3, place a $ symbol in front of the column letter and row number of cell H3 ($H$3) in the formula of cell E3.
  2. Now we can quickly drag this formula to the other cells.

The reference to cell H3 is fixed (when we drag the formula down and across). As a result, the correct lengths and widths in inches are calculated.

Mixed Reference

Sometimes we need a combination of relative and absolute reference (mixed reference).

  1. See the formula in cell F2 below.
  2. We want to copy this formula to the other cells quickly. Drag cell F2 across one cell, and look at the formula in cell G2.

Do you see what happens? The reference to the price should be a fixed reference to column B. Solution: place a $ symbol in front of the column letter of cell B2 ($B2) in the formula of cell F2. In a similar way, when we drag cell F2 down, the reference to the reduction should be a fixed reference to row 6. Solution: place a $ symbol in front of the row number of cell B6 (B $6) in the formula of cell F2. Result:

  1. To add a number of years, months and/or days, use the DATE function.

Note: the DATE function accepts three arguments: year, month and day. Excel knows that 6 + 2 = 8 = August has 31 days and rolls over to the next month (23 August + 9 days = 1 September).

Current Date & Time To get the current date and time, use the NOW function.

Note: use the TODAY function to get the current date only. Use NOW()-TODAY() to get the current time only (and apply a Time format). Hour, Minute, Second To return the hour, use the HOUR function.

Note: use the MINUTE and SECOND function to return the minute and second.

Time Function To add a number of hours, minutes and/or seconds, use the TIME function.

Note: Excel adds 2 hours, 10 + 1 = 11 minutes and 70 - 60 = 10 seconds.

Text Functions

Join Strings | Left | Right | Mid | Len | Find | Substitute Excel has many functions to offer when it comes to manipulating text strings. Join Strings To join strings, use the & operator.

Note: to insert a space, use " "

Left To extract the leftmost characters from a string, use the LEFT function.

Right To extract the rightmost characters from a string, use the RIGHT function.

Mid To extract a substring, starting in the middle of a string, use the MID function.

Note: started at position 5 (p) with length 3.

Len To get the length of a string, use the LEN function.

Explanation: the VLOOKUP function looks for the ID (104) in the leftmost column of the range $E$4:$G$7 and returns the value in the same row from the third column (third argument is set to 3). The fourth argument is set to FALSE to return an exact match or a #N/A error if not found.

  1. Drag the VLOOKUP function in cell B2 down to cell B11.

Note: when we drag the VLOOKUP function down, the absolute reference ($E$4:$G$7) stays the same, while the relative reference (A2) changes to A3, A4, A5, etc. HLookup In a similar way, you can use the HLOOKUP (Horizontal lookup) function.

Match The MATCH function returns the position of a value in a given range.

Explanation: Yellow found at position 3 in the range E4:E7. The third argument is optional. Set this argument to 0 to return the position of the value that is exactly equal to lookup_value (A2) or a #N/A error if not found.

Index The INDEX function below returns a specific value in a two-dimensional range.

Financial Functions

Pmt | Rate | Nper | Pv | Fv To illustrate Excel's most popular financial functions, we consider a loan with monthly payments, an annual interest rate of 6%, a 20-year duration, a present value of $150,000 (amount borrowed) and a future value of 0 (that's what you hope to achieve when you pay off a loan). We make monthly payments, so we use 6%/12 = 0.5% for Rate and 20*12 = 240 for Nper (total number of periods). If we make annual payments on the same loan, we use 6% for Rate and 20 for Nper.

Pmt Select cell A2 and insert the PMT function.

Note: The last two arguments are optional. For loans the Fv can be omitted (the future value of a loan equals 0, however, it's included here for clarification). If Type is omitted, it is assumed that payments are due at the end of the period.

Result. The monthly payment equals $1,074.65.

Tip: when working with financial functions in Excel, always ask yourself the question, am I making a payment (negative) or am I receiving money (positive)? We pay off a loan of $150, (positive, we received that amount) and we make monthly payments of $1,074.65 (negative, we pay).

Rate If Rate is the only unknown variable, we can use the RATE function to calculate the interest rate.

Nper Or the NPER function. If we make monthly payments of $1,074.65 on a 20-year loan, with an annual interest rate of 6%, it takes 240 months to pay off this loan.

We already knew this, but we can change the monthly payment now to see how this affects the total number of periods.

Conclusion: if we make monthly payments of $2,074.65, it takes less than 90 months to pay off this loan.

Pv Or the PV (Present Value) function. If we make monthly payments of $1,074.65 on a 20-year loan, with an annual interest rate of 6%, how much can we borrow? You already know the answer.

Fv And we finish this chapter with the FV (Future Value) function. If we make monthly payments of $1,074.65 on a 20-year loan, with an annual interest rate of 6%, do we pay off this loan? Yes.