+ Reply to Thread
Results 1 to 5 of 5

Choosing a column based on this maximum value of one cell in said column

  1. #1
    Registered User
    Join Date
    07-08-2015
    Location
    Denmark
    MS-Off Ver
    07
    Posts
    7

    Choosing a column based on this maximum value of one cell in said column

    Hello Excel Forum!

    I have a matrix, where i would like to extract the column which has the highest value of a specific unit (here E). I have attached my Excel Sheet where the problem is illustrated. I hope you will be able to help me!

    Cheers,

    YourExcellence

    autofix.xlsx

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Choosing a column based on this maximum value of one cell in said column

    See if this is what you want

    =INDEX(E11:H11,MATCH(MAX(E16:H16),E16:H16,0))
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    06-09-2015
    Location
    Bern, Switzerland
    MS-Off Ver
    2010
    Posts
    2

    Re: Choosing a column based on this maximum value of one cell in said column

    Hi YourExcellence,

    you could use the following formula : =INDEX(E12:H12;MATCH(MAX($E$16:$H$16);$E$16:$H$16;0)) based on your example

    autofix.xlsx


    sorry i didn't see there was the same answer already submitted when i sent my one

  4. #4
    Registered User
    Join Date
    07-08-2015
    Location
    Denmark
    MS-Off Ver
    07
    Posts
    7

    Re: Choosing a column based on this maximum value of one cell in said column

    Thanks guys, this is exactly what I was looking for!

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Choosing a column based on this maximum value of one cell in said column

    Glad it helped

+ 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] Set cell equal to variable cell (from set column) based on cells in adjacent column
    By alter54 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2014, 01:04 PM
  2. [SOLVED] Conditional Formatting based on maximum date to another column
    By farrukh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-13-2013, 09:37 AM
  3. [SOLVED] copying specific certain column data based on cell/column value to another sheet
    By arctic7 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2012, 03:38 PM
  4. Formula/macro to edit cells in one column based on contents of a cell in another column
    By robbyvegas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2012, 06:10 AM
  5. How to order columns based on maximum value in each column?
    By guilhermepc in forum Excel General
    Replies: 0
    Last Post: 01-16-2012, 08:14 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