+ Reply to Thread
Results 1 to 7 of 7

How to make excel auto recognise the min value and substitue it into new table

Hybrid View

azimuiz How to make excel auto... 03-30-2013, 12:05 AM
Mayda89 Re: How to make excel auto... 03-30-2013, 12:23 AM
FDibbins Re: How to make excel auto... 03-30-2013, 12:24 AM
azimuiz Re: How to make excel auto... 03-30-2013, 01:16 AM
FDibbins Re: How to make excel auto... 03-30-2013, 01:36 AM
azimuiz Re: How to make excel auto... 03-30-2013, 01:44 AM
FDibbins Re: How to make excel auto... 03-30-2013, 11:04 AM
  1. #1
    Registered User
    Join Date
    03-29-2013
    Location
    malaysia
    MS-Off Ver
    Excel 2013
    Posts
    12

    How to make excel auto recognise the min value and substitue it into new table

    hi guys, if you see my workbook, I had problem to determine min value at column D from table 1 and substitute all its row value into Y1 at table 2 (X1=Y1). How to make excel auto recognise the min value and substitue it into new table even I change all the number..will someone help me..Thank you

    Book1.xlsx

  2. #2
    Forum Contributor Mayda89's Avatar
    Join Date
    09-13-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    192

    Re: How to make excel auto recognise the min value and substitue it into new table

    Use the min() function?
    If I have helped, Don't forget to add to my reputation (click on the star icon below the post).
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved).
    Use code tags when posting your code.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to make excel auto recognise the min value and substitue it into new table

    Hi

    This formula, copied across will give you the results you show in C11:F11.

    =INDEX($B$3:$F$6,MATCH(MIN($F$4:$F$6),$F$3:$F$6,0),MATCH(I$3,$B$3:$F$3,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    03-29-2013
    Location
    malaysia
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: How to make excel auto recognise the min value and substitue it into new table

    your answer is almost there ..But how if the min value exist at X2? then i want to substitute it into Y2..i mean, at the last table, it can automatically produce the substitute answer from min value at column D from table 1 even min value change at X1, X2 and X3..

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to make excel auto recognise the min value and substitue it into new table

    OK I see what you want. Trythis, copied down and across...

    =IF($F4=MIN($F$4:$F$6),INDEX($B$3:$F$6,MATCH(MIN($F$4:$F$6),$F$3:$F$6,0),MATCH(I$3,$B$3:$F$3,0)),I4)

  6. #6
    Registered User
    Join Date
    03-29-2013
    Location
    malaysia
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: How to make excel auto recognise the min value and substitue it into new table

    Awesome, That's the answer, Thanks FDibbins

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to make excel auto recognise the min value and substitue it into new table

    Happy to help. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neet and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

+ 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