+ Reply to Thread
Results 1 to 4 of 4

Index/indirect, REF problem

  1. #1
    Registered User
    Join Date
    01-21-2015
    Location
    Sweden
    MS-Off Ver
    2010
    Posts
    2

    Index/indirect, REF problem

    Hey.

    Is stuck with the problem of having a solution, but not in the way I hoped.

    The code works when being in the same workbook. But here comes the problem, I am trying to get values from a closed workbook. And on top of that I didnt think about that the links gets hardcode inside the indirect.

    Please Login or Register  to view this content.
    Workbook1
    Has dates on every row down to say 31. Here I have my above code with the match to the row I am at and creates Ex. "fr 8/3-2013". This then matches with a row in Workbook2.

    Workbook2 looks like this:
    B C D E F G
    Eko
    Dates Sales
    Fr 1/3-2013 300
    Sa 2/3-2013 100
    Su 3/3-2013 20
    Mo 4/3-2013 50
    Sum

    Then there is more tables with same range below this one.

    So im trying to find first MATCH (Ex. Eko), then go down 3 rows and -1 column to start a range from 1-31 rows. In this range MATCH the specific date and get the a value from another column (Ex. Sales column).

    Does anyone have any ideas where to go next with this?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Index/indirect, REF problem

    Hi, welcome to the forum

    Your problem is that INDIRECT does not work on closed workbooks. An option may be to install the Morefuc add-in, found here...
    http://www.ashishmathur.com/tag/morefunc/
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-21-2015
    Location
    Sweden
    MS-Off Ver
    2010
    Posts
    2

    Re: Index/indirect, REF problem

    Thank you Ford.
    It would be the easier solution. Problem is that the file will be opened by multiple users and computers.

    It does look like I need to re-think and find a new strategi..

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Index/indirect, REF problem

    This is an add-in that would be required on all computors that will use that file

+ 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. INDIRECT problem with INDEX,MATCH
    By Westy226 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-16-2014, 11:49 AM
  2. [SOLVED] Index and Indirect Formula
    By dlorenzo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-24-2013, 11:42 PM
  3. [SOLVED] INDIRECT, INDEX Unique complex problem
    By vikramkalsan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-22-2013, 10:36 AM
  4. Problem with INDEX, INDIRECT, MATCH, MATCH
    By JO505 in forum Excel General
    Replies: 5
    Last Post: 09-01-2011, 05:51 PM
  5. Index Indirect Match problem
    By SAsplin in forum Excel General
    Replies: 8
    Last Post: 06-10-2011, 10:08 AM
  6. index...indirect
    By jw01 in forum Excel General
    Replies: 9
    Last Post: 03-30-2011, 05:16 PM
  7. INDEX as an alternative for INDIRECT
    By Hein in forum Excel General
    Replies: 7
    Last Post: 02-19-2009, 06:10 AM
  8. Indirect vs. Index
    By WJ in forum Excel General
    Replies: 3
    Last Post: 06-10-2005, 06:05 AM

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