+ Reply to Thread
Results 1 to 3 of 3

Return Sheet name that contains max value

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2010
    Posts
    62

    Return Sheet name that contains max value

    BUMP
    Hello guys and gals,
    I need help finding a max value and then returning the sheet name where the max value resides. The max value resides in C177 on 17 different sheets. Here is the formula I am using: =MAX('Press 1:Press 24'!C$177). This obviously works to return max value, but I need to now return the name OR names of the sheets that contain this max number. Another way that might work is not returning sheet name(which is the press #), but returning the press number from cell A4 on each sheet. Also have to contend with multiple sheets that may contain the max number, so I need to return all the press numbers that are tied for max number. Any Ideas?
    Last edited by merlyn45; 08-07-2012 at 04:04 PM. Reason: bump

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Return Sheet name that contains max value

    Where should the output be shown?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    05-09-2012
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Return Sheet name that contains max value

    Im sorry...should have been more specific. The output should be shown on the data sheet (Data!) where the max number is in A 13 and the sheet where it was found in B 13 - whatever depending on how many ties there are for max number.

+ 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