+ Reply to Thread
Results 1 to 4 of 4

Find each lowest value and return sheet name

  1. #1
    Registered User
    Join Date
    02-01-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    1

    Find each lowest value and return sheet name

    I have a series of worksheets each containing a 10x10 table containing prices. Each sheet represents a different supplier.

    What I need to do is now create a summary sheet and have the same 10x10 table but rather than listing prices list the name of the company (ie the sheet name) that had the lowest value (ie compare the cell B3 across all the sheets and return the name of the sheet with the lowest value in B3)

    I am struggling to do this as the few similar questions have had suggestions of merging the data to a single page but having 10x10 tables the solutions previously suggested wouldnt work

    Many thanks

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,443

    Re: Find each lowest value and return sheet name

    Hi,

    To return the lowest value in the same cell across several sheets, use something like this:

    =MIN(Sheet1:Sheet10!B3)

    To lookup across sheets, you will need an user-defined formula, or a complex workaround - there are several posted hereaouts, try a search for "lookup across multiple sheets" or "index and match across multiple sheets"
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

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

    Re: Find each lowest value and return sheet name

    There are a few approach as outlined...

    One non-VBA way would be to replicate the 10x10 on each sheet, if we assume say your 10x10 is A1:J10 on each sheet, eg:

    Please Login or Register  to view this content.
    (above replicated for each of the 10 sheets - can be done simultaneously by grouping)

    Once the above is done - then on your Summary sheet:

    Please Login or Register  to view this content.
    above assumes sheet names do not contain spaces and will concatenate multiple sheet names should have 1+ instance of any given MIN value
    (if they do the above would need to be adjusted)

    If you need more assistance - post a sample
    Last edited by DonkeyOte; 02-01-2010 at 12:38 PM. Reason: MAX in narrative should read MIN - formulae unchanged

  4. #4
    Registered User
    Join Date
    04-30-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Find each lowest value and return sheet name

    Hi


    Could someone help me with this, I currently have 11 worksheets filled with pricing information in the same cells on each worksheet:
    B7:M21

    I use =MIN(Sheet1!B7,Sheet2!B7,Sheet3!B7,Sheet4!B7,Sheet5!B7,Sheet6!B7,Sheet7!B7,Sheet8!B7,Sheet9!B7,Sheet10!B7,Sheet11!B7) to display the lowest price in the table from all 11 suppliers, however I was wondering with a simple addition of code could this display the price + Sheet? (ie sheet name) from which the price came from? i dont mind if i have to add an additional row to insert the supplier name for each best price

    any help with this would be greatly appreciated

    Thanks

    phil

+ 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