+ Reply to Thread
Results 1 to 6 of 6

picks largest value

  1. #1
    Registered User
    Join Date
    01-18-2015
    Location
    Zurich
    MS-Off Ver
    2016
    Posts
    51

    picks largest value

    Hi,

    I want to write a sub that matches the largest value with a name and presents the name and value in a message.

    I have values in M5:M15 and Names in I5:I15

    How would I do this?

    Best regards,
    André

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: picks largest value

    Hi.

    Please Login or Register  to view this content.
    though you don't say which return should be preferred if the maximum value occurs more than once.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    01-18-2015
    Location
    Zurich
    MS-Off Ver
    2016
    Posts
    51

    Re: picks largest value

    Hi, thanks!

    Can it pick both the largest values and the names in that case?

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: picks largest value

    What if there're more than 2?

    Regards

  5. #5
    Registered User
    Join Date
    01-18-2015
    Location
    Zurich
    MS-Off Ver
    2016
    Posts
    51

    Re: picks largest value

    haha, you are right. All the largest values if they are the same

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: picks largest value

    Please Login or Register  to view this content.
    Regards

+ 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. Replies: 4
    Last Post: 04-04-2015, 04:24 AM
  2. [SOLVED] (ask) picks up number from a cells
    By GOENNE in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-17-2014, 12:09 PM
  3. I need to look up how much time a employee picks
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2013, 09:47 AM
  4. Replies: 12
    Last Post: 08-02-2013, 01:43 PM
  5. Returning Max value, 2nd largest, 3rd largest, etc without duplicates
    By ARayburn in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 05-21-2013, 11:49 AM
  6. vlookup only picks up first match
    By semantics in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-13-2013, 02:19 PM
  7. [SOLVED] VBA to Find Largest and 2nd and 3rd Largest Value of each Rows
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-14-2013, 12:19 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