+ Reply to Thread
Results 1 to 9 of 9

Locating the position of the MIN value across cells from multiple sheets

  1. #1
    Registered User
    Join Date
    07-21-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    5

    Locating the position of the MIN value across cells from multiple sheets

    Hi guys,

    I have tons of calculations across multiple sheets and need to find which of the sheets holds the minimal value:
    There are 10 sheets with a 100x100 matrix, each cell holding its own calculation. I have a "top level" sheet which holds a 100x100 matrix, where e.g cell B5 holds MIN(sheet1!B5;sheet2!B5;sheet3!B5;sheet4!B5...). This will tell me the overall minimum values selected from each underlying sheet, but I really need to identify _which_ sheet holds the minimum value for any given cell. All the MATCH, LOOKUP etc functions require an array. This would be dead simple if Excel would allow the creation of arrays from individual cells, but since it doesn't), I need to find some other way.

    Does anyone have any tips?

    Brgds Robert

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Locating the position of the MIN value across cells from multiple sheets

    All sheets are formatted the same way?

    In that case you can make an summury sheet, (with an macro) and use this summary sheet to count.

    Pivot table could help you, get your desired result (after summurize the data).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Locating the position of the MIN value across cells from multiple sheets

    Just to mention you could short your formula by:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Where Sheet1 is first and Sheet10 is last sheet

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Locating the position of the MIN value across cells from multiple sheets

    Last edited by JBeaucaire; 12-27-2019 at 04:44 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    07-21-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Locating the position of the MIN value across cells from multiple sheets

    Quote Originally Posted by zbor View Post
    Just to mention you could short your formula by:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Where Sheet1 is first and Sheet10 is last sheet
    Thanks zbor,
    Thanks for this tip: I actually didn't know it is possible to refer to multiple sheets this way.
    I actually oversimplified the initial question; the sheet names aren't normalized as they are named according to what they represent (competitors prices, where the sheet name hold the name of the competing company).

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Locating the position of the MIN value across cells from multiple sheets

    use the real sheet names first sheet to to last
    =MIN('my company name 1:some other company 5'!$C$1)

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Locating the position of the MIN value across cells from multiple sheets

    duplicated my post again doh

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Locating the position of the MIN value across cells from multiple sheets

    @rhercz

    You can use the name of your first sheet e,g, Oslo and use the name of the last sheet e.g. Amsterdam.

    Your formula would look like
    Please Login or Register  to view this content.

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Locating the position of the MIN value across cells from multiple sheets

    well you could try it this way
    Attached Files Attached Files

+ 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. Locating Column Position Based on Date
    By yunesm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-14-2011, 09:13 AM
  2. Position of Active Cell over multiple sheets
    By endoskeleton in forum Excel General
    Replies: 4
    Last Post: 05-20-2011, 05:59 AM
  3. Locating data from other Excel sheets.
    By helpme71 in forum Excel General
    Replies: 14
    Last Post: 02-25-2011, 10:03 AM
  4. Scroll Multiple Sheets to the Same Position Simultaneously
    By smlaff01 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-20-2007, 02:28 PM
  5. locating cells using a variable
    By adsxvii in forum Excel General
    Replies: 1
    Last Post: 03-17-2007, 07:01 PM

Tags for this Thread

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