+ Reply to Thread
Results 1 to 14 of 14

Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

  1. #1
    Registered User
    Join Date
    05-24-2017
    Location
    Milton Keynes
    MS-Off Ver
    Office 2016
    Posts
    10

    Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    Hello everybody,

    I'm having a little difficulty trying to carry out the following task:

    I have a number of tables, potentially up to six that contain data values exported from a third party software. Each table contains the same data channel headings set out in Column A, but differing values to those channels as the data is recorded.

    When some/all of the tables are populated, I wish to look up the minimum value of one row in all tables, and then display a cell corresponding to that in the column below.

    I have attached a file containing a dummy layout and potentially some further information to explain what i am trying to achieve.

    I am open to different techniques.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by edthedrummer; 04-21-2020 at 10:31 AM.

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    Hi,
    can you add manually to your file the result/s you expect to see in the cell you would like them be?
    I think it would be easier to understand your intent, and help you with a solution.

    Thanks.

  3. #3
    Registered User
    Join Date
    05-24-2017
    Location
    Milton Keynes
    MS-Off Ver
    Office 2016
    Posts
    10

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    Thanks for your response. I have now uploaded Version 2, hopefully explaining what i am trying to do a little clearer.

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    Hi,

    Well, I found something that is a little clumsy , I created few helpers to overcome the complexity, I didnt find how to apply the result in one stage.

    so first of all Ii found the smallest number in Heading B across all table content, and the value is in F1
    Then I added a helper column & row in L & 4 respectively to search the smallest value horizontally and vertically.

    Then - in I2 and J2 I fount the position of this value
    and Finally - I brought in F2 the Heading D value corresponding to smallest Heading B Value.

    This solution is valid only if same lowest value will not reccur twice in more than one Heading B title. In this case the formula will return the first result.


    Hope this helps - and hope that maybe someone else will find a simpler formula to recive the desired result in one step.
    Attached Files Attached Files
    Last edited by Limor_OP; 04-21-2020 at 07:35 PM.

  5. #5
    Registered User
    Join Date
    05-24-2017
    Location
    Milton Keynes
    MS-Off Ver
    Office 2016
    Posts
    10

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    Quote Originally Posted by belinda200 View Post
    Hi,

    Well, I found something that is a little clumsy , I created few helpers to overcome the complexity, I didnt find how to apply the result in one stage.

    so first of all Ii found the smallest number in Heading B across all table content, and the value is in F1
    Then I added a helper column & row in L & 4 respectively to search the smallest value horizontally and vertically.

    Then - in I2 and J2 I fount the position of this value
    and Finally - I brought in F2 the Heading D value corresponding to smallest Heading B Value.

    This solution is valid only if same lowest value will not reccur twice in more than one Heading B title. In this case the formula will return the first result.


    Hope this helps - and hope that maybe someone else will find a simpler formula to recive the desired result in one step.
    Thankyou very much for that, it might not be completed in one step but that's much better than the alternative manual task! Really appreciate your time spent looking for solutions to that, well done!

    I'm actually very impressed with how simple and effective the answer has become. I envisioned an extremely long equation, but breaking it down makes it much more understandable for me with basic excel knowledge.

    Ed

  6. #6
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    Hi,
    I'm glad it helps you,meanwhile I found an error in my True/False formula in row 4 as it searches the whole column for the lowest number and not just in Heading B.
    so if the lowest number is 1 it found the value in Heading A (B6) and returned the corresponding value in Heading D which is not what you are lookingfor.

    So - here is the updated version.

    Glad to help.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-24-2017
    Location
    Milton Keynes
    MS-Off Ver
    Office 2016
    Posts
    10

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    Thanks again.

    I've noticed in the formula you have used, you include a + symbol before a few formula's, for example +IF and +SMALL.

    Is this something you add deliberately, or is this accidental? I can't understand what the +symbol implies for the formula.

    Ed

  8. #8
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    can you copy the formula you are referring to here, and mark bold the character/s you are asking about?

  9. #9
    Registered User
    Join Date
    05-24-2017
    Location
    Milton Keynes
    MS-Off Ver
    Office 2016
    Posts
    10

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    =+OFFSET(B6,J2-4,I2-2)

    =+SMALL(IF($A$6:$A$45="Heading B",$B$6:$K$45),1)

    These are a couple of examples. I'm not sure if its just a formatting type of thing within excel after you have saved the document?

  10. #10
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    oh, it's nothing essential, can be deleted with no effect on the result.

  11. #11
    Registered User
    Join Date
    05-24-2017
    Location
    Milton Keynes
    MS-Off Ver
    Office 2016
    Posts
    10

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    Understood, many thanks for your help.

    I've transferred the equations across and they are working perfectly. Great help, thankyou!

  12. #12
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    Great, the only problem left to solve (in my opinion) is when you have multiple identical values which are identified as the smallest.

    If, for example, total index of Heading B's lowest value is 12 but it appears both in table 1 and table 2 - the formula will return the 1st value it finds, i.e., table 1' value of Heading D. Is it OK with you?
    Last edited by Limor_OP; 04-22-2020 at 06:48 AM.

  13. #13
    Registered User
    Join Date
    05-24-2017
    Location
    Milton Keynes
    MS-Off Ver
    Office 2016
    Posts
    10

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    This shouldn't be a massive problem, the actual value that will be used as "Heading B" will be a time, in mm.ss.000 format with each value being different, so the chances of two times being recorded of the same value are extremely small.

  14. #14
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Find Minimum Value and corresponding value from multiple tables - Index/Match maybe?

    OK fantastic, anyway I added also the lowest cell postion in H2, for cases of duplicate values so you know where excel retrieved the result from, and to make it easier verify the correctness of the answer.
    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. [SOLVED] INDEX / MATCH using multiple tables depending on values?
    By nostrum in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-21-2019, 05:15 AM
  2. How to use INDEX MATCH in unison with AVG, MIN, MAX etc across multiple tables?
    By TheBananaGuy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-29-2018, 12:48 AM
  3. [SOLVED] INDEX MATCH MATCH with multiple layered tables
    By acenewbie in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-07-2018, 11:51 AM
  4. Multiple Condition Index match to find max row value
    By Sc0tt1e in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-26-2016, 12:50 PM
  5. [SOLVED] Extracting information from multiple tables (Vlookup, Index match, indirect??)
    By vesper007 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-07-2016, 02:36 AM
  6. Using index match to find terms on multiple tables?
    By tsiguy96 in forum Excel General
    Replies: 3
    Last Post: 08-12-2015, 05:25 AM
  7. Need data cross-referenced in multiple tables: VLOOKUP vs. Match vs. Index
    By James McMurray in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-05-2008, 02:53 PM

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