+ Reply to Thread
Results 1 to 5 of 5

MATCH Function across multiple sheets

  1. #1
    Registered User
    Join Date
    07-24-2009
    Location
    Ireland
    MS-Off Ver
    Excel 2003
    Posts
    13

    MATCH Function across multiple sheets

    Hi,

    I have been trying to use a MATCH function across multiple sheets so that I can pull information into a summary sheet. What I cant figure out is how to make part of the MATCH function dynamic so that it links to a drop down box with the names of the different sheets. Its a little bit difficult to explain in words so I've attached an spreadsheet that hopefully makes it clearer.
    I have been trying to use an INDIRECT function with the MATCH function but I cannot get it to work.

    I appreciate any help you can give me.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: MATCH Function across multiple sheets

    Welcome to the Board.

    Based on my interpreation:

    D7: =MATCH(D3,INDIRECT("'"&F7&"'!A:A"),0)

    Note INDIRECT is Volatile if used in large quantities etc performance of your file could become affected (see link in sig. for more info)

  3. #3
    Registered User
    Join Date
    07-24-2009
    Location
    Ireland
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: MATCH Function across multiple sheets

    Thanks a million man! I was close but just could not get it to work.

  4. #4
    Registered User
    Join Date
    07-24-2009
    Location
    Ireland
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: MATCH Function across multiple sheets

    I actually have another question (now that I have "figured out" one thing I am being asked to do another!). Again this relates to calculating something in one sheet but pulling data from multiple sheets.

    What I am trying to do here is calculate longer term returns by geometrically linking monthly returns. That part is fine and I am just using a mixture of a PRODUCT and MATCH formula. However when it comes to pulling information from multiple sheets I cannot see how to amend either function to achieve this.

    The way the calculation works is that you specify a start date, cell F29 in the attached, and the number of months you wish to calculate a return for (F30). Then F31 calculates the last month and using the MATCH and PRODUCT formulae I can calculate the 18 month return.

    Now if I have multiple sheets, one for each portfolio, and the dates and returns are always in the same columns how can I write a product formula that can link to a list of sheet names so that when I select a different sheet it will calculate the returns from that sheet?

    Thanks!
    Attached Files Attached Files

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: MATCH Function across multiple sheets

    I'm going offline now I'm afraid but I'm sure someone else can resolve - would be a good idea I think to provide an example file where you have data across multiple sheets so as to be able to replicate your logic etc...

    On the off chance - perhaps you mean:

    =(PRODUCT(INDIRECT("'"&SheetCell&"'!C"&H29&":C"&H31))-1)*100

    where sheet cell is that cell containing the name of the target sheet..

    If you want H29 & H31 calcs to form part of the master formula it's going to get quite lengthy...

+ 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