+ Reply to Thread
Results 1 to 3 of 3

Dynamic Range with 2 columns

  1. #1
    Forum Contributor
    Join Date
    05-13-2009
    Location
    London, England
    MS-Off Ver
    Excel XP
    Posts
    174

    Dynamic Range with 2 columns

    I'm trying to name a dynamic range for A2:B10000.... I know how to use the OFFSET function but was wondering if someone can help me do it using the INDEX function

    Both column will always have the same number of used rows.


    Another question:

    If I have dates in Column A, and values in Column B....what formula do I need to get me the last value (last row,most recent Date)


    Thanks
    Last edited by Pasha81; 11-11-2009 at 08:00 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Dynamic Range with 2 columns

    You only really need to use INDEX if the range contains interspersed blanks

    =$A$2:INDEX($B:$B,MATCH(9.99999999999999E+307,$A:$A))

  3. #3
    Forum Contributor
    Join Date
    05-13-2009
    Location
    London, England
    MS-Off Ver
    Excel XP
    Posts
    174

    Re: Dynamic Range with 2 columns

    Excellent Don! works great
    and thanks for explaining the significance of the INDEX function I'll remember that

+ 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