Advanced Excel Helen Mills OME-RESA OUTLINE Introduction
Removing Formulas Adding Formulas Text to columns Conditional Formatting VLOOKUP Introduction
Excel Skills In the last session we learned many skills that will help us dive deep into our data. Some essential skills we will be building on are: -Filtering & sorting -Conditional formatting -Writing formulas
Additionally, we will learn in todays session how to: -Combine data contained on different workbooks -Effectively compare data -Write formulas comfortably and easily -Format formulas and data so it works for you -Slice and Dice your data how you need to see it through text to columns
Removing Formulas Removing Formulas Removing formulas is an essential part to the initial format of your workbook. Lets start with the FS record extracted from the Data Collector. We can determine there are formulas by looking for cells that contain =data
In order to clear the formulas, select the entire worksheet by clicking the triangle between column A and row 1. Right click to paste, and select Paste Values Removing Formulas Continued The formula is gone when only the numbers or text remain in the cell
Your data will now be easier to sum, sort, etc. Adding Formulas Adding Formulas Adding formulas to workbooks can be both necessary and helpful. Lets use the FS
record from the data collector as our example. This file contains School Year Attendance Hours, School Year Excused Absence Hours, and School Year Unexcused Absence Hours. We would really like to see a total of possible attendance hours, to easily filter on. First step is to add a new column, by right clicking and selecting Insert. A new column will appear where you chose to insert it.
Adding Formulas Continued Lets name our new column Total Possible Attendance. We would like to SUM the three columns that contain attendance values. To do this, well write a SUM formula. Now, we would like to see this formula for every student, without typing it over and over again.
To fill down, select the cell containing the formula and double click on the bottom right corner. Formulas You can use the fill down feature with any formula to save time. You may now easily sort for those with 0 attendance hours possible. There are many formulas you can use in excel. Some of the most common are:
SUM- calculates the sum of specified cells. =SUM(number1,number2) adds listed cells together OR =SUM(number1:number5) adds a range of cells using the comma will add all cells listed together, using a colon will add all cells between the two you have listed. Subtraction =A1-B1
Multiplication =A1*B1 Division =A1/B1 Exponents =A1^5 Combining two cells: =A1&what you want to show between them&B1 If you wanted to combine First Name and Last Name fields, this would be helpful. Text to Columns
Text to Columns Text to columns is a feature within excel that can split a column the way you would like to see it. For this example we will use the FTE Detail Report form the Data Collector. In column W, we see the title is CALENDAR. However, this column contains much more information than just the calendar. It has Calendar District IRN, Building IRN, and Attendance Pattern.
Text to Columns To view all of the fields in their own column, we must first insert the amount of columns we will need. We are adding 3 fields to what is already there, so we must add 3 columns. When inserting multiple columns, you do not have to right click-insert 3 separate times. Just highlight 3 columns, right click and hit insert to get 3 new columns.
Text to Columns Now that we have our empty columns ready, we are able to split the column. Highlight column W. Navigate to the Data ribbon, and select the Text to Columns option. Text to Columns Once we click Text to Columns a wizard window comes up with many options. First, the wizard wants to know HOW we
are splitting the data. Delimited means we will split at a certain character. Fixed width means we are splitting at the same spot no matter what lies in that position. For this example, we will use delimited and use the - as the delimiter, since it is separating the fields we want.
Text to Columns Next, the wizard wants to know what the delimiter we are using it. The default value is Tab, we must change this to other. Then, enter - in the box. We then see a preview of our column split. The last prompt is about formatting the data. Click Finish.
Text to Columns We just took 1 column and turned it into 4!!! The last step is to change your headers so they make sense. Conditional Formatting Conditional Formatting
We learned a little bit about conditional formatting in the last session. In this session, we will build on this knowledge. Conditional formatting can cut down the time you spend manually comparing records. Lets compare data from two worksheets. For example, lets make sure all kids not on track have RIMP codes. First, we will take a list of only student IDs who are not on track and place
them into a new workbook. Then, we will take the student IDs on reading improvement program codes, and paste them into the same workbook, noting they have RIMPS. Now, we must find the outliers. We could sort, and check one by one that theres two records for each student, but that can be tedius.
Conditional Formatting Conditional Formatting is a great way to point out duplicates. Lets highlight the duplicates on our sheet. First, select the column of student IDs. Then, on the Home ribbon, select conditional formatting- highlight cell rules- duplicate values. Conditional Formatting A dialogue box will appear. You can choose to highlight either duplicate or unique
values. We are actually looking for the unique values, since those are the ones missing data elements. Conditional Formatting Now that our list is formatted, lets provide ourselves with a list containing only the students who are missing records or data elements. Lets filter for the red cells.
We now know that these students have one record, but are missing the other. Conditional Formatting You can use conditional formatting in the way we just practiced to compare any two lists you have, so long as there is a relationship between them and a unique identifier on each sheet.
For the next example, lets go back to the FTE Detail report. Lets say we would like to highlight the students who have adjustments. Conditional Formatting First, select the columns we are formatting. In this example it is N and O. Then, select conditional formatting, and new rule. We will be using a formula to format these cells.
Conditional Formatting We want to type a formula that tells Excel to highlight cells if N does not equal O. This is the formula: =$N1<>$O1 We must also set the format for the cells.
Conditional Formatting To apply the format, click OK. You can now see that the cells with differences are highlighted. You can sort or filter based on cell color to make the data easier to manage. V LOOKUP
What is VLOOKUP? VLOOKUP is one of Excels most useful functions, and its also one of the least understood. In its most common usage, VLOOKUP is a database function, meaning that it works with database tables- or more simply, its a list of things in an Excel worksheet. The list can be of anything. In the example below, I have an FS record from the data collector that we will be working with. For this example, our list is of students.
VLOOKUP Usually, the lists we work with contain a unique identifier for each unique item on the list. In this case, the unique identifier is the State Student ID. For the VLOOKUP function to work, the list must have a column containing the unique identifier, and that column must be the first column in the table or range. The hardest part of using VLOOKUP is understanding exactly what its for. VLOOKUP
retrieves information from a database/list based on a supplied instance of the unique identifier. For our example, we are going to add the disability condition from the FD record to the FS record for each student. HOW TO: VLOOKUP The first step in VLOOKUP is to add a column where you would like your new data to
appear. Keep in mind, the unique identifier (SSID) should be the first column in the range of cells. I always add my empty column next to the SSID, even if I end up moving it. HOW TO: VLOOKUP Next, we need to sort both of the worksheets we are working with by the unique identifier, SSID.
Once both of your sheets are formatted, its time to start thinking about writing the function. The most simple way to write a vlookup function is to click on the first cell in the column where you would like the new data to appear, and click on the function button. HOW TO: VLOOKUP Select the function you want to use, VLOOKUP and click ok. You will then see the
function arguments dialogue box. This is where we enter how we want the function to work. Lookup Value: the unique identifier, SSID. Select the column where the SSIDs lie. Table Array: The table in which the data you want is located. (FD record). Col_index_num: In the table array, the position of
the data you want in the range. Range lookup: always FALSE HOW TO: VLOOKUP In the Lookup_value box, we are going to select the column with SSIDs in the sheet where we want the new data to appear, in this example this is the FS. Simply clicking on the column will populate your values.
HOW TO: VLOOKUP Table_array is the range where the new data lies, starting with the unique identifier (SSID). Once again, simply clicking on the workbook to select the values will populate them in the function arguments dialogue. HOW TO: VLOOKUP
Col_Index_num is basically, what position does the data you want lie, in relation to the unique identifier. So, we always start with the unique identifier as 1 (SSID). Unlike the other values in the function writer, this does not auto populate. Enter 7 for this example in the col_index_num. HOW TO: VLOOKUP We always enter FALSE in the range_lookup spot, when we want only exact
matches. Now that we have our function completed, click ok. HOW TO: VLOOKUP Ta-da! We have the disability code next to the appropriate SSID. Lets fill down the row so we can see them for all students on our list. Double Click the small green box in the bottom right hand corner of the cell. This will fill the formula down
Water Balance Components DBHydro State Plane Coordinates High Accuracy Reference Network (HARN) Refinement of NAD83 DBHydro Rainfall Stations Approximately 600 stations Spatial Distribution of Average Rainfall Voronoi/Thiessen Polygons Evaporation Pan Pan Evaporation Pan Coefficients: 0.58 - 0.78 (get hotter than...
History of Public Access and Open Science in U.S. Government. 2009 NIH Public Access (FY2009 Omnibus Appropriations Act); PubMed Central. 2013 OSTP Memo to Federal Agencies; implement Public Access Plan to increase access to scholarly publications and digital data
Creative Writing Descriptive Paragraph ... The bright glaze on the peaches catches my eye, and I can already taste the whipped cream and chocolate mixing with an Oreo cookie crust. The banana crème begs for my attention, and I am...
A balanced position All things in moderation Adult supervision needed as with any other instructional tool Technology for Communication Communication boards Specialized keyboards Boardmaker overlays Technology for Literacy Literacy and communication are keys to ECSE Use technology tools that interest...
CSE 321 Review Session Dave Bacon CSE 321 Review Session Dave Bacon Final 1 hour, 50 minutes. Closed book. (You can bring a calculator.) 11 Problems. ~3 problems from before midterm material. Rest from after midterm.
Pathogenic Viruses Name of virus what family it belongs to what disease it causes, organ system affected DNA or RNA? Route of transmission; reservoirs, vectors Viral virulence factors (selected viruses) Immunizations Herpes virus family Herpes family of DNA viruses As...
Navigating Epic. Actions occur within Epic based on buttons. You tell Epic what you want it to do by clicking buttons. Note: In most cases, you can use a keystroke command instead of your mouse to activate a button.
Ready to download the document? Go ahead and hit continue!