+ Reply to Thread
Results 1 to 8 of 8

max number returning a word

  1. #1
    Forum Contributor
    Join Date
    10-27-2013
    Location
    Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    403

    max number returning a word

    im using this formula =INDEX($I$5:$I$500,SMALL(IF($K$5:$K$500=MAX($K$5:$K$500),ROW($K$5:$K$500)-1),ROW(K5)-1)) but it wont work i got the formula from a web page i just change "A" to "I" and "B" to "K"

    i5:i500 is won lost drew (thats the only 3 words) - K5:k500 is numbers its an array formula

    im trying to find the max num and give the corresponding word


    it gives me the result #NUM!

    instead of either won lost or drew

    if need be can i upload a pic of the original formula ?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: max number returning a word

    How about this? A normal formula, not array-entered.

    =INDEX($I$5:$I$500,MATCH(MAX($K$5:$K$500),$K$5:$K$500,0))
    Last edited by AliGW; 10-17-2018 at 12:30 PM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: max number returning a word

    With Excel 2010, there are nicer ways of doing this.

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    10-27-2013
    Location
    Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    403

    Re: max number returning a word

    that works but not if max is 1 for won drew are lost it only give me won but not drew or lost
    Attached Images Attached Images

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: max number returning a word

    Can we have a sheet please... not a non-editable picture of one....

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: max number returning a word

    Why didn't you say that you were returning the names of the winners?

  7. #7
    Forum Contributor
    Join Date
    10-27-2013
    Location
    Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    403

    Re: max number returning a word

    Was trying to make it as simple as possible

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: max number returning a word

    You’ve over-simplified it, unfortunately. Please attach a workbook, as requested.

+ 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. Returning the max number as a word
    By CoachFogg in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-03-2014, 07:26 PM
  2. Returning the MAX number as a word
    By CoachFogg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2014, 08:34 AM
  3. Replies: 6
    Last Post: 01-31-2013, 02:50 AM
  4. Replies: 1
    Last Post: 01-17-2013, 10:44 AM
  5. Returning text after one word
    By Bandini in forum Excel General
    Replies: 6
    Last Post: 02-20-2012, 10:02 AM
  6. Returning focus to Excel from Word How?
    By barryleajo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-11-2010, 06:07 PM
  7. Returning a word
    By Pdeaks in forum Excel General
    Replies: 4
    Last Post: 03-18-2009, 08:34 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