INLS161-001 Fall 2024

Tools for Information Literacy

Use functions and formulas with data pulled from a second worksheet to create new data

Facility with formulas

Why we do this What we are to do
to demonstrate facility with formulas,
by pulling vectored data from two different worksheets into a new formula
Copy cells A5 through A56 from the 16-CHART 02 worksheet.
Paste these cells into cells B10 through B61 on the 05-Summary worksheet.
Then, in cell E10, insert a formula that will draw values from two other worksheets.
The formula should divide Alabama's "Y1991" values from the 17-MEDICAID EXPENDITURES worksheet (cell G2) by Alabama's "Y1991" from the 18-MEDICAID AGGREGATE worksheet (cell G10). [MSExcel 2007+ sources for formula dialog box]
to demonstrate cell formatting skills based on the type of data the cells contain Once you have created the formula, format the cell to display percentages to two decimal places. [MSExcel 2007+ cell formatting dialog box]
to demonstrate understanding of how and why to drag formatting information from one cell to another Once you have formatted the data in the cell, use the fill handle to drag the cell down the column, to apply the same relative formula and formatting for all states and Puerto Rico

Facility with functions and formatting of the resultant data

Why we do this What we are to do
to demonstrate facility with functions and formatting of the resultant data On the 05-Summary worksheet,
in cell B4 enter the words "Earliest Foundation Date."
In cell K4 insert a function that will return the earliest foundation date from the data in the FC = Foundation century column (that would be column G) on the 02-CONDITIONAL FORMATTING worksheet.
Remember, these numbers represent years and so should not be displayed with any decimal places. [MSExcel 2007+ functions dialog box]
to demonstrate facility with functions and formatting of the resultant data On the 05-Summary worksheet,
in cell B6 enter the words "Total number of counties in the US."
In cell K6 insert a function that will return total number of cells that are not blank in the State column 08-SINGLE LEVEL SORT worksheet.
to demonstrate facility with functions On the 05-Summary worksheet,
in cell B8 enter the words "Number of Navy programs in North Carolina".
In cell K8, display the number of programs for which the Navy is the Organization (column F) and North Carolina is the State Country Title (column H). Find the data on the 13-PIVOT TABLE DATA worksheet.
Use your help tool to find the right function [MSExcel 2007+ functions dialog box]
VLOOKUP is an Excel function to lookup and retrieve data from a specific column in table.
It is an Excel way to do what SQL can do with a relational database.

What is VLOOKUP?

It's an Excel function that one may use when one needs to find things in a table or a range by row. For example, look up a price of an automotive part by the part number, or find an employee name based on their employee ID.

In its simplest form, the VLOOKUP function says:

=VLOOKUP(What you want to look up, where you want to look for it, the column number in the range containing the value to return, return an Approximate or Exact match – indicated as 1/TRUE, or 0/FALSE).

This video does a good job of explaining VLookup

Still using your downloaded workbook ...

Use the VLOOKUP function to demonstrate how to look up values in a separate worksheet and use them on a different worksheet.

In this exercise, we want to use a lookup table on the 06-Calendars worksheet to populate data in column D on 07-Fall 2020 Class Schedule worksheet

  1. select cell D2 on the 07-Fall 2020 Class Schedule
  2. in the formula bar, insert this formula
    (use your CNTL+C or CMD+C to copy it from this web page, and your CNTL+V or CMD+V to paste it in the cell)
=VLOOKUP(E2,'06-Calendars'!$F$4:$G$11,2,FALSE)
Without color coding, the function reads
=VLOOKUP(E2,'06-Calendars'!$F$4:$G$11,2,FALSE)

This means

Once you have the value in cell D2, you can use the fill handle and drag down the function from D2 to D84. The function will continue to match the value in the relative column E cell to the absolute values in cells F4 through F11 on the 06-Calendars worksheet and return the related value from cells G4 through G11 and place them in cells D2 through as far as you drag down the function.

Note, when using the fill handle, you drag down all the cell, to include the color formatting of the cell as well as the function within the cell.

Copyright © R.E. Bergquist 2014- | Last Updated on | Powered by w3.css