Request for Question Clarification by
aht-ga
on
04 Jul 2004 09:47 PDT
Unfortunately, a 'simple formula' does not exist in Excel for this.
For the situation you describe, where you have a long list of symbols
that you need to look up stock information for, you very much need to
use a VBA program linked to a simple button on your Excel sheet, and
have that VBA program retrieve the desired information from Yahoo!
Finance (the easiest stock info website to work with for this type of
thing) in the form of a CSV file, then import that data back in the
spreadsheet. From the user perspective, it may seem simple, but the
actual manipulation and retrieval of data is complex.
As for controlling the information that Yahoo! Finance provides, part
of the reason why I say they are the easiest website to work with for
this type of thing is because you can easily manipulate the data that
is presented. For the example of:
http://finance.yahoo.com/q/cq?s=GTW%2c+DELL%2c+MSFT
If you instead used:
http://finance.yahoo.com/d/d?s=GTW,DELL,MSFT&f=sl1
you should see rather different results.
The challenge here is not manipulating Yahoo! Finance to give you the
data you want, the challenge is getting that data into Excel for a
large number of symbols. Using a VBA program, you can:
a) maintain a dynamic list of symbols in an Excel spreadsheet;
b) upon triggering the VBA program (using a button or key
combination), retrieve the desired information for those symbols from
Y! Finance, with the information being as current as is available from
Y! Finance at the time of retrieval (ie. if done during the trading
day, the exchange-mandated quote delay will be in effect; refer to my
other answer at http://answers.google.com/answers/threadview?id=301267
for more info)
However, the effort required to create this customized program exceeds
the $7.50 that a Researcher would effectively earn from providing it
as an Answer. So, I suggest that you think about whether this
customized program is of value to you first, before proceeding. If it
is, then please consider increasing your list price. Then you can let
me know whether or not you would like to have me produce this
customized program for you.
Best regards,
aht-ga
Google Answers Researcher