+ Reply to Thread
Results 1 to 3 of 3

Developing a dynamic formula

  1. #1
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Red face Developing a dynamic formula

    The following formula requires that I substitute "10_29_2010" with another date,
    e.g., "10_30_2010" that can be found in cell $A$1 formatted as a string.


    Please Login or Register  to view this content.
    What is the best way to include the contents of cell $A$1 into the formula so that the
    100's of formulas in the worksheet are now pointing to a new data source?
    Last edited by SDruley; 11-04-2010 at 11:21 PM.
    Turn Data into Information
    Turn Information into Knowledge
    Turn Knowledge into Direction
    Turn Direction into Leadership
    Turn Leadership into Results
    Stephen Druley

    It's not how quickly you think
    But how deeply you think
    The quality of thinking is measured
    by remoteness to conformance
    Stephen Druley

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Developing a dynamic formula

    Hi,

    you can use Indirect, but it only works with open workbooks. For closed workbooks, you would need Indirect.ext -- this can be found in the morefunc.xll downloadable here: http://download.cnet.com/Morefunc/30...-10423159.html


    =indirect("'[Canvas_array.xlsx]"&A1&"'!$F$2")

    Note the single and double quotes. They're easy to miss.

  3. #3
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Re: Developing a dynamic formula

    WOW, this works so well

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.6.0 RC 1