Results 1 to 8 of 8

Define Name with match and indirect

Threaded View

  1. #1
    Registered User
    Join Date
    02-24-2011
    Location
    Ontario
    MS-Off Ver
    Excel 2010
    Posts
    47

    Define Name with match and indirect

    What I'm trying to do is to create a formula that searches for a match in an array and if it finds it, returns the row number but adds an offset of 35 and then use that data as part of a cell reference in a formula.

    So if the match = 5, it'll add 35 to it to make it 40 and then in a formula would reference cell J40.


    Indefining the name JUMP1, I've entered this

    MATCH(INDIRECT(ADDRESS(ROW(),COLUMN()-3)),G113:G130),0)+35

    This works as a stand alone formula, but doesn't seem to work when I use it to define a name. When I try, it adds the sheet name and changes it to this.

    MATCH(INDIRECT(ADDRESS(ROW(),COLUMN()-3)),May!G113:G130),0)+35

    Which I don't think should be a problem. But then when I try to use the name in my formula...

    IF(AND((EDATE(INDIRECT("J"&JUMP1),1)>=(C45)),(EDATE(INDIRECT("J"&JUMP1),1)<=(C45)+6)),DATE(YEAR(C45),MONTH(C45),DAY(EOMONTH(C45,0))),INDIRECT("J"&JUMP1)),IF(AND((EDATE(INDIRECT("J"&JUMP1),1)>=(C45)),(EDATE(INDIRECT("J"&JUMP1),1)<=(C45)+6)),EDATE(INDIRECT("j"&JUMP1),1),INDIRECT("j"&JUMP1)))

    ... it doesn't work and even just testing the name with =Jump1 doesn't seem to work.

    I realize this may be complicated AF, I barely understand it myself lol. But does anyone have any thoughts on how to solve this?


    Thanks in advanced.
    Last edited by Immortalis15; 05-20-2020 at 11:59 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 07-06-2018, 10:07 PM
  2. Vlookup with indirect to define the array
    By Rohirrim85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-10-2016, 03:06 PM
  3. [SOLVED] Data Validation & Define Name & Indirect function
    By MrAlex in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-02-2015, 03:24 PM
  4. [SOLVED] Nest mutiple indirect functions to define a range.
    By BAVE in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-27-2012, 10:05 AM
  5. [SOLVED] how do I define a chart series with an indirect reference
    By tvanellen in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-31-2006, 05:55 AM
  6. Define chart range using indirect reference
    By Thomas in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-10-2006, 04:50 PM
  7. Define Name problem using INDIRECT with ROW()
    By pbassett in forum Excel General
    Replies: 0
    Last Post: 03-10-2005, 02:45 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