Hi
I have this spreadsheet that downloads stockprices from Google. ( http://investexcel.net/free-intraday-stock-data-excel/ ) The name of the stock (ticker) get inserted into parameters, and the prices and timestamps get automatically inserted into the sheet called Data
I have made a new sheet 15 good day where I want to process this data.
Normaly the stock price is recorded for every minute, but that is not the case with all the stocks (meaning it jumps over some minutes). This means the cells of the prices and timestamps changes row position for every stock) (try typing in IBM and press "get data from google" in the parameter sheet, then try ASTC as ticker, and you will see in the Data sheet what I mean)
The only thing I'm certain that is present every time a new stock is inserted, is the letter a in front of the unix code for the day, and since I will only import data for 3 days each time, I can find the first, second and third a in column A on the Data sheet, and then work my way from there to get the data which I want, since the formulas are not now depended on the data to be on the same row for every time the stock change.
What I'm trying to do, is to combine a Look up a value and return cell =INDEX(Data!B8:Data!B25;MATCH("a";Data!A8:Data!A25;0)+0;1)
https://www.extendoffice.com/documen...-or-above.html
and then replace the a in the formula, with a Vlookup Find The First, 2nd Or Nth Match Value In Excel
=INDEX($A$8:$A$1000;SMALL(IF("a"=$A$8:$A$1000;ROW($A$8:$A$1000)-ROW($A$8)+1);1))
https://www.extendoffice.com/documen...2nd-match.html
To get a formula that finds the first a in coloum A in Data sheet (from row 8 and down),the formula then gives me the value to the right cell.
I then want to be able to make changes to this new formula to find:
-The second and third a in coloumn A, to get data for day 2 and 3.
-The lowest/highest value within the first and last hour,
-The same data only with the volume
In the picture below, a lot of rows are hidden to show where the a's are in front of the unix codes.
data.jpg
IF there is a better formula to solve this, then I'm all up for it, I'm not that good with formulas in excel, so it's a lot of cut and paste from different site that pops up from google
Thanks a lot for a great forum btw
Bookmarks