+ Reply to Thread
Results 1 to 10 of 10

i need to find the highest value in two columns, then present the cell contents two left

  1. #1
    Registered User
    Join Date
    09-18-2016
    Location
    carrickfergus
    MS-Off Ver
    excel 2013
    Posts
    63

    i need to find the highest value in two columns, then present the cell contents two left

    The next problem requiring solving is:

    column I & J present the predictions, I want to first find the highest value in the two columns and then present the contents of the cell 2 to the left - so if column I has the highest value from I & J I want to present the contents of column G, alternatively if column J has the highest value I want to present the contents in Column H

  2. #2
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: i need to find the highest value in two columns, then present the cell contents two le

    you can find highest value by using Max function

    Please Login or Register  to view this content.
    Please upload the sample file for more clarification
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  3. #3
    Forum Contributor
    Join Date
    10-30-2014
    Location
    England
    MS-Off Ver
    2007 / 365
    Posts
    279

    Re: i need to find the highest value in two columns, then present the cell contents two le

    There might be a simpler way to do it but...

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that if the MAX value exists in more than one cell, this formula will stop at the first instance of it.
    Last edited by EchoPassenger; 09-18-2016 at 12:27 PM.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: i need to find the highest value in two columns, then present the cell contents two le

    Is it possible that both columns might have the max value?

    If so, what should happen?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    09-18-2016
    Location
    carrickfergus
    MS-Off Ver
    excel 2013
    Posts
    63

    Re: i need to find the highest value in two columns, then present the cell contents two le

    yes, if the 2 columns carry the same value then ideally I would like the word 'Draw' to be displayed but that might be asking too much
    Last edited by paulr0700282; 09-18-2016 at 01:09 PM.

  6. #6
    Registered User
    Join Date
    09-18-2016
    Location
    carrickfergus
    MS-Off Ver
    excel 2013
    Posts
    63

    Re: i need to find the highest value in two columns, then present the cell contents two le

    EchoPassenger - I don't need to find the highest value in the whole column, just in 2 cells, for example, I4 and J4, find highest, then present content of cell 2 to the left so that would be cell H4 should J4 be the highest

    Thank you all for your support

  7. #7
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: i need to find the highest value in two columns, then present the cell contents two le

    That is possible also. Just make some modification to the formula of EchoPassenger as below :
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    09-18-2016
    Location
    carrickfergus
    MS-Off Ver
    excel 2013
    Posts
    63

    Re: i need to find the highest value in two columns, then present the cell contents two le

    WOW - sensational, how do you actually learn how to do this? amazing, Thank you, EchoPassenger & Sanram, I took the latest formula from your goodself Sanram and amended to specific cells - hey presto

    =IF(LARGE(I4,1)=LARGE(J4,1),"Draw",IFERROR(INDEX(G4,MATCH(MAX(I4:J4),I4,0)),INDEX(H4,MATCH(MAX(I4:J4),J4,0))))

  9. #9
    Forum Contributor
    Join Date
    10-30-2014
    Location
    England
    MS-Off Ver
    2007 / 365
    Posts
    279

    Re: i need to find the highest value in two columns, then present the cell contents two le

    Quote Originally Posted by paulr0700282 View Post
    EchoPassenger - I don't need to find the highest value in the whole column, just in 2 cells, for example, I4 and J4, find highest, then present content of cell 2 to the left so that would be cell H4 should J4 be the highest
    If it's just the MAX per row the formula is much simpler...

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  10. #10
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: i need to find the highest value in two columns, then present the cell contents two le

    You are welcome and thanks for the rep. You have learnt this too now and will be able to solve such problem by yourself next time. I have learnt this in the same way too.


+ 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. Find highest value in a column and then copy contents of another cell in that row
    By peakoverload in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-19-2014, 10:26 AM
  2. [SOLVED] 2 Columns - Find Data to Last Item Entry & Date to Left of Cell
    By mycon73 in forum Excel General
    Replies: 7
    Last Post: 08-17-2014, 08:00 PM
  3. [SOLVED] Find Row Max and Display Cell Contents of Cell to the Left
    By Phillycheese5 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-12-2014, 10:00 AM
  4. Delete contents of cell if text is NOT present
    By rexer231 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-19-2014, 12:32 PM
  5. delete contents of cell if text is present
    By rexer231 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-13-2014, 02:01 PM
  6. Replies: 0
    Last Post: 02-01-2014, 09:52 AM
  7. Replies: 4
    Last Post: 03-18-2011, 06:05 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