+ Reply to Thread
Results 1 to 2 of 2

Address function to create range

Hybrid View

  1. #1
    Registered User
    Join Date
    06-07-2009
    Location
    london, england
    MS-Off Ver
    excel 2010
    Posts
    36

    Address function to create range

    Hi

    I am trying to match a value within a dynamic range i.e.

    match(a1, ADDRESS(MATCH(C127,dates,0)+2,5):ADDRESS(MATCH(C127,dates,0)+54,5),0)

    to see whether a value exists. The range will change depending on the value returned in cell C127. I am effectively trying to find out whether a date appears is contained within that year.

    Could you please help!
    Thanks
    James

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Address function to create range

    Hello
    The ADDRESS function only returns a text value and needs to be enclosed with INDIRECT to convert it to a range that Excel can recognize. You also need to concatenate the two ADDRESS functions with (&":"&), as in below:
    Formula: copy to clipboard

    =MATCH(A1, INDIRECT(ADDRESS(MATCH(C127,Dates,0)+2,5)&":"&ADDRESS(MATCH(C127,Dates,0)+54,5)),0)


    DBY

+ 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. use address function to indicate range in calculation
    By Mayo in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-13-2024, 08:32 AM
  2. [SOLVED] Using Address Function to create an address referencing the entire column
    By OliverS in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-28-2015, 01:06 AM
  3. Using address function to define a range
    By mc36155 in forum Excel General
    Replies: 9
    Last Post: 11-09-2010, 04:38 PM
  4. Replies: 3
    Last Post: 09-06-2007, 12:40 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