Excel: Linking sheets and summary sheets (Mac OS)

Similar documents
Comparing and linking tables of data using VLOOKUP

IF & VLOOKUP Function

Microsoft Excel 2007

MODULE VI: MORE FUNCTIONS

Excel Tips for Compensation Practitioners Weeks 9-12 Working with Lookup Formulae

Safari ODBC on Microsoft 2010

Excel VLOOKUP. An EMIS Coordinator s Friend

Excel 2. Module 2 Formulas & Functions

Printing Monthly Eligible List for Providers

Excel for Data Visualization

Pivot Table Project. Objectives. By the end of this lesson, you will be able to:

Using Excel for a Gradebook: Advanced Gradebook Formulas

What is a spreadsheet?

Become strong in Excel (2.0) - 5 Tips To Rock A Spreadsheet!

VLOOKUP Function Purpose (Mac Guide)

Microsoft Office Excel 2007: Advanced Unit 02 - Lookups and Data Tables

ADVANCED EXCEL: LOOKUP FUNCTIONS

Microsoft Excel Lookup Functions - Reference Guide

Intermediate Excel Training Course Content

How to use the Vlookup function in Excel

Formulas and Functions

Advanced Formulas and Functions in Microsoft Excel

Excel Intermediate. Click in the name column of our Range of Data. (Do not highlight the column) Click on the Data Tab in the Ribbon

Getting Started with Excel

MICROSOFT OFFICE APPLICATIONS

Excel Foundation Quick Reference (Windows PC)

Microsoft Excel 2010 Training. Excel 2010 Basics

CMPF124 Microsoft Excel Tutorial

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex

NUMERICAL COMPUTING For Finance Using Excel. Interpolation

1.a) Go to it should be accessible in all browsers

Data Service Center May, Compiled by: Katey Semmel Donna Frieze

Advanced formula construction

Microsoft Office Excel 2007: Basic. Course Overview. Course Length: 1 Day. Course Overview

Extracting the last word of a string Extracting all but the first word of a string Extracting first names, middle names, and last names Counting the

Ahmad Al-Rjoub Excel Tutorial 7. Using Advanced Functions, Conditional Formatting, and Filtering

What is a VLOOKUP? Source

Vlookup and Sumif Formulas to assist summarizing queried data

Instructions on Adding Zeros to the Comtrade Data

Themes & Templates Applying a theme Customizing a theme Creatingfilefromtemplate Creating yourowncustomize Template Using templates Editing templates

Uploading Scantron Scores to CourseWeb

NHS e-referral Service

MS EXCEL: TABLES, FORMATS, FUNCTIONS AND MACROS

exam. Number: Passing Score: 800 Time Limit: 120 min MICROSOFT Excel 2013 Expert Part One.

COMM 391 Winter 2014 Term 1. Tutorial 2: Microsoft Excel Using VLookUp and Creating PivotChart

Excel Format cells Number Percentage (.20 not 20) Special (Zip, Phone) Font

Excel Conditional Formatting (Mac)

CS1100: Computer Science and Its Applications

Customizing the Ribbon

EXCEL AS BUSINESS ANALYSIS TOOL. 10-May-2015

Advanced Excel. IMFOA Conference. April 11, :15 pm 4:15 pm. Presented By: Chad Jarvi, CPA President, Civic Systems

Open you WordPad/NotePad File in Excel. How to Move Text to Columns (You can see all data in Column A)

Table of Contents. Chapter 1

Excel Level 3 - Advanced

How to Excel - Part 2

Excel as a Tool to Troubleshoot SIS Data for EMIS Reporting

Intermediate Excel 2016

Advanced Excel for EMIS Coordinators

1. In the accompanying figure, the months were rotated by selecting the text and dragging the mouse pointer up and to the right.

Introduction to Excel 2013

My Top 5 Formulas OutofhoursAdmin

Office of Instructional Technology

Excel 101. DJ Wetzel Director of Financial Aid Greenville Technical College

Pivot Tables, Lookup Tables and Scenarios

Microsoft Certified Application Specialist Exam Objectives Map

1. NORM.INV function Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation.

EMIS - Excel Reference Guide

Recording assessment in SITS using Excel and Turnitin

GCSE CCEA GCSE EXCEL 2010 USER GUIDE. Business and Communication Systems

ICT IGCSE Practical Revision Presentation Spreadsheets. Columns. Rows. This is a range of cells. More than one cell has been selected.

FSFOA EXCEL INSTRUCTIONS. Tips and Shortcuts

Commonly Used Excel Formulas

Microsoft Excel 2010 Handout

Advanced Excel Charts : Tables : Pivots

Microsoft Office Excel 2010: Basic. Course Overview. Course Length: 1 Day. Course Overview

Top 15 Excel Tutorials

Programs for American Fidelity WorxTime

How Commercial Off-the-Shelf (COTS) Business Intelligence (BI) Tools Can Improve Financial Management Analysis

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited EXCEL ADVANCED

2. In Video #6, we used Power Query to append multiple Text Files into a single Proper Data Set:

Using Microsoft Excel

Excel Shortcuts Increasing YOUR Productivity

New Perspectives on Microsoft Excel Module 3: Performing Calculations with formulas and Functions

Excel Boot Camp PIONEER TRAINING, INC.

Microsoft Excel Prepare Test Session File

EXCEL ADVANCED Linda Muchow

VLOOKUP() takes three mandatory parameters and one default/optional parameter:

Microsoft Exam Microsoft Excel 2013 Expert Part 1 Version: 3.0 [ Total Questions: 62 ]

Introduction to Information Technology

Quick Guide for Excel 2015 Data Management November 2015 Training:

Index. calculated columns in tables, switching on, 58 calculation options (manual and automatic), 132 case sensitive filter, implementing, 37

Excel: Tips and Tricks Speaker: Marlene Groh, CCE, ICCE Date: June 13, 2018 Time: 2:00 to 3:00 & 3:30 to 4:30 Session Number: & 27097

UPDATING E-AUTOMATE VENDOR ITEM NUMBERS WITH NEW SN REFERENCE NUMBERS

EXCELLING WITH ANALYSIS AND VISUALIZATION

Excel Flash Fill. Excel Flash Fill Example

Vlookup for dummies two sheets vlookup

Microsoft Excel Microsoft Excel

LIBRE OFFICE CALC What is Calc? Spreadsheets, sheets, and cells spreadsheets Spreadsheets Cells

THE AMERICAN LAW INSTITUTE Continuing Legal Education

Excel: Tables, Pivot Tables & More

Transcription:

Excel: Linking sheets and summary sheets (Mac OS) To make the content of one cell appear somewhere else Click in the destination cell and type = Click on the cell whose content you want to pull in and press ENTER To build formulae across worksheets Start to build your formula When a cell reference from another sheet is required, simply click to select the required worksheet, then click on the cell you require You will lose visibility of the formula in the worksheet, so continue building the formula in the formula bar at the top of the worksheet. To build formulae across Excel files Open all the Excel files to be used in the formula and view them on the screen together using Window >> Arrange (see previous section) Click where you want your formula to appear and start to build the formula When a cell reference from another file is required, click anywhere on the file to activate it. Click to select the required worksheet, then click on the cell you require Continue building the formula in the formula bar at the top of the worksheet. File names will appear in the formula as [filename.xlsx] Worksheet names will appear in the formula as worksheetname! To view multiple Excel files on the screen together Useful when building formulae across workbooks: Open the files in Excel On the Window menu, click on Arrange. Choose your preferred option (e.g. Horizontal) and click OK. The Excel files will all be visible on the screen. Only one will be active at any one time. The active workbook can be identified by: the ribbon above the sheet will not be greyed out. the Maximise, Minimise and Close buttons at the top left of that workbook will not be greyed out. Moving chart location e.g. to make them appear alongside other data on a summary sheet: Click on the chart to select it Copy the chart ( +C) Click on the sheet where you want to put the chart. Paste the chart ( +V). Hiding grid lines e.g. to build a summary sheet that looks a bit like a dashboard: Click on any cell in the worksheet. Click on Excel > Preferences Click on View Uncheck Show gridlines and click OK. Last updated April 2015 Information Services documents are online at: https://staff.brighton.ac.uk/is/training 1 Faye Brockwell

Autofill to copy formula to other cells Select the cell(s) you want to copy. The fill handle will appear at the bottom right of the selection Point at the fill handle until it becomes a cross. Click and drag to copy the data OR double-click to autofill all rows. Click on to change the type of fill (series, copy, formula only etc.) Absolute cell referencing to avoid problems when autofilling Absolute cell references are used when a formula references a cell/cells that must remain the same even when a formula is copied to other cells in the worksheet (e.g. using autofill).to make a cell reference absolute: Double click on the cell containing the formula Click once on the cell reference in the formula bar Press +T until cell reference meets your needs (see below) Original cell reference... D2 $D2 D$2 $D$2...when copied becomes E4 $D4 E$2 $D$2 Effect Both the column and the row coordinates change as the formula is copied The column coordinate is fixed, but the row coordinate changes The column coordinate changes, but the row coordinate is fixed. Both the column and row coordinates remain fixed Naming worksheets Naming your worksheets makes Select it easier the cell(s) to read you formulae want to copy. across The fill worksheets or files. Use short handle names. will appear at the bottom right of the Double click on the worksheet s selection tab at the bottom of the screen (e.g. Point Sheet1) at the fill handle until it becomes a cross. Type the new name of the worksheet and press ENTER. Cl Cl Note, this step is NOT the same as naming a cell range to use in a formula such as VLOOKUP. Adding cell borders This is useful when printing a worksheet or if you have hidden the gridlines on a worksheet to create a dashboard. Select the cells that you want to add the borders to. On the Home tab click on drop down arrow on the Border button Click to choose All Borders Name cells or ranges This technique can be used as an alternative to using absolute references when building VLOOKUP functions Select the cell or range you want to name Click in the Name box and type the name. Press ENTER To use, simply type the name wherever you would use a cell or range reference in a formula. E.g. =SUM(Wages) 2

Using VLOOKUP to pull data from another table Where several spreadsheets use the same data, it is useful to have one master sheet holding that data and then allow the other sheets to reference that information using the VLOOKUP function. This allows you to maintain data centrally. Any updates will automatically update the other sheets. VLOOKUP is also useful where the data you want is held in 2 or more tables downloaded from CAMS and you want to link them together or compare them. In the example below, a VLOOKUP in column K uses the mark in column J to locate the corresponding grade in the second spreadsheet. Preparing your data for VLOOKUP For VLOOKUP to work: the master lookup table must be sorted by the key field (i.e. the field common to both tables). The master lookup table can be identified as the table with unique values in the key field column, ie each value only appears once. It is also useful (but not essential) to name the lookup table as it makes it simplifies the build of VLOOKUP formula. 3

Building the VLOOKUP The format of the VLOOKUP function is: =VLOOKUP(lookup_value,table_array,col_index_num,range_lookup) The key field on the current sheet. i.e. the cell containing the text or value in the current sheet that you want to check for in the other table Lookup_value Usually a cell reference on the same worksheet and in the same row as where you are building the VLOOKUP In our example on the previous page, the Mark is the key field as it is the value that appears on both tables. The name or cell range of the master table you want to check against. Table_array The first column in the range must contain the key field where you will look for the lookup_value. The table must be sorted on the key field. Cell references should be made absolute using $ signs (or you can name the table beforehand). The number of the column in the master table (table_array) containing the text or value that you are looking for (counting across from the first column). Col_index_num Do not use column letters here. In our example on the previous page, the Grade is held in column 2 on the master table. Used to specify whether you are only interested in exact matches or closest matches. Range_lookup Type FALSE to look for exact matches only If no exact matches are found, Excel will display #N/A as the result of the VLOOKUP Leave blank to find closest match. 4

VLOOKUP Example We have this sheet containing student marks: Use insert function (formula builder) to make VLOOKUP easier Start to type your formula until the first bracket e.g. =VLOOKUP( On the formula bar, click on the function button The pop-up window splits the formula into its arguments To select cells to add them to the formula simply select them in the worksheet. And this sheet (called Grades & Check Digits) containing the marks scheme: In cell K2 on the first sheet we have built the VLOOKUP function below to find the correct grade by: searching for the mark in cell J2 on the first sheet in the list of marks on the second sheet, reading across on the second sheet to find the corresponding grade in column 2: =VLOOKUP(J2,'Grades & Check Digits'!$A$2:$C$102,2,FALSE) J2 - We are building a VLOOKUP to find the Grade for Jill Shacklock. We need to check for Jill s Mark Lookup_value from the first table against the list of marks in the second table. Cell J2 contains Jill s mark in the first table. 'Grades & Check Digits'!$A$2:$C$102 Table_array The second table is cells A2 to C102 on the Grades & Check Digits worksheet 2 - Counting from the left on the second table, the Col_index_num Grade we are looking for is in column 2. Range_lookup FALSE - We only want to look for exact matches. MATCH function Match can be used as an alternative to VLOOKUP to check if the content of a cell exists in another table. If MATCH finds a match, it will return the position of the match in the list. If not match is found, #N/A will appear as the result of the formula. The format of the MATCH function is: =MATCH(lookup_value,lookup_array,match_type) The cell reference of the key field in the current row (this is usually on the same worksheet and in the same row as the cell where you are building your VLOOKUP Lookup_value function). i.e. the cell containing the text or value in this row that you want to check for in the other table The name or cell range of the single column in the table lookup_array you want to check against. Cell references should be made absolute using $ signs. Type 0 to look for exact matches only Match_type If no exact matches are found, Excel will display #N/A as the result of the VLOOKUP. 5

Pulling data from a Pivot Table The GETPIVOTDATA function can be used to make the content of a cell in a pivot table appear elsewhere. The function has the syntax: =GETPIVOTDATA("Data_field",Pivot_table,"Field1","Item1") Data field Pivot table Field 1 Item 1 Name of value field from Pivot Table (e.g. the field name that appears in the Values box on the Pivot Table) Cell reference (including worksheet name) of first cell at top left of the pivot table (i.e. the cell containing the text Row Labels) Name of the summary field for the value selected (e.g. the field name that appears in row or column labels box) Value of Field 1 for the desired pivot table sub-total. Example: Referring to the pivot table shown on the right, the following formula: =GETPIVOTDATA("Amount",Sheet1!$A$3,"Project","Sausages") Would pull: the Amount field from the Pivot Table that starts in cell A3 on Sheet1 of our workbook where the Project = Sausages i.e. in our example on the right, this would pull the value 760.85. To make the function more flexible, you can change the Item1 reference to be a cell reference rather than an absolute value. This will allow you to copy the formula down a column using autofill to pick up other Item1 value. E.g. =GETPIVOTDATA("Amount",Sheet1!$A$3,"Project",A2) 6

IFERROR to eliminate error values When using functions such as GETPIVOTDATA or VLOOKUP, the result of the function will be an error if Excel finds no match. This will show in the cell as #REF or #N/A. Such results may cause problems if the data is to be used in a calculation or in conditional formatting. For example, in the sheet below a GETPIVOTDATA function has been used to pull the data in column G from a pivot table on a different sheet. The format of IFERROR is as follows: =IFERROR(value,value_if_error) where: Value is the nested function (e.g. the GETPIVOTDATA function in the example above) Value_if_error is what you would like to appear in the cell instead of #REF! or #N/A if the result of the function is an error. So, in our example above, the GETPIVOTDATA function in cell G2 with the IFERROR wrapped around it would look like this: =IFERROR(GETPIVOTDATA("Amount",'Pivot table by project'!$a$3,"project",a2),0) Cell G2 contains the function (which has then been copied down column G): =GETPIVOTDATA("Amount",'Pivot table by project'!$a$3,"project",a2) The result of this function in cell G3 is #REF! as there is no data in the pivot table for that project. This causes a problem for the total in cell G8 as #REF! is not a number. The text in red above is the original GETPIVOTDATA function. All that has been added to that function is: IFERROR( between the = and GETPIVOTDATA,0) at the end of the GETPIVOTDATA function (after the closing bracket) When copied down the column, in the example above, G3 shows as a numeric value, which in turn resolves the problem with the total in G8, as shown below. To avoid this problem, the IFERROR function is used. IFERROR is added as a wrapper around another function. If the result of the nested function is FALSE, IFERROR replaces the resulting #REF! or #N/A with a value that can then be used in calculations or conditional formatting. 7