180 likes | 295 Vues
Learn how to use the VLOOKUP function in Excel effectively to calculate "Days Enrolled." This step-by-step guide shows you how to open your downloaded and newly created files, find the appropriate cells, and set up the VLOOKUP function to retrieve data from the Days Enrolled file. By following these instructions, you will seamlessly drag the formula down, apply it to all necessary cells, and then preserve the results by using the Paste Special feature. Perfect for educators and data analysts!
E N D
Using “vlookup” function in Excel to complete “Days Enrolled” Howard De Leeuw, OSPI howard.deleeuw@k12.wa.us 360-725-6147
Open both your downloaded file and your newly-created “Days Enrolled” file in Excel
In your downloaded file, click in the first cell under the “DAYS_ENR” column
Go to “Insert Function” search for “vlookup”, highlight it and click “OK”
A “function arguments” window will open – click on the icon next to the “Lookup_value” field
Select the entire “EDATE” column, then click on the icon at the far right of the “Function Arguments” window
Now back at the main window, click on the icon at the end of the “Table_array” field.
Now go to your “Days Enrolled” file that you created and select both the “Date” and “Day” columns, then click the icon on the far right.
You are now back to your main file and main “Function Arguments” window. Enter “2” in the Col_index_num” field
In the “Range_lookup” field enter “false” and then click “OK” at the bottom of the window.
If everything went as planned, you should see a number of days in the cell.
Now you need to drag the formula from the first cell to the bottom of your spreadsheet – this will then apply the calculation to every cell.
When the “Paste Special” window opens, select “Values” and click OK – this will preserve your data and remove the formula.