Closed Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    12-13-2009
    Location
    new york, usa
    MS-Off Ver
    Excel 2003
    Posts
    17

    Array Formula functionality

    I am trying to do the following procedures:

    Array Formula setting.... for historical stock data download from a database.
    The formula syntax is, (as per the database provider)

    =sddeLink|Bars!'SYMBOL,PERIOD,#BARS,[DTOHLCV],{HEADERS},{HH:MM-HH:MM},{FILL}'

    Example: =sddeLink|Bars!'IBM,15,1000,DTOHLCV,HEADERS,09:30-16:00'

    SYMBOL – Represents the name of the symbol you wish to see.
    PERIOD – Use Q for Quarterly, M for Monthly, W for Weekly, D for Daily or for an
    intraday period just specify the number of minutes.
    #BARS – Represents the number of bars to display.
    DTOHLCV – Defines which data fields to display and in which order. See below for
    a list.
    D = Date T = Time O = Open H = High L = Low C = Close V = Volume
    HEADERS – Use this option to display the names of the fields in columns above
    the data.
    HH:MM-HH:MM – Use this option to return only the bars within the specified time
    range. Applies to intraday intervals only.
    FILL – Use this option to fill blank bars with the last known Close value
    sddelink - I think, is the dde link/application
    BARS - I think, would be the database filename

    I have copied the formula (after selecting the array cell area) into multiple sheets by grouping the sheets (a separate sheet for each stock/symbol).

    The SYMBOL field, of the formula, is the only field that changes on each sheet.

    Instead of me typing in the different/new symbol manually (into the array
    syntax) on each sheet, is it possible to reference 'SYMBOL' to a cell value (eg. $A$1). I tried using the $A$1 format but it does not work ... I guess something to do with the apostrophe before the symbol text.

    I would then like to group the sheets, and hit C+S+Enter once (versus a couple of 100 times), to download the data for the respective stock to it's resprective sheet.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Array Formula functionality

    davey11372,

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.

    http://www.excelforum.com/excel-gene...reference.html

    If you need to revise your initial thread post a reply accordingly.


    Further - your orginal thread was seemingly a cross post and as I see it you've not as yet added the link(s) to either this thread or that.


    Please ensure you take the time to read the forum rules prior to posting further on this particular board.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0