+ Reply to Thread
Results 1 to 5 of 5

Automatically select range with known first cell

  1. #1
    Registered User
    Join Date
    03-22-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    63

    Automatically select range with known first cell

    Hi,

    I'm looking for formula or a method how could calculate a product of range of cells when I have only the first cell, but I need to multiply 260 cells that are in front of it.

    I now find a cell using index with double match criteria and use "Cell(info_type, Ref)" to determine the cell where the first value is. I need to take that value and multiply it with with t+1, t+2, etc. to get the final number.

    Any ideas?

    Regards,
    drakaz

  2. #2
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: Automatically select range with known first cell

    Please attache Excel sheet with Proper solution.

    Regards,
    Suhas

  3. #3
    Registered User
    Join Date
    03-22-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Automatically select range with known first cell

    Quote Originally Posted by [email protected] View Post
    Please attache Excel sheet with Proper solution.

    Regards,
    Suhas
    Extracted few lines from document
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: Automatically select range with known first cell

    Hi Friend,
    Please find attached sheet as well as below formula for your solution.

    Cell AI2=
    ="[123example.xlsx]Sheet2!"&ADDRESS(MATCH(AF2,Sheet2!$A$1:$A$13,0),MATCH(A2,Sheet2!$A$1:$MEC$1,0))

    Regards,
    Suhas
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-22-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Automatically select range with known first cell

    Quote Originally Posted by [email protected] View Post
    Hi Friend,
    Please find attached sheet as well as below formula for your solution.

    Cell AI2=
    ="[123example.xlsx]Sheet2!"&ADDRESS(MATCH(AF2,Sheet2!$A$1:$A$13,0),MATCH(A2,Sheet2!$A$1:$MEC$1,0))

    Regards,
    Suhas
    Sorry but what is that?

    I do not want to create a similar name to the value in AH2 (Sheet1), but just to use it as a first value in a product.

    Example explaining what BHAR does here: It takes the value from Sheet one that is with the SEDOL code and date, than multiplies it with the value in period t+1 from that date, than with value from t+2, etc.

    For the AH2 I have found the first value that has to be taken, which is $3.300 (in Sheet2), then formula (which I am looking for) should multiply this value with t+1 (from Sheet2 again) which is $3.725 (Cell $GNE$2) then with $3.300 (Cell $GNF$2), ..., with last value of $1.95 (Cell $GXU$2), overall making multiplications of 260 cells:
    $3.3 * $3.275 * $3.3 * .... * $1.95 = x?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to automatically select a range
    By elgato74 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-16-2014, 06:55 AM
  2. Automatically select filled cells range in textbox
    By Cleopatran in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2014, 06:23 AM
  3. Dynamic chart automatically changing its range if we select wrong date
    By maniknandi in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-06-2013, 12:46 AM
  4. Replies: 4
    Last Post: 06-17-2013, 05:21 AM
  5. Automatically Select Range Before Saving
    By 2funny4words in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2010, 07:18 PM

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