+ Reply to Thread
Results 1 to 13 of 13

Conditional Max Function

  1. #1
    Registered User
    Join Date
    09-09-2013
    Location
    INDIA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Question Conditional Max Function

    Capture.JPG

    please have a look at the attached image.

    Is there any function that will return the value from column "C" for the max value from column "B"????


    Please reply.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Conditional Max Function

    Hello ronnycool,

    Maybe like this?

    Regards
    Attached Files Attached Files
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    09-09-2013
    Location
    INDIA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Conditional Max Function

    thanks a lot...!!!

    is there any other function for the same technique????

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Conditional Max Function

    ???
    =index(c2:c6,match(max(b2:b6),b2:b6,0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    09-09-2013
    Location
    INDIA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Conditional Max Function

    thanks a lot...!!!

    It worked....!!!!!!!!

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Conditional Max Function

    You are welcome.

    You may also Click on the star "*", bottom left, to show some appreciation.

    is there any other function for the same technique????
    It would depend on exactly what you want to do.

    The solution I gave you, was based on the image you have posted, and I don't understand why you would now want to consider a different approach.

    If you have other questions regarding different issues, then you should mark this thread as "Solved", and start any other new thread.

    Regards

  7. #7
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: Conditional Max Function

    =index(match) is same sa vlookup.

    but vlookup is easier.

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Conditional Max Function

    that's a matter of opinion,i hardly ever use vlookup unless an op asks for help with it!

  9. #9
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Conditional Max Function

    Hello reimar_rem,

    =index(match) is same sa vlookup.

    but vlookup is easier.
    Yes, you are correct, but sometimes you may find Index,Match better than Vlookup.

    Regards

  10. #10
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Conditional Max Function

    @ martindwilson,

    Hi Martin,

    I agree with you. Also thank you for helping out here as well!

    Best Regards

  11. #11
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: Conditional Max Function

    Hi Guru,

    Agree, sometimes index match is better.


  12. #12
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: Conditional Max Function

    Hi Guru,

    Agree, index match is sometimes better.


  13. #13
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Conditional Max Function

    INDEX MATCH combination can lookup left or right with a vertical arrangement of data or with horizontal data, UP or DOWN.

    VLOOKUP can only return from left to right for vertical data and HLOOKUP from UP to down for horizontal data.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Help on Conditional Min Function
    By Spfbabe in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-12-2012, 07:45 AM
  2. Function with conditional
    By perera13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-31-2009, 06:36 AM
  3. Conditional IF Function by Name
    By chugger93 in forum Excel General
    Replies: 3
    Last Post: 12-04-2008, 12:15 PM
  4. Conditional MAX function
    By azz90 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-24-2008, 07:26 AM
  5. conditional function
    By indira in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2007, 09:54 AM

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