CSC 240 (Blum)1 E-A-G-L-E-S. CSC 240 (Blum)2 Go to the Philadelphia Eagles site – the roster page (http://www.philadelphiaeagles.com/team/default.jsp)

Slides:



Advertisements
Similar presentations
Working with Tables 1 of 5. Working with Tables 2 of 5.
Advertisements

EXCEL UNIT 2 Computer Technology Timpview High School.
 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.
Microsoft Office XP Microsoft Excel
Microsoft Excel. Click on “Start,” then “Microsoft Office Excel.”
Using Microsoft ® Excel Formulas and Functions Start Microsoft ® Excel. Type data into cells as shown.
Introduction to Microsoft Excel 2010 Chapter Extension 3.
1 CA202 Spreadsheet Application Combining Data from Multiple Sources Lecture # 6.
Excel Tutorial 1 Getting Started with Excel
Objectives 1.Identify the functions of a spreadsheet 2.Identify how spreadsheets can be used. 3.Explain the difference in columns and rows. 4.Locate specific.
EXCEL Spreadsheet Basics
Pivot Tables ABDUL HAMEED
Managing Grades with Excel Viewing Help To view Help 1.Open Excel on your computer. 2.In the top right hand corner of the Excel Screen type in the.
Spreadsheets and Non- Spatial Databases Unit 4: Module 15, Lecture 2- Advanced Microsoft Excel.
SUNY Morrisville-Norwich Campus- Week 7 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms Psych 209.
FIRST COURSE Excel Lecture. XP 2 Introducing Excel Microsoft Office Excel 2007 (or Excel) is a computer program used to enter, analyze, and present quantitative.
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-1 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left,
Managing Business Data Lecture 8. Summary of Previous Lecture File Systems  Purpose and Limitations Database systems  Definition, advantages over file.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
1 MySQL and phpMyAdmin. 2 Navigate to and log on (username: pmadmin)
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
 Starting Excel 2003  Using Help  Workbook Management  Cursor Management  Manipulating Data  Using Formulae and Functions  Formatting Spreadsheet.
XP New Perspectives on Microsoft Excel 2002 Tutorial 1 1 Microsoft Excel 2002 Tutorial 1 – Using Excel To Manage Financial Data.
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
CSC 240 (Blum)1 Random Topics: OLE Objects, Mail Merge and XML Exporting.
XP Agenda Video Last Class Excel Tutorial 5: Working with Excel Lists Agenda for Next Class 1 New Perspectives on Microsoft Office Excel 2003 Tutorial.
Introduction to Spreadsheets Program: Excel. Starting Excel Spreadsheets Spreadsheet –A grid of rows and columns used to make calculations. A spreadsheet’s.
Engineering Fundamentals Decision Matrix Spreadsheet Tutorial 1.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
CONSTRUCTING RELATIVE & CUMULATIVE FREQUENCY DISTRIBUTIONS using EXCEL & WORD.
Excel CREATING A WORKSHEET AND CHART. Personal Budget Worksheet We will create a personal budget worksheet that shows you income each month and your expenses.
Using Technology to ease the administration burden CAPS Recording Mark Sheets.
Database Systems Microsoft Access Practical #1 Creating Tables Nos 215.
Key Applications Module Lesson 21 — Access Essentials
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Database Systems Microsoft Access Practical #3 Queries Nos 215.
CSC 240 (Blum)1 Forms and Importing Data in Access.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
CSC 240 (Blum)1 Introduction to Data Entry, Queries and Reports.
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/Programs/Microsoft Office/Microsoft Office.
Microsoft Excel. Excel specializes in creating and designing spreadsheets, or worksheets Worksheet – area to insert data Workbook – a set of worksheets.
XP 1 Microsoft Office Excel 2003 Working With Formulas and Functions.
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/All Programs/Microsoft Office/Microsoft Office.
XP 1 ﴀ New Perspectives on Microsoft Office 2003, Premium Edition Excel Tutorial 2 Microsoft Office Excel 2003 Tutorial 2 – Working With Formulas and Functions.
DAY 18: MICROSOFT ACCESS – CHAPTER 3 CONTD. Akhila Kondai October 21, 2013.
More Oracle SQL Scripts. Highlight (but don’t open) authors table, got o External data Excel, and make an external spreadsheet with the data.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
CSC 230 (Blum)1 Getting a List of Colors. CSC 230 (Blum)2 Imagine a program in which you want a list of colors in a ComboBox.
Instructions for transferring names and addresses from a MS WORD table (previously created for printing address labels) to MS Excel for upload to SendOutCards.
MS Excel INFORMATION TECHNOLOGY MANAGEMENT SERVICE Training & Research Division.
International Computer Driving Licence Syllabus version 5.0
Miscellaneous Excel Combining Excel and Access.
Making a JSON file.
Statistical Analysis with Excel
More on Oracle Scripts CSC 240 (Blum).
MS-Excel Part 1.
Creating a graph on Excel
MODULE 7 Microsoft Access 2010
Another way Here is a different, possibly better way to deal with the problem of the height (e.g. 5-11) being converted to a date (e.g. May 11, 2004) when.
Navya Thum January 30, 2013 Day 5: MICROSOFT EXCEL Navya Thum January 30, 2013.
Microsoft Excel 2007 Introduction to Spreadsheet Programs
Grauer and Barber Series Microsoft Access Chapter One
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms
Spreadsheets and Data Management
Excel Tips & Tricks July 18, 2019.
Presentation transcript:

CSC 240 (Blum)1 E-A-G-L-E-S

CSC 240 (Blum)2 Go to the Philadelphia Eagles site – the roster page (

CSC 240 (Blum)3 Copy the roster from the web page and paste it into Excel

CSC 240 (Blum)4 Heights become dates? Excel has interpreted the height 5-11 as the date May 11. One is tempted to say that Excel is just formatting the expression as a date and that one can simply choose not to format the cell containing the data in this manner. But changing the format yields the number ??? –The default expression for a date in Excel is the number of days that between the date and January 1, 1900.

CSC 240 (Blum)5 Further complication Whereas 6-1 got converted to (June 1, 2004) 6-0 got converted to (June 1, 2000). It could not interpret the 0 as a day so it interpreted it as a year. We can recover using the Month( ), Day( ) and Year( ) functions.

CSC 240 (Blum)6 Enter the formula =Month(D2) in cell I2 to recover the “month” which is really the feet portion of the height.

CSC 240 (Blum)7 Copy the formula down the column If you place the cursor into the lower right hand side of the cell, the cursor changes from a thick cross to a thin cross. When the cursor is a thin cross, drag down the column releasing when you reach the bottom of the region containing data.

CSC 240 (Blum)8 SpreadSheet after formula copied down

CSC 240 (Blum)9 Note that the formula in I3 (copied from I2) refers to D3 whereas the formula copied had D2. This is known as relative addressing and is desired in this case.

CSC 240 (Blum)10 Recovering the inches portion Because 0’s got interpreted as years but everything else got interpreted as days, the next part requires an IF. –If the year is 2000, we want a zero. –If the year is not 2000, we want the result of the day function. This is achieved by entering the Excel formula = IF(Year(D2)=2000,0,Day(D2))

CSC 240 (Blum)11 Enter formula to recover inches.

CSC 240 (Blum)12 Copy formula down column.

CSC 240 (Blum)13 While we are at it, let us multiply the feet by 12 and add it to the inches to express the height just in inches. Then we only have one number to store.

CSC 240 (Blum)14 Copy the formula down.

CSC 240 (Blum)15 Insert a new column.

CSC 240 (Blum)16 Highlight the data in the new column, right click and choose Copy.

CSC 240 (Blum)17 In the newly inserted column, right click and choose Paste Special.

CSC 240 (Blum)18 Choose Values in the Paste Special dialog box. Recall before we copied formulas now we want to copy the results of formulas not the formulas themselves.

CSC 240 (Blum)19 Spreadsheet after Paste Special.

CSC 240 (Blum)20 Delete all of the old height columns. (If you can come up with a better way to handle this unwanted conversion problem, let me know.)

CSC 240 (Blum)21 Position is not single valued. Note that some of the eagles play more than one position. Single pieces of data in databases should be just that single pieces. We say the data should be single-valued not multi-valued. Position will be a separate entity. And the relationship between players and positions will be many-to-many. –A player may play many positions. – A position may be filled by many players.

CSC 240 (Blum)22 Eliminate the Position column. We are setting up to import some data into an Access table. The position data does not belong to this table so we eliminate that column.

CSC 240 (Blum)23 Years Experience  Year Started The table holds data indicating the number of years the player has been in NFL but has an R if the player is a rookie. It is better to store the year the player started instead of the number of years played because number of years played requires updating. –(There is an issue here. What if the player does not play every year? Then the number of years played cannot be calculated from the year started.)

CSC 240 (Blum)24 Another IF formula to deal with the “R” that should be a 0.

CSC 240 (Blum)25 Copy it down. Insert a new column, do a copy-paste special (values).

CSC 240 (Blum)26 Then eliminate the Exp column and the last column.

CSC 240 (Blum)27 Change some of the column headers.

CSC 240 (Blum)28 Not ready to import yet. One can import data into Access from Excel, but we do not want to do that. The last name and first name are in the same cell, and we would like them to be separate fields in Access. –We might want to search for players with the same last name. Similarly, the birth city and state are in the same cell and we would like to separate them. –We might want to search for players from the same state. Try to make sure the data is “atomic.”

CSC 240 (Blum)29 Go to File/Save As … In the Save as type select CSV. Two questions arise.

CSC 240 (Blum)30 OK

CSC 240 (Blum)31 Yes

CSC 240 (Blum)32 Close Excel and open the CSV file in Notepad. The names are in quotes. It is trying to distinguish between the old commas and the new commas.

CSC 240 (Blum)33 Go to Edit/Replace. Enter “ in Find what, leave Replace with blank and click Replace All.

CSC 240 (Blum)34 Change the first line to reflect that name is now Lname and Fname, etc.

CSC 240 (Blum)35 One last fine point is to eliminate any blank lines at the end of the file.

CSC 240 (Blum)36 Follow the procedure we used before to import the data to Access.

CSC 240 (Blum)37 Change Fla. To FL

CSC 240 (Blum)38 Create a query that determines the average height and weight of the players.

CSC 240 (Blum)39 Average Height and Weight in DataSheet View

CSC 240 (Blum)40 Average Height and Weight in SQL View

CSC 240 (Blum)41 Create a query that finds the highest weight of a player.

CSC 240 (Blum)42 Highest Weight in DataSheet View

CSC 240 (Blum)43 Highest Weight in SQL View

CSC 240 (Blum)44 Heaviest Player To write a query to determine the heaviest player, we take our previous query to find the maximum weight and use it as a subquery – making it the criterion in the weight field. –It should be in parentheses.

CSC 240 (Blum)45 Using maximum weight query as a subquery to find heaviest player.

CSC 240 (Blum)46 Heaviest Player Query in DataSheet View

CSC 240 (Blum)47 Heaviest Player Query in SQL View

CSC 240 (Blum)48 Make a parameterized query to list the players from a given state.

CSC 240 (Blum)49 Group the players by the state they are from

CSC 240 (Blum)50 Players grouped by state in DataSheet View

CSC 240 (Blum)51 Players grouped by state in DataSheet View

CSC 240 (Blum)52 Counting the number of players from each state

CSC 240 (Blum)53 Counting the players from each state in DataSheet View

CSC 240 (Blum)54 Counting the players from each state in SQL View

CSC 240 (Blum)55 Finding the maximum count in SQL View

CSC 240 (Blum)56 Finding the maximum count in DataSheet View

CSC 240 (Blum)57 Finding the state with the maximum count: SQL View (Starting to get hairy)

CSC 240 (Blum)58 Finding the state with the maximum count: DatSheet View

CSC 240 (Blum)59 Finding the players from the state with the maximum count: SQL View (Even hairier)

CSC 240 (Blum)60 Finding the players from the state with the maximum count: DataSheet View