+ Reply to Thread
Results 1 to 2 of 2

Finding Max value using Index and Match data across Multiple Worksheets

  1. #1
    Registered User
    Join Date
    04-04-2013
    Location
    Hoboken, NJ
    MS-Off Ver
    Excel 365
    Posts
    7

    Finding Max value using Index and Match data across Multiple Worksheets

    Hello,
    This is my first post but have enjoyed learning through this forum in the past.

    I have data from multiple years all on separate tabs/worksheet in one file. I have this type of file for about 40 different markets. I'd like to create a record book and locate what is the MAX value of each file and have excel return the corresponding date of this Max value. For example the numbers data that I'd like to find the Max is in Column "B" on each worksheet. The Date is on column A of each worksheet. I can find this information if I do a =INDEX(A36:A206,MATCH(MAX(B36:B206),B36:B206,0)) on the same tab or if I am on a "Summary" Sheet and am searching across one worksheet. However, it is not working if I am applying this formula across multiple worksheets:

    =INDEX('Market Name 2002':'Market Name 2010'!A36:A206,MATCH(MAX('Market Name 2002':'Market Name 2010'!B36:B206),'Market Name 2002':'Market Name 2010'!B36:B206,0))
    This formula is returning back "#NAME?".

    Other posts have mentioned I put the data into one worksheet. With 40 such files and approximately 10 worksheets per file, that would be time consumming so I am hoping there is a formula that I can apply to one worksheet for each file when I start my search.

    Any help would be appreciated.

    Thank You
    BT

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Finding Max value using Index and Match data across Multiple Worksheets

    I found some useful info here: http://www.myonlinetraininghub.com/e...ultiple-sheets

    The result is not as automated as I would like but it seems to work. For some reason MAX will not work with INDIRECT here, otherwise it would be slightly better.

    Writing a macro that searches a whole folder of files should be feasible, if you answer this post I can take a shot at it.
    Attached Files Attached Files
    Last edited by Jacc; 04-21-2013 at 02:57 PM.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

+ 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