+ Reply to Thread
Results 1 to 3 of 3

Reference MATCH() or INDIRECT() from another worksheet?

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    4

    Reference MATCH() or INDIRECT() from another worksheet?

    This is a continuation of a problem that I partially solved yesterday. I decided to make a new thread since the original issue was solved.

    In my attached example workbook, I have a hierarchy sheet (the real one is about 4600 rows) that I would like to reference. While troubleshooting my formula, I found that it only works if the hierarchy is in the same sheet (see “all in one” sheet).

    I’ve tried variations on the formula in “Sheet1” to see if my references are off, but I just get different errors:

    =VLOOKUP(MID(B2,3,2),INDIRECT(ADDRESS(MATCH(LEFT(B2,2),B:B,0),2,1,0,"hierarchy")):hierarchy!F25,5,FALSE) -results in #N/A

    =VLOOKUP(MID(B3,3,2),INDIRECT(ADDRESS(MATCH(LEFT(B3,2),hierarchy!B:B,0),2)):hierarchy!F26,5,FALSE) -results in #VALUE

    =VLOOKUP(MID(B4,3,2),INDIRECT(ADDRESS(MATCH(LEFT(B4,2),hierarchy!B:B,0),2,1,0,"hierarchy")):hierarchy!F27,5,FALSE) -results in #REF


    As a side question, any ideas on how to fill the "specific product" column?

    Thanks all!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-24-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Reference MATCH() or INDIRECT() from another worksheet?

    Should I have posted this in the "General" forum or am I just going about the solution all wrong?

  3. #3
    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
    53,048

    Re: Reference MATCH() or INDIRECT() from another worksheet?

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    http://www.mrexcel.com/forum/excel-q...ml#post3507019
    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

+ 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