+ Reply to Thread
Results 1 to 5 of 5

Lookup/Reference

  1. #1
    Registered User
    Join Date
    10-10-2011
    Location
    SW, UK
    MS-Off Ver
    Excel 2010
    Posts
    12

    Question Lookup/Reference

    I am trying to figure out the best way to approach the following task;

    I'd like to build a function that will look at the sheet number, followed by value one, then two and return the data found in data columns 4 and 5.
    The data is spread across 10+ sheets with tens of Value 1 values and more Value 2 values so I think I'd run out of IF's before I've gotten halfway.

    Since being introduced to INDEX and MATCH by users on here they have become invaluable so I'm wondering if there are other undiscovered functions that I can learn!
    When thinking about Indexes to this problem my head starts to hurt, in the workbook I'm using it would require about 12 indexes per sheet with 10+ sheets in the workbook

    The attached example and screenshot below illustrates my issue (I hope).
    Thanks,
    Spax

  2. #2
    Registered User
    Join Date
    10-10-2011
    Location
    SW, UK
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: What's the best solution to this Lookup/Reference task?

    Giving this a bump and re-adding attachments that were there earlier and had mysteriously disappeared
    Attached Images Attached Images
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: What's the best solution to this Lookup/Reference task?

    Hello Spax,

    See the attached. Change your sheet name in A1. It should be exactly as your sheet names (NOT case sensitive). If you have any spaces in sheet names, enter same as in A1.

    Hope this helps.
    Attached Files Attached Files
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Registered User
    Join Date
    10-10-2011
    Location
    SW, UK
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Lookup/Reference

    Haseeb, that's excellent! And a much smaller function than I could of imagined

    Please Login or Register  to view this content.
    A lot of the components within the function I'm not familiar with, could you explain how it works?

    Thanks
    Spax

  5. #5
    Registered User
    Join Date
    10-10-2011
    Location
    SW, UK
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Lookup/Reference

    After a few days off I returned to the function in the hope that it would make more sense but I'm still rather overwhelmed by it
    Please Login or Register  to view this content.
    Could someone run me through the above function? I want to learn how it works so I can use and adapt it in the future.
    Thanks,
    Spax

+ 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