Bonus Excel Tip Students may have more than one row in a SIS or EMIS report Add a new column next to SSID (Column D for this example) Enter this Formula. Fill down =COUNTIF(D:D,D2) Or….Use Conditional format / Highlight Duplicate Values This is a handy technique to use in the future.
Bonus Formulas! Change upper case to upper/lower case (VINCENT to Vincent) =PROPER(A2) UPPER CASE: =UPPER(A2) lower case: =LOWER(A2) Count number of alpha cells: =COUNTA(A4:A21) Count number of Numeric cells: =COUNT(C4:C21) Count number of cells with KG or PS in them =COUNTIF(A2:A5,”KG”)+COUNTIF(A2:A5,”PS”) Count number of blank cells =COUNTBLANK(A2:A5) Just for fun!
Bonus Formulas! Compare two cells: =IF(A2=A3,"match") Compare enroll and W/d dates =IF(A2>=B2,”active”,”wd") Compare 3 cells (like 3 IRNs) TRUE if all match: =AND(A2=B2,B2=C2) Just for fun!
To avoid the #N/A when a match is not found In front of the VLOOKUP formula, right after the equals sign, type IFERROR( After the formula type ,””) =IFERROR(VLOOKUP(C2,'[VLOOKUP.xls]DASL_DATA(2)!$C$2:$E$4343, 3,FALSE),””) That will give us a blank instead of #N/A. We could type any text between the quotations ““ and get that instead, e.g., type ,“no match”) instead of ,“”) This doesn’t work well when the column is formatted as date
.csv and .txt files Overview + Outline Open a .csv file in Excel without losing formats This is what this section covers Download a WKC report and save csv Extract data from SIS Check email for template if desired.
WKC in CSV FORMAT CSV Files from ODE, and sometimes from the SIS, contain quotes “ and equals = signs and dates followed by 00:00:00.0 Right click on the file and open with “Notepad” Under Edit, click Replace All Find What: “ Replace with: leave blank Repeat for = Repeat for 00:00:00.0 Save again as txt If file contains “ and = and time stamps, open in Notepad and replace these first. It will make the data more useable and friendly when it is imported into Excel.
Importing CSV (Comma Separated Values) in Excel Setting this up correctly will save time, preserve leading zeros and date formats Open a blank Excel document From Data tab, Get External Data group, from Text Map to the csv or txt file, Import Use the Text Import Wizard This is the best way to open a csv file to preserve leading zeros and date formats. Follow the Text Import Wizard directions carefully. This will become second nature after a few times.
Import as delimited Toggle on Comma as the delimiter NEXT Format most columns as Text to preserve leading zeros Shift + click Date columns should be formatted as Date (YMD) Finish & Save as .XLS Setting this up correctly will save time later. -The comma is the one thing that separates each column and so is the “delimiter” -Hint: Select the first column and hold the shift key, then select the last column to be formatted as text. It will select (paint black) all the columns between. -Watch the date columns. If the date looks like 20160801 use YMD (2016 is Y, 08 is M and 01 is D) Excel will pull them in as MM/DD/YYYY (08/01/2016)