+ Reply to Thread
Results 1 to 2 of 2

Dynamic array in Index

  1. #1
    Registered User
    Join Date
    05-15-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    1

    Dynamic array in Index

    Hello,

    Here is my formula

    "=INDEX(Report!R3C4:Report!R933C4,MATCH(Compare!RC[-1],Report!R3C2:R933C2,0))"

    This works fine. However i want to make it dynamic. Number of rows in the sheet report will vary. So i want to make it dynamic array. I can use the following method to find the number of rows

    Lastrow = Cells.Find("*", [A1], , , xlByRows, xlPrevious).Row

    How Can i make the index formula dynamic with this variable?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Dynamic array in Index

    Hi nagaguru and welcome to the forum,

    Do you know about Dynamic Named Ranges? Will this solve your problem?
    See:
    http://www.ozgrid.com/Excel/DynamicRanges.htm
    or
    http://www.bettersolutions.com/excel...G820716330.htm
    or
    http://www.decisionmodels.com/optspeedf.htm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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