MoneyPlanters
New Member
- Joined
- Apr 9, 2011
- Messages
- 41
Please have a look at the image.
Col A contains names of stock exchanges.
Col B contains dates.
Col C, D, E and F contain data that we shall be using. Col G and H are not required.
Every day one such file shall be imported from the internet and the newer file will always keep adding (appending) data to the existing one. For example if the screenshot is considered to be taken from a file that was downloaded today, a file downloaded 7 days later will contain more data than this one plus whatever this one has.
Now we need to achieve the following :
If col A is 'CAC40' then pick the OHLC (stands for Open, High, Low, Close; present in Col C through F) values that correspond to the latest date available and paste them in L824, M824, N824, O824.
Similarly, If col A is 'COMP' then pick the OHLC (stands for Open, High, Low, Close; present in Col C through F) values that correspond to the latest date available and paste them in L825, M825, N825, O825.
And so on.. till all the markets are covered. There are 15 of them.
How can we achieve this ? Kindly help.
Thank you.
Col A contains names of stock exchanges.
Col B contains dates.
Col C, D, E and F contain data that we shall be using. Col G and H are not required.
Every day one such file shall be imported from the internet and the newer file will always keep adding (appending) data to the existing one. For example if the screenshot is considered to be taken from a file that was downloaded today, a file downloaded 7 days later will contain more data than this one plus whatever this one has.
Now we need to achieve the following :
If col A is 'CAC40' then pick the OHLC (stands for Open, High, Low, Close; present in Col C through F) values that correspond to the latest date available and paste them in L824, M824, N824, O824.
Similarly, If col A is 'COMP' then pick the OHLC (stands for Open, High, Low, Close; present in Col C through F) values that correspond to the latest date available and paste them in L825, M825, N825, O825.
And so on.. till all the markets are covered. There are 15 of them.
How can we achieve this ? Kindly help.
Thank you.