Forum Discussion
fidtal
Jun 09, 2021Copper Contributor
vlookup in stockhistory table
hi all, i want to create a sheet that follows some stocks and tells me every stock when it was at the highes price since it was added to the sheet. for that i'm using vlookup that works on a table f...
- Jun 09, 2021
SergeiBaklan
Jun 09, 2021Diamond Contributor
- fidtalJun 09, 2021Copper Contributorit returns the last row again...
- SergeiBaklanJun 09, 2021Diamond Contributor
Could you please share the file with the sample?
- fidtalJun 09, 2021Copper Contributor
the solution of index and xmatch works. didnt understand exactly how... andi dont know why vlookup didnt work
- fidtalJun 09, 2021Copper Contributorwill it work without physically showing the table?
- SergeiBaklanJun 09, 2021Diamond Contributor
Yes
=LET(stock,STOCKHISTORY("msft",TODAY()-90,TODAY(),0,2,0,3),INDEX(stock,XMATCH(10000000000,INDEX(stock,,2),-1),{1,2}))