Lecture 21 Using & Managing Data: Spreadsheets (S&G, §§11.1–11.2)

Slides:



Advertisements
Similar presentations
Insert complete company name Creating an Excel Spreadsheet Using Excel 2000.
Advertisements

EDCI 570 Tom Fortney. Formula Bar Tool Bars Cell Row Numbers Column Letters.
S2 Business Unit 2 Admin & It - Spreadsheet Bell Baxter High School Faculty of Technologies S2 Core Business.
INFORMATION TECHNOLOGY Software Applications. WORD PROCESSING WP is the most commonly used package in business. A large number of documents are produced.
EXCEL UNIT 2 Computer Technology Timpview High School.
Microsoft Excel Khan Mohammad Mahmud Hasan
Microsoft Excel Manual 1 By Pradeep velugoti Lakshman Tallam.
Review Ch. 15 – Spreadsheet and Worksheet Basics © 2010, 2006 South-Western, Cengage Learning.
Spreadsheets A spreadsheet package is a general purpose computer package that is designed to perform calculations. A spreadsheet is a table which is divided.
Introduction to Microsoft Excel 2010 Chapter Extension 3.
Microsoft Excel Computers Week 4.
Spreadsheets With Microsoft Excel ® as an example.
Lab 09 More on Spreadsheets MS Excel. Objectives  The students should understand and have hands on experience in Working with formulas and functions.
Introduction to Spreadsheets Presented by Frank H. Osborne, Ph. D. © 2005 Bio 2900 Computer Applications in Biology.
1 University of York Department of Health Sciences Ian Cole Lecturer in C&IT Introduction to Excel 2000.
Excel Project One CIS101. What is Excel? Spreadsheet program with four parts Worksheets – where you enter, calculate, manipulate, and analyze data Charts.
Pour plus de modèles : Modèles Powerpoint PPT gratuitsModèles Powerpoint PPT gratuits Page 1 INTRODUCTION TO EXCEL LANDMARK UNIVERSITY COLLEGE.
Introduction to Microsoft Excel
Microsoft Excel Diane M. Coyle Spring 2009 CS 105.
Computer Applications Week 9 A New Quarter: Excel, PowerPoint, Internet Research.
Spreadsheets and Microsoft Excel. Introduction n A spreadsheet (called a worksheet in Excel) is a two-dimensional array of cells containing data to be.
Spreadsheets Introduction. What is a spreadsheet? A spreadsheet program is used to manipulate numbers One of the most popular spreadsheet programs is.
 Starting Excel 2003  Using Help  Workbook Management  Cursor Management  Manipulating Data  Using Formulae and Functions  Formatting Spreadsheet.
Spreadsheet A spreadsheet is the computer equivalent of a paper ledger sheet. It consists of a grid made from columns and rows. It is an environment that.
EDT 608 Unit 3 Using Microsoft Excel Under “Start”, go to “Programs” and select “Microsoft Excel”. Go the next slide to see the Excel Screen template.
Excel Spreadsheet basics. Excel Sheets and Books  Spreadsheet: tool to analyze, chart and manage data for personal, business and financial use Worksheet:
ELECTRONIC SPREADSHEET Chang-Yang Lin Eastern Kentucky University.
® Microsoft Office 2010 Excel Tutorial 1: Getting Started with Excel.
1 Microsoft Excel An Introduction to Spreadsheets Lecture 18.
Microsoft Excel. Excel specializes in creating and designing spreadsheets, or worksheets Worksheet – area to insert data Workbook – a set of worksheets.
1. First of all we opened up a spreadsheet and started adding the data. 2. To work out the total cost for platinum, you times cell b5*c5 3. To calculate.
What is a spreadsheet? Spreadsheet Basics © All Rights Reserved
Spreadsheet Basics What is a Spreadsheet? A spreadsheet (or worksheet) is an arrangement of cells in columns and rows used to organize, analyze, calculate,
Goals Define the role of general information systems Explain how spreadsheets are organized (cells, lists or columns, tables, sheets, [hierarchy], sort,
Data types S S T : S P R E A D S H E E T S SST 2 Spreadsheet 2 Data Types Name: ______________________ Class: ______________________.
An electronic document that stores various types of data.
COMPUTER LITERACY NOTES MS-EXCEL. SPREADSHEETS A spreadsheet is a computer equivalent of a paper ledger sheet. Excel allows you to create spreadsheets.
Spreadsheet I n Concepts & operations. Concepts n Workbook: Excel file n Worksheet: sheet n Row: 1-???? n Column: A - Z, AA - ?? n Cell n Cell address.
IT for quantitative information Working with Spreadsheets 1.
Introduction to Spreadsheets –
Creating a Workbook Part 1
Spreadsheets 101 Using MS Excel.
Spreadsheet Manager Training Module
Chapter 2 Using Spreadsheets.
An Array of Cells Spreadsheet is an array of cells
CS 106 Computing Fundamentals II Chapter 5 “Excel Basics for Windows”
Introduction to Spreadsheets
Spreadsheet – Microsoft Excel 2010
Office tool for creating tables and charts
Microsoft Excel.
Copyright © 2014 Pearson Canada Inc.
INTRODUCTION TO SPREADSHEET APPLICATIONS
New Perspectives on Microsoft
Computer Fundamentals
Formulas A formula is a sequence of values, cell references and operators that produce a new value. = E8 + 3*(E10 - E11) Formulas always start with an.
Creating and Editing a Worksheet
Microsoft Excel All editions of Microsoft office.
Spreadsheets and Charts A Beginner’s Guide
Basic terms and structures
Microsoft Excel 101.
Technology ICT Core: Spreadsheets.
Spreadsheet/Worksheet
Lesson 20 Creating Formulas and Charting Data
3.1 Understanding Spreadsheets
Introduction to Spreadsheets –
Adm Middle School Excel
Microsoft Excel.
Microsoft Excel.
When you first open up in notepad, go to Edit and click Select All
Presentation transcript:

Lecture 21 Using & Managing Data: Spreadsheets (S&G, §§11.1–11.2) 9/22/2018 6:47 AM Lecture 21 Using & Managing Data: Spreadsheets (S&G, §§11.1–11.2) 9/22/2018 CS 100 - Lecture 21 CS 100

Some Important Applications of Computers Spreadsheets Databases Symbolic & numeric computation Networks Artificial Intelligence 9/22/2018 CS 100 - Lecture 21

Relation to Algorithms Algorithmic problem solving is used in these applications Algorithmic problem solving uses these applications 9/22/2018 CS 100 - Lecture 21

Spreadsheet Visual system for representing and manipulating tabular data Often used for: budgets & other financial data grades Useful for keeping dependant data consistent Examples: Visicalc, Excel, Lotus 1-2-3 9/22/2018 CS 100 - Lecture 21

Example Spreadsheet Column Cells Row Cursor 9/22/2018 CS 100 - Lecture 21

Cells Each cell has a “name” Cells can contain character data e.g. “D2” is the cell in column D and row 2 Cells can contain character data e.g., names, column headings Cells can contain numeric data in various formats e.g., integer, real, currency, date, time Cells can contain formulas e.g., “D2*E2” 9/22/2018 CS 100 - Lecture 21

Relative & Fixed Cell References A name of the form “D2” is a relative reference to the cell in column D and row 2 A name of the form “$D$2” is a fixed reference to the cell in column D and row 2 When a formula is copied into another cell: the fixed references refer to the same cells as they originally did the relative references refer to cells in the same relative positions 9/22/2018 CS 100 - Lecture 21

Example Suppose in G2 we have the formula: D2 * (1 + $C$8 / 100) * E2 When we copy it to G3 it will be: D3 * (1 + $C$8 / 100) * E3 When we copy it to G4 it will be: D4 * (1 + $C$8 / 100) * E4 And so forth 9/22/2018 CS 100 - Lecture 21

Run Excel Spreadsheet Example Lecture 21 9/22/2018 6:47 AM Run Excel Spreadsheet Example Demonstrate: Putting formula “=D2*E2” in F2 Copying into cells below (with copy/paste) Show how auto update Show Pie and Bar charts (using press and hold to preview) Select columns C & D and show scatter chart of age vs. pay rate Insert Totals for Pay column (note the variety of available functions) Show how auto updates Add “Base % Increase” in B8 and 2 in C8 In col. G put “New Pay” and formula “D2*(1+$C$8/100)*E2” (may be easier to see formula in Formula Toolbar) (note dif between relative and fixed cell references) Copy down to rest & fill in total Apply currency formatting (Format/Cell) Show how can change percent from 2 to 3 Insert new col. before G for Merit Change format to General; show adjusting col. widths Fill in new formula for NewPay col. Show changing Base % and Merit % Select the Pay to New Pay block and show a bar chart showing old and new Pay Show Goal Seek (under Tools) by asking it to set H9 to 12,000 by varying C8 9/22/2018 CS 100 - Lecture 21 CS 100

Beginning Spreadsheet 9/22/2018 CS 100 - Lecture 21

Formula Entered in F2 9/22/2018 CS 100 - Lecture 21

Result of Formula in F2 9/22/2018 CS 100 - Lecture 21

Formula Copied into Rest of Column 9/22/2018 CS 100 - Lecture 21

Result of Formulas in Column F 9/22/2018 CS 100 - Lecture 21

Example Pie Chart of Column F 9/22/2018 CS 100 - Lecture 21

Scatter Chart of Columns D vs. C 9/22/2018 CS 100 - Lecture 21

Compute Sum of Column F 9/22/2018 CS 100 - Lecture 21

Resulting Sum 9/22/2018 CS 100 - Lecture 21

Formula for Projected Base Pay Increase 9/22/2018 CS 100 - Lecture 21

Resulting New Pay 9/22/2018 CS 100 - Lecture 21

Formula Relativized to Row 3 9/22/2018 CS 100 - Lecture 21

Formula Relativized to Row 4 9/22/2018 CS 100 - Lecture 21

Change Format of Column G 9/22/2018 CS 100 - Lecture 21

Resulting Reformated Column G 9/22/2018 CS 100 - Lecture 21

Insert Column for Merit Raises 9/22/2018 CS 100 - Lecture 21

New Formula to Include Merit Raises 9/22/2018 CS 100 - Lecture 21

Resulting Projected New Total 9/22/2018 CS 100 - Lecture 21

Bar Chart of Old and New Pay 9/22/2018 CS 100 - Lecture 21

Goal Seeking: Adjust Base Rate so Total = $12,000 9/22/2018 CS 100 - Lecture 21

Calculated Base Rate to Meet Goal 9/22/2018 CS 100 - Lecture 21

Computer Science Issues 9/22/2018 CS 100 - Lecture 21

Update Strategies Reevaluate every cell Reevaluate only those cells containing formulas works on small spreadsheets Reevaluate only those cells that depend on the changed cell problem: indirect dependencies (ripple effect) 9/22/2018 CS 100 - Lecture 21

Indirect Dependency 9/22/2018 CS 100 - Lecture 21

Result 9/22/2018 CS 100 - Lecture 21

Problem of Indirect Dependencies Suppose change D2 Could look for all cells with a formula involving D2, and reevaluate those But suppose F9 depends on F2, and F2 depends on D2 Bad solution: check all cells & update those directly dependant on D2 keep a list of them check all cells & update those directly dependent on those in list keep a list of these, and return to (3) continue until there are no changes 9/22/2018 CS 100 - Lecture 21

Better Solution Keep with each cell a list of all other cells directly dependant on it Update this list whenever a formula is changed Whenever a cell’s value is changed: reevaluate all the cells that depend directly on it reevaluate all the cells that depend directly on those cells and so forth 9/22/2018 CS 100 - Lecture 21

Event-Driven Programming Lecture 21 9/22/2018 6:47 AM Event-Driven Programming Each cell contains either: data or a formula, which is a little program these formulas are interpreted directly (not compiled into machine code) Whenever a cell is modified: it creates an event which may trigger other events must end (no circular dependencies) There is no iteration except that provided through the built-in functions & tools May show creating a circular reference, like C8=D8+1, D8=C8+1 9/22/2018 CS 100 - Lecture 21 CS 100