S PREADSHEET S KILLS For use with BTEC Unit 42 – Spreadsheet Modelling.

Slides:



Advertisements
Similar presentations
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Excel Project 4 Financial Functions, Data Tables, Amortization Schedules, and Hyperlinks.
Advertisements

Overview Lesson 1. Objectives Step-by-Step: Start Excel 1.Click the Start menu, and then click All Programs. 2.On the list of programs, click Microsoft.
WORKING SMART Crystal M. Thomas Henrico County DSS (804) POSSESS Central Region Member October 31, 2007.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel Project 7 Using Macros and Visual Basic for Applications (VBA) with Excel.
Chapter 4 Financial Functions, Data Tables, and Amortization Schedules
Press Esc to Exit ©2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
Using Macros and Visual Basic for Applications (VBA) with Excel
Developing an Excel Application
Tutorial 8: Developing an Excel Application
XP New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 1 Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application.
Introduction to Excel Chapter 2 Excel Fundamentals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t PowerPoint Project 4 Modifying Visual Elements and Presentation Formats.
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.
Microsoft Excel 2010 Chapter 7
1 Excel Lesson 6 Enhancing a Worksheet Microsoft Office 2010 Introductory Pasewark & Pasewark.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 3 1 Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional- Looking.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Chapter 2 Querying a Database
LOGO Chapter V Formattings 1. LOGO Overview  Conditional formatting  Working with tables  Filtering  Sorting  Freeze panes  Pivot tables  How to.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.1 Exploring Microsoft Office Excel Copyright © 2008 Prentice-Hall. All rights.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Using Backstage Lesson 2. Objectives Software Orientation: Backstage View Backstage view’s left-side navigation pane (see figure on the next slide) gives.
Working with a Database
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next Generation.
11 Exploring Microsoft Office Excel 2007 Chapter 4: Working with Large Worksheets and Tables Chapter 04 - Lecture Notes (CSIT 104)
Verify your data entry You could use data types and field properties for adding any validation on your date: EX: Data type: number : allow the user to.
Formulas and Advanced Features R003. AO1: Use Formulas & features in your spreadsheet Invoice sheet Absolute cell reference Macros Conditional Formatting.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Excel Project 5 Creating, Sorting, and Querying a List.
October 2003Bent Thomsen - FIT 3-21 IT – som værktøj Bent Thomsen Institut for Datalogi Aalborg Universitet.
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
Creating a Web Site to Gather Data and Conduct Research.
1 Data List Spreadsheets or simple databases - a different use of Spreadsheets Bent Thomsen.
Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional-Looking Worksheet.
Spreadsheets in Finance and Forecasting Presentation 9 Macros.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Question 10 What do I write?. Spreadsheet Make sure that you have got a printout of your spreadsheet - no spreadsheet, no marks!
Chapter 12: Recording Macros Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
CREATING TEMPLATES CREATING CUSTOM CHARACTERS IMPORTING BATCH DATA SAVING DATA & TEMPLATES CREATING SERIES DATA PRINTING THE DATA.
Microsoft Publisher 2010 Chapter 7 Advanced Formatting and Merging Publications with Data.
Analysing Data with Excel Viewing Help To view Help 1.On the Start menu, point to Programs, and then click Microsoft Excel. 2.On the Help menu,
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
Microsoft Access 2010 Chapter 10 Administering a Database System.
MICROSOFT WORD 2007 INTRODUCTION 1. Changing Views Click VIEW tab on ribbon –Print Layout (default) Shows document as if printed –Full Screen Reading.
MS Excel 2007 Charts Delivering a Message Prof. Donna B. Sanders.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Overview Lesson 1 Miami Beach Senior High School Academy of Information Technology 1.
Spread Sheets and Excel Overview Introduction to the Basics of the Excel Spreadsheet application Entering Data Formatting Cells Using Formulas Overview.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Microsoft Excel Prepared by the Academic Faculty Members of IT.
Exporting & Formatting Budgets from FlexGen, NextGen & Zortec into Excel.
Copyright © ADP, LLC. ALL RIGHTS RESERVED. Excel 201: Build it Up, Take Your Skills to the Next Level March 13, :45PM Rita Northrup, Patti.
Spreadsheet Evidence By.... P2 – DEVELOP A COMPLEX SPREADSHEET MODEL TO MEET PARTICULAR NEEDS.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Chapter 4 Financial Functions, Data Tables, and Amortization Schedules Microsoft Excel 2013.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Excel Tutorial 8 Developing an Excel Application
June 17, 2009 Office 2007 Tips & Tricks.
Excel Chapter 1.
Data Validation and Protecting Workbook
Microsoft Excel.
Developing an Excel Application
Advanced Microsoft Excel
Operate A Spreadsheet Application Advanced
Guidelines for Microsoft® Office 2013
Microsoft Office Excel 2003
Bent Thomsen Institut for Datalogi Aalborg Universitet
Microsoft Excel 2007 – Level 2
Presentation transcript:

S PREADSHEET S KILLS For use with BTEC Unit 42 – Spreadsheet Modelling

C ONTENTS Developer Tab Dropdown Menu OR Function Password Protection Recording Macros Adding Buttons Editing Buttons Event Control Customised Printing Adding Navigation Creating a Pivot Table Creating an Alternative Format Unlocking Cells Protecting Sheets

D EVELOPER T AB In order to view the Control and Code toolbars, you will need to show the Developer tab. Click on the Office button in the top-left corner of Excel and click on the Excel Options button at the bottom of the menu. Tick the box Show Developer tab in the Ribbon and press OK.

D ROPDOWN M ENU Create a new sheet and call it Titles Data – this sheet will show data pulled from other areas of the spreadsheet. Got to the Developer tab, then Insert and select Dropdown menu. Draw it out on your sheet. Right-click on the menu, and select Format Control. For the Input range, highlight a list showing all the titles on the Sales sheet. Set the Cell link to A2.

D ROP DOWN M ENU When you select a title from the list, it’ll show a number in the linked cell. We need to show more clearly what title has been selected for our lookups. Create a table like this to the right of your sheet > Highlight the table and all it titles In the cell under the number, enter this formula: =VLOOKUP(A2,titles,2) It will look up the title name based on the number. Set up a table like this below your drop down menu

D ROP DOWN M ENU SALES Setup a series of VLOOKUPs that will find the data based on the chosen title. For April 2010 sales, click in the empty cell. Type in =VLOOKUP(, select the cell that shows the title. Enter a comma and go to the Sales sheet and select the area showing the titles and the sales data (not the months). Enter another comma and type 2. Press enter. This will look up the sales data for April, which is in the second column of your selected table. Continue adding VLOOKUPs for each month, making sure that you add the correct column number for the month you are looking up.

D ROP DOWN M ENU INCOME Repeat the VLOOKUP process for income as you did for sales. EXPENSES Create a new table that shows the expenses for each title, per month. You will be adding together the expenses subtotal and the license fee.

D ROP DOWN M ENU EXPENSES Create a new table that shows the expenses for each title, per month. You will be adding together the expenses subtotal and the license fee. On your Title Data sheet, create a VLOOKUP to look for the expenses data of the selected title, much like your Sales and Income VLOOKUPs PROFIT This is a simple formula that will subtract expenses from your income. Test your drop down menu and make sure all cells are formatted correctly.

D ROP DOWN M ENU This shows a sample from the table: Add conditional formatting to the cells showing the profit.

OR F UNCTIONS You will need to add an OR function to your spreadsheet. We will do this on the Title Data sheet. Enter this formula to the right of the last profit cell on your sheet. It will look for any profitable months and return one message, if there are no profitable months, it will give you another message: =IF(OR(B8>0,C8>0,D8>0,E8>0,F8>0,G8>0,H8>0,I8>0,J8>0, K8>0,L8>0,M8>0),"Some Profitable Months","NO PROFITABLE MONTHS!") Check your cell references when you enter this formula.

C REATE A SIMPLE PASSWORD PROTECTION SYSTEM Create a sheet called Passwords with Names and Passwords listed in a table. Make sure the list is sorted alphabetically. This is very important. We will be using a lookup statement later, and these demand that lists are sorted! Eventually this sheet will be hidden, and the range(B2:B4) can be formatted so the font colour is white. This will make the passwords ‘invisible’ to a novice user. The data in this table is contained in A2:B4 Think of it as a simple table, where the names are in column 1 and the passwords are in column 2 Highlight A2 to B4, and call it password. This is now a named range.

Again, cell B4 can be formatted so the password is not visible. Leave this for the moment as it’s easier to test. Create sheet called Menu with space for Name and Password to be entered. C REATE A SIMPLE PASSWORD PROTECTION SYSTEM

Create a Vlookup to check the name exists Using Vlookup, create a formula in cell C3 that looks for the name (B3, in the table on the first sheet we made…remember the data is in the named range called password, and the name info was in column 1. The FALSE means that there must be an exact match. C REATE A SIMPLE PASSWORD PROTECTION SYSTEM

T EST THE NEW NAME CELL WITH A CORRECT NAME, AND AN INCORRECT NAME. The #N/A error occurs when the name is not in the list. If the name is in the list, then it will be shown.

C REATE A V LOOKUP TO CHECK THE PASSWORD CORRESPONDS TO THE ONE IN THE LIST Using Vlookup, create a formula in cell C4 that tells us what the password is for the person shown. We are looking for the name in B3, in the same named range called password, but this time we need to find out the info from column2. Again the FALSE checks for an exact match.

S PREADSHEET SO FAR

C REATE A MESSAGE IF THE NAME IS IN THE LIST Create an IF statement in cell D3: The test will be, “does cell C3 have the #N/A error message”? If it does, this means the name is not is in the list. If not, that means a valid name is in the list. =IF(isna(C3), “Incorrect name”, “Correct username”)

C REATE A FORMULA THAT TESTS WHETHER THE PASSWORD ENTERED IN THIS SHEET Create an IF statement in cell D4: The test will be, “Is the text in B3 (the text the user typed on this sheet) the same as the text in C3 (The password we have on record on the other sheet) If it does, this means the password is correct. If not, that means the password is not correct. =IF(B4=C4, “Correct Password”, “Incorrect Password”)

T EST THE FORMULAS The correct password is “pass2” When we change the password to this, it is accepted

R ECORDING T HE M ACROS Click on the Developer tab, click on Record Macro and call the new macro HideAllButMenuSheet. Click OK and the macro will start recording your actions. Right click on every sheet tab except Menu and press Hide. Click the Stop button located under the sheet tabs to stop recording.

R ECORDING T HE M ACROS Setup a new Macro called UnhideAll. Click OK and the macro will start recording your actions. Right click on the Menu sheet and select Unhide... for each of your sheets. Click the Stop button located under the sheet tabs to stop recording.

A DDING B UTTONS Click on the Developer tab and then click on the Insert button. Click on the Button button under Form Controls and draw a button on your sheet. Assign the UnhideAll macro to this button.

E DITING Y OUR B UTTON Right-click on your button and choose Assign Macro. Click on Edit on the dialog box. Edit the code so that it looks like the one above. This will remove any unnecessary code, keeping the lines relating to unhiding sheets.

E DITING Y OUR B UTTON Enter the additional Visual Basic code that has been highlighted. It will check to see if the correct password has been entered. If is hasn’t, then the macro will stop running. If it is correct then the sheets will be unhidden.

E DITING Y OUR B UTTON Rename your button Unhide All Sheets. Draw out another button, assign the HideAllButMenuSheet macro and name the button Hide All Sheets.

E VENT C ONTROL When we open the spreadsheet, we want to go to the menu sheet to enter the passwords. Click on the Visual Basic button under the Developer tab. Click on ThisWorkbook and then enter the following code: Sheet2 is the sheet where the user name and password entry can be found.

C USTOMISED P RINTING You will need to create printouts of specific parts of your spreadsheet. Go to sheet with your sales data. Click on the Record Macro button located under your sheet tabs. Call the macro PrintSales and press Ok Begin by selecting the area that shows your sales data including the expected sales for April 2011.

C USTOMISED P RINTING Under the Page Layout tab, click on Print Area and select Set Print Area. Click on Print Titles and set up your Header/Footer as shown:

C USTOMISED P RINTING Draw out a button and assign the PrintSales macro to it. Give the button a proper name.

C USTOMISED P RINTING Repeat this process for the following tables: Income Expenses (for each title) Translator fees Profit

A DDING N AVIGATION Draw out a shape, right click on it and select Add Text. Enter the name of one of your sheets. Right-click on your shape again and choose Hyperlink... Click on Place in This Document and select the sheet you want to link to. Press Ok. Create a set of navigation buttons on each sheet.

C REATING A P IVOT T ABLE Organise your Translator table so that it looks like the one below:

C REATING A P IVOT T ABLE Under the Insert tab, click on the Pivot Table button. Click on the selection button under Select table or range option. Highlight the area with your table except the Total column. Press OK.

C REATING A P IVOT T ABLE Tick all the options for the fields to add to your report. You can drag the fields about to change the views of your pivot table.

C REATING A LTERNATIVE F ORMATS Click on the Office Button and go to Save As... Choose Web Page from Save as type: Add a Page Title and press Save.

U NLOCKING C ELLS Select cells that need to be unlocked – this will allow you to enter data. Right-click on them and select Format Cells. Under the Protection tab, untick Locked and press OK. Keep cells with formulas in locked as you do not want them to be changed.

P ROTECTING S HEETS Click on the Review tab and click on the Protect Sheet button. Untick Select Locked Cells, add a password and press OK. All cells will be locked except those that have been unlocked.

P ROTECTING S HEETS Click on the Review tab and click on the Protect Sheet button. Untick Select Locked Cells, add a password and press OK. All cells will be locked except those that have been unlocked.