I can currently get the 52-week low of a stock by using this call in Google Sheets.
=GOOGLEFINANCE("NYSE:UBER","low52")
How do I get the 3-year and 5-year low of a stock?
For a 3-year low I tried something like this:
=GOOGLEFINANCE("NYSE:UBER","price",TODAY(),=EDATE(TODAY(),-12*3))
However this returns a list of the past 20 prices, not a single value representing the lowest value over the past X-years.
Get daily price data for your date range and find the mininum value
For 3-year low:
and for 5-year low:
Dynamically, add your number of years to a cell (for example
A1) and use:Note for this pair the 3-year and 5-year lows are the same
Formulae Used: