COMP 4—Power Tools for the Mind 1 Power Tools Spreadsheets What we’ll cover for this lecture topic: –The paper worksheet... –What are electronic spreadsheets?

Slides:



Advertisements
Similar presentations
Formulas, Ranges, and Functions. Formulas n Formulas perform operations such as addition, multiplication, and comparison on worksheet values. n Formulas.
Advertisements

CS&E 1111 Exfunctions Using Functions in Excel Objectives: Using Excel functions l SUM, MIN, MAX, AVERAGE, COUNT, COUNTA l ROUND l COUNTIF, SUMIF, AVERAGEIF.
Microsoft Excel Khan Mohammad Mahmud Hasan
8. Introduction to Spreadsheet CSCI N207 Data Analysis Using Spreadsheet Lingma Acheson Department of Computer and Information Science,
1 NCDesk Spreadsheet % OF THE TEST WILL BE SPREADSHEET QUESTIONS.
Excel Features That Would Help You Prepare Class Result.
Microsoft Excel Presented by ShoWorks Fair Software and Online Entries
FORMULAS & FUNCTIONS EXCEL 2. Excel Input – a collection of informational data typed into the spreadsheet Output – worksheet results Information to be.
Capital Budgeting and Financial Planning Course Instructor: M.Jibran Sheikh.
FORMULAS & FUNCTIONS EXCEL. Input A collection of information Data typed into the spreadsheet Output Worksheet Results.
 Microsoft Excel is an electronic spreadsheet.  As with a paper spreadsheet, you can use Excel to organize your data into rows and columns and to perform.
Introduction to Excel Formulas, Functions and References.
Microsoft Office XP Microsoft Excel
© Keith Vander Linden, How did you ever do without it? - from the first VisiCalc ad, 1979.
Microsoft Excel The Basics. spreadsheet A type of application program which manipulates numerical and string data in rows and columns of cells. The value.
3-dimensional formula A formula that refers to cells in other worksheets.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel 2010: Chapter1.
Unit 27 Spreadsheet Modelling
® Microsoft Office 2010 Excel Tutorial 2: Formatting a Workbook.
cell (letter-number) Column (letters) Row (numbers) workbook = collection of worksheets.
cell (letter- number) Column (letters) Row (numbers) workbook = collection of worksheets.
Unit G: Using Complex Formulas, Functions, and Tables Microsoft Office Illustrated Fundamentals.
Introduction to Microsoft Excel
Tutorial 8: Working with Advanced Functions
General Purpose Packages Spreadsheets. What is a Spreadsheet? A Spreadsheet is a computer program used mainly for recording mathematical data such as.
Using Excel To help with data. Excel is a spreadsheet program that can interface with Word, or PowerPoint A spreadsheet program has cells (little blocks)
Spreadsheets Objective 6.02
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Mathematical OperatorsMathematical Operators Formula.
Computer Literacy BASICS
University of technology Department of Materials Engineering
SPREADSHEETS Define/Uses Software primarily used for business and scientific data analysis. The advantage of using a spreadsheet is in its speed at which.
Managing Business Data Lecture 8. Summary of Previous Lecture File Systems  Purpose and Limitations Database systems  Definition, advantages over file.
Microsoft Excel Diane M. Coyle Spring 2009 CS 105.
Spreadsheets and Microsoft Excel. Introduction n A spreadsheet (called a worksheet in Excel) is a two-dimensional array of cells containing data to be.
Using a Spreadsheet Chapter 5.
1 Lesson 19 Creating Formulas and Charting Data Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Learning Microsoft Excel Getting Started  There are three features that you should remember as you work within PowerPoint 2007: the Microsoft Office.
CHAPTER 13 Creating a Workbook Part 2. Learning Objectives Work with cells and ranges Work with formulas and functions Preview and print a workbook 2.
 What is a formula in Excel?  A formula is statement written by the user to be calculated. Formulas can be as simple or as complex as the user wants.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
Exploring Engineering Chapter 3, Part 2 Introduction to Spreadsheets.
Working with Spreadsheets S S T : S P R E A D S H E E T S SST 2 Objectives 1.Perform data entry tasks 2.Use formulae and functions in worksheet calculations.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. What Can I Do with a Spreadsheet.
Chapter 12 Creating a Worksheet.
Numeric and Functional. A cell is the intersection of a row and column Each cell in the spreadsheet has a name – The column-name followed by the row-name.
INTRODUCTION TO SPREADSHEETS MICROSOFT EXCEL. Spreadsheets Allows users to perform simple and complex sorting Allows users to perform calculations quickly.
PERFORMING CALCULATIONS Microsoft Excel. Excel Formulas A formula is a set of mathematical instructions that can be used in Excel to perform calculations.
Spreadsheets What is Excel?. Objectives 1. Identify the parts of the Excel Screen 2. Identify the functions of a spreadsheet 3. Identify how spreadsheets.
EXCEL LESSON 1. WHAT IS EXCEL? Excel is a spreadsheet program. A spreadsheet is a grid of rows and columns in which you enter text, numbers, and formulas.
Excel Spreadsheets Formatting and Functions ICS100 – Spring 2007 D. Pai.
Microsoft Office 2013 ®® Calculating Data with Formulas and Functions.
Microsoft Excel ( XP-2003). Return to Table of Contents Table of Contents 1_ Introduction to ExcelIntroduction to Excel 2_ Overview of the Excel.
An electronic document that stores various types of data.
Intro. to Spreadsheets Using Microsoft Excel
 The term “spreadsheet” covers a wide variety of elements useful for quantitative analysis of all kinds. Essentially, a spreadsheet is a simple tool.
Resource Review Excel formula basics Demonstrate how to enter manual formulas Examine some of the available functions and their usage Discuss the.
COMPUTER LITERACY NOTES MS-EXCEL. SPREADSHEETS A spreadsheet is a computer equivalent of a paper ledger sheet. Excel allows you to create spreadsheets.
Numeric and Functional
Excel Formulas & Functions.
Intro. to Spreadsheets Using Microsoft Excel
Excel 2013 Formulas & Functions.
Lesson 4 Using Basic Formulas
Excel 2013 Formulas & Functions.
Excel 2013 Formulas & Functions.
Spreadsheets, Modelling & Databases
Spreadsheets Objective 6.02
General Purpose Packages
Spreadsheets Objective 6.02
Working with Formulas and Functions
Unit G: Using Complex Formulas, Functions, and Tables
Presentation transcript:

COMP 4—Power Tools for the Mind 1 Power Tools Spreadsheets What we’ll cover for this lecture topic: –The paper worksheet... –What are electronic spreadsheets? –Cells cell references cell contents –Formulas and functions –What are spreadsheets good for? –Relative and absolute cell referencing (critical!) Demos interspersed as time permits

The electronic spreadsheet The paper worksheet Worksheets were used in many businesses for inventory management and accounting. Key feature: columns to separate different types of information (‘fields’). Because columns sizes varied depending on the use, many formats were available. Accounting Ledgers (Items, debits, credits, tax info…) Inventory (Items, #in stock, supplier, wholesale $, retail $...) Payroll (Name, SSN, job title, mailing address, salary…) BOTTOM LINE BOTTOM LINE : Lots of paperwork and calculation! 2 Mid 70’s: Dan Bricklin & Bob Frankston--the story.

COMP 4—Power Tools for the Mind 3 Power Tools Each entry occupies a cell... It can hold: –numeric values –alphanumeric text (character strings). As labels; what about as data? –an entire formula. The real power! The electronic spreadsheet “The most brilliant software invention of the microcomputer era … “ Neill Graham Basically, it’s just a 2-dimensional table:

COMP 4—Power Tools for the Mind 4 Power Tools Remember Charles Babbage? Manual spreadsheets had lots of problems… –time-consuming to produce –difficult to edit and update –miscalculation errors –transcription errors (recording wrong number) With electronic spreadsheets… –calculations are automated (fast, reliable, & simple to modify!) –formatting can also be easily changed

COMP 4—Power Tools for the Mind 5 Power Tools Referencing a Cell In most electronic spreadsheets, columns are indexed by letters, and rows are indexed by numbers. A cell is identified and referenced by writing its column letter(s) followed by its row number. E.g., cell D3 is highlighted in the above picture. ABCDE

COMP 4—Power Tools for the Mind 6 Power Tools To refer to a block of contiguous cells, specify a starting cell and ending cell separated by a colon. E.g., the marked region below is C2:E4. Non-contiguous blocks of cells can be referenced using a list in which the references are separated by commas, e.g., the reference C2:E4,A1:A3 is the marked block above along with cells A1, A2 & A3. ABCDE Referencing a group of Cells

COMP 4—Power Tools for the Mind 7 Power Tools So what’s it good for? –Personal/professional budgets and budget scenarios –Building space allocation –Grades –Income statements, balance sheets –Investment analyses –Keeping track of nearly anything... all cell functions that use that cell’s value are automatically recalculated. Immensely USEFUL! When a cell value CHANGES….

COMP 4—Power Tools for the Mind 8 Power Tools Great for “what-if” analyses: –What if…. we decrease costs of good sold by 5%, what will our net earnings be? I earn an 80% on Exam 2, what will my average be? If my pay gets raised 5%, how much extra take- home pay will I get? Can I afford another loan? Demo 1 & 2….. Meet Microsoft Excel

COMP 4—Power Tools for the Mind 9 Power Tools Excel uses a very simple programming language: More about formulas cell references (names) Digression…really interested in? cell contents Nouns? Basic Verb Set (2-operand operations) includes: Arithmetic operators: + – * / ^ Comparison operators: = >= Boolean operators: And Or Not Functions!  Special symbols: $, : ( ) and:

COMP 4—Power Tools for the Mind 10 Power Tools Functions Many more operations available as functions. Functions take a collection of cell references as input, e.g.., SUM(A1:A5,B7,C8:C10) calculates the sum of the values cells A1:A5, B7, and C8:C10. A few particularly useful functions: – SUM: computes sum of all values – PRODUCT: computes product of all values – MAX: finds maximum value – MIN: finds minimum value

COMP 4—Power Tools for the Mind 11 Power Tools Fairly simple syntax for formulas. –AVERAGE: finds average value – COUNT: finds number of non-empty cells in the group that contain numerical data. – COUNTA: finds number of non-empty cells in group. – IF(condition,A,B): conditional formula. If condition is true, use formula A. Otherwise, use formula B. Mathematical precedence rules apply (use parentheses)

COMP 4—Power Tools for the Mind 12 Power Tools Formulas can depend upon other cells (which themselves might be the result of other formulas...). Powerful! = SUM(D4 : D12) = AVERAGE(A2:A200) Each is like a little computer program that lives in a cell.  Notice the colon:

Relative cell references How does Excel look at a cell reference in a formula? Excel interprets the formula in cell B4 this way: = (B1 + B2) * B3 Entry bar: B4 A B C = (B1 + B2) * B3 [Enter] Relative to where formula resides! Find value stored 3 rows up from formula cell, Add that to value stored 2 rows up from formula cell, Multiply that to value stored 1 row up from formula cell, Display answer. Note: formulas displayed. 13

SO WHAT? Why should you care? Because: What if I copy A4 to C5? What will C5 look like? A B C D = A1 + B You will want to RE-USE formulas you create as OFTEN as possible! ( Copy and Fill ) --You must know HOW Excel will INTERPRET your request! Row & cell references will change ! 14 = C + D2 3

What about here? Very same idea What if I copy C4 to A6? What will A6 look like? A B C D = C1 +C2 +C3 15 =A +A +A 3 4 5

What about here? What if I copy C4 to C5 ? What will C5 look like? A B C D = C1 +C2 +C3 Did we move columns? 16 =C +C +C But we DID move ROWS! 2 3 4

COMP 4—Power Tools for the Mind 17 Power Tools Important Tricks of the Trade When you COPY a formula from one cell to another, any RELATIVE references will follow: –That is: CELL REFERENCES will CHANGE in the target cell, as just seen. Placing the special symbol $ in front of the row or column identifier in a reference prevents Excel from changing that part of the reference when copying. ABSOLUTE

1 st : Excel interprets the formula this way: A B C D = $A$1 - B2 + C Find value stored in exactly CELL A1, Subtract from that: value stored in cell: 2 rows up and 1 col to the right; Add that to value in cell 1 row up and 2 cols to the right. Display answer. 18 What if I copy A4 to B5 ? What will B5 look like? =$A -C +D $1 3 4

COMP 4—Power Tools for the Mind 19 Power Tools Cell references are classified according to the absence or presence of the $ symbol. All three types are used depending on the problem (we’ll look at real examples later that show WHEN/WHY to use different references!) – Relative reference: Neither the row nor column identifier is preceded by $. E.g., B4. (the default) – Mixed reference: Either the row or column identifier is preceded by $, but not both. E.g., $B4 and B$4. –Absolute reference: Both the row and column identifiers are preceded by $. E.g., $B$4. Referencing cells in formulas

COMP 4—Power Tools for the Mind 20 Power Tools Important Tricks of the Trade, con’t When you move a formula, Excel automatically updates the cell references contained in formulas. –Examples coming… Nifty Feature: When you edit a formula, Excel will put color-coded boxes around the different cell references. Works great when trying to figure out what is wrong with a formula. DEMO 3