Find dates with minimum and maximum prices
Now that you are more familiar with VLOOKUP()
, your next goal is to use this function to find at which dates historical minimum and maximum prices occurred.
However, there is a problem! Remember that for VLOOKUP()
to work correctly the lookup value should always be in the first column. The first column of your dataset is represented by the dates, and in this exercise, you want that column to be the target of your search instead of the lookup value.
What do you do then? Just move (or duplicate) the dates column and append it at the right-hand side of the dividend column.
Este ejercicio forma parte del curso
Financial Analytics in Google Sheets
Instrucciones del ejercicio
Select the column
A
by clicking onto the column name.Copy the column
A
(CTRL + C) and paste it (CTRL + V) in columnD
.Now that your table has been reshaped, in
F4
, use the functionVLOOKUP()
to find the date corresponding to the minimum price.In
F6
, use the functionVLOOKUP()
to find the date corresponding to the maximum price.
Ejercicio interactivo práctico
Pon en práctica la teoría con uno de nuestros ejercicios interactivos
