+ Reply to 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 + Indirect Reference

    I am trying to do the following two procedures:

    Procedure 1.

    Array Formula setting.... for stock analysis.
    The formula syntax is,

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

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

    I have copied the formula into multiple 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 on each sheet, is possible to reference the 'symbol' to a cell value (eg. $a$1 or if it is easier, to reference it to the sheet/tab name). I tried using the $A$1 format but it does not work ... i guess something to do with the apostrophe before the symbol text.
    Another option, if it may be easier, can I group the sheets, select the cell that contains the array formula - and somehow 'find and replace' the 'symbol' text with a cell value (in this case the stock symbol in A1)
    ...............................

    Procedure 2.

    I have data for multiple stocks in multiple files/workbooks (because of size constraints of Excel).

    I have another workbook that has an analysis template/sheet.
    There are 2 data columns in the sheet - one each for a pair of symbols.
    There are two empty cells in the template - one for each of the 2 stock/symbols.
    When I type a symbol into one of the empty cell - I would like the template to fetch the data for that symbol, from the data workbooks, and paste/download it into the respective column for the stock.

    My challenge here is: I think I can try the INDIRECT reference method.
    What I do not know is, how to create the formula, such that, the template would search all the workbooks, and find the sheet for the particular symbol. By myself, I can manage creating a formula if there was only one workbook/file to create an INDIRECT reference.

    Of course, I could manually type in the respective workbook/file each time, but obviously I am trying to bypass doing so.
    .............................................

    Thanks much for any feedback.

  2. #2
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: Array formula + Indirect Reference

    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

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