Get startedGet started for free

Adding the calculation

Your next task is to select the dates you want and then add in a VLOOKUP calculation to look at the date selected and find an exact match for the Open, High, Low, and Close Data from your dataset.

Remember that VLOOKUP() will take four arguments.

  1. The search key (in this case, the date in Column A).
  2. The range of data to search (in this case, the data in the sheet ASX Data).
  3. The column index to retrieve where 1 is the column of your search key, and subsequent columns are those that you are trying to access (i.e. 2, 3, 4, and 5).
  4. Whether you want an exact match, which can be specified by providing FALSE.

This exercise is part of the course

Data Visualization in Google Sheets

View Course

Exercise instructions

  • Fill in the empty dates in cells A25 and A26 with 10-09-17 and 10-10-17 (respectively), using the list provided through the data validation.
  • In cell B17 use VLOOKUP() to look for the date in your dataset and show the corresponding Open data. Then, copy the formula down through the rest of the column. Don't forget to use partial absolution to make it easy to copy your formula to other cells!
  • Repeat the process in cells C17, D17, and E17 to look for the figures in the dataset that correspond to the column headings (again, copying the formulas down through the respective columns).

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise