+ Reply to Thread
Results 1 to 8 of 8

Display the top five numbers of column Y

  1. #1
    Registered User
    Join Date
    08-16-2013
    Location
    Seattle, Washington
    MS-Off Ver
    Microsoft Works
    Posts
    4

    Display the top five numbers of column Y

    I am trying to get my spread sheet to display the top five numbers of column Y 1 - 15 and label them in order of 1 - 5 in column A 20 - 24. The catch is that rather than display the number listed in that column I would rather have it display the line number instead.

    How would I make that happen?

    Thank you for your assistance,
    Leonard

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Display the top five numbers of column Y

    Hi Leonard & Welcome to the Forum,

    It sounds like this might work in A20 copied down...

    =INDEX(ROW($Y$1:$Y$15),MATCH(LARGE($Y$1:$Y$15,ROW(A1)),$Y$1:$Y$15,0))

    Or I guess you don't even need the Index part...

    =MATCH(LARGE($Y$1:$Y$15,ROW(A1)),$Y$1:$Y$15,0)
    Last edited by jeffreybrown; 08-16-2013 at 03:23 PM.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    08-16-2013
    Location
    Seattle, Washington
    MS-Off Ver
    Microsoft Works
    Posts
    4

    Re: Display the top five numbers of column Y

    Thank you for your reply,

    That formula did not do the trick but wow ... A + for effort.

    Still trying to work it out ... any other suggestions for this
    mess an amateur made for you pros?

    Thank you,
    Leonard
    Last edited by Leonard99321; 08-16-2013 at 04:21 PM. Reason: typo

  4. #4
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Display the top five numbers of column Y

    try this array formula, but all the numbers should be unique
    =LARGE(IF(LARGE($Y$1:$Y$15,ROW(A1))=$Y$1:$Y$15,ROW($Y$1:$Y$15),""),1)
    Appreciate the help? CLICK *

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Display the top five numbers of column Y

    Quote Originally Posted by Leonard99321 View Post
    That formula did not do the trick but wow ... A + for effort
    Most often what we suggest is sight unseen and we have only your description to go by, but thanks for the endorsement.

    So we might offer you the correct solution...
    • Why did the formula not do the trick?
    • What results do you require?
    • Care to share some data?

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Quote Originally Posted by AZ-XL View Post
    try this array formula, but all the numbers should be unique
    =LARGE(IF(LARGE($Y$1:$Y$15,ROW(A1))=$Y$1:$Y$15,ROW($Y$1:$Y$15),""),1)
    This returns the same exact results as that in post #2, but without array entered.
    Last edited by jeffreybrown; 08-16-2013 at 05:16 PM.

  6. #6
    Registered User
    Join Date
    08-16-2013
    Location
    Seattle, Washington
    MS-Off Ver
    Microsoft Works
    Posts
    4

    Re: Display the top five numbers of column Y

    What I get is a pop up saying that the function is not a proper works function.

    Correct the function and try again.

    Thank you again,
    Leonard

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Display the top five numbers of column Y

    Quote Originally Posted by Leonard99321 View Post
    What I get is a pop up saying that the function is not a proper works function.
    Okay, sorry about that. I see know your profile does say "Microsoft Works". I don't have that version so let me make a call to some that might.

  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: Display the top five numbers of column Y

    well here is a list of works functions,no large or rank in there or countif or sumproduct, i think works isnt up to the job
    The following list contains the functions and parameters available in Works Spreadsheet:

    ABS(x)
    ACOS(x)
    AND(Logical0,Logical1,...)
    ASIN(x)
    ATAN(x)
    ATAN2(x-coordinate,y-coordinate)
    AVG(RangeReference0,RangeReference1,...)
    CHOOSE(Choice,Option0,Option1,...)
    COLS(RangeReference)
    COS(x)
    COUNT(RangeReference0,RangeReference1,...)
    CTERM(Rate,FutureValue,PresentValue)
    DATE(Year,Month,Day)
    DAY(DateSerialNumber)
    DDB(Cost,Salvage,Life,Period)
    ERR()
    EXACT(TextValue0,TextValue1)
    EXP(x)
    FALSE()
    FIND(FindText,SearchText,Offset)
    FV(Payment,Rate,Term)
    HLOOKUP(LookupValue,RangeReference,RowNumber)
    HOUR(TimeSerialNumber)
    IF(Condition,ValueIfTrue,ValueIfFalse)
    INDEX(RangeReference,Column,Row)
    INT(x)
    IRR(Guess,RangeReference)
    ISERR(x)
    ISNA(x)
    LEFT(TextValue,Length)
    LENGTH(TextValue)
    LN(x)
    LOG(x)
    LOWER(TextValue)
    MAX(RangeReference0,RangeReference1,...)
    MID(TextValue,Offset,Length)
    MIN(RangeReference0,RangeReference1,...)
    MINUTE(TimeSerialNumber)
    MOD(Numerator,Denominator)
    MONTH(DateSerialNumber)
    N(RangeReference)
    NA()
    NOT(Logical)
    NOW()
    NPV(Rate,RangeReference)
    OR(Logical0,Logical1,...)
    PI()
    PMT(Principal,Rate,Term)
    PROPER(TextValue)
    PV(Payment,Rate,Term)
    RAND()
    RATE(FutureValue,PresentValue,Term)
    REPEAT(TextValue,Count)
    REPLACE(OldText,Offset,Length,NewText)
    RIGHT(TextValue,Length)
    ROUND(x,NumberOfPlaces)
    ROWS(RangeReference)
    S(RangeReference)
    SECOND(TimeSerialNumber)
    SIN(x)
    SLN(Cost,Salvage,Life)
    SQRT(x)
    STD(RangeReference0,RangeReference1,...)
    STRING(x,DecimalPlaces)
    SUM(RangeReference0,RangeReference1,...)
    SYD(Cost,Salvage,Life,Period)
    TAN(x)
    TERM(Payment,Rate,FutureValue)
    TIME(Hour,Minute,Second)
    TRIM(TextValue)
    TRUE()
    UPPER(TextValue)
    VALUE(TextValue)
    VAR(RangeReference0,RangeReference1,...)
    VLOOKUP(LookupValue,RangeReference,ColumnNumber)
    YEAR(DateSerialNumber)
    "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

+ 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. Worksheet Column Display...all numbers & no letters
    By KMTrombley in forum Excel General
    Replies: 2
    Last Post: 08-04-2011, 12:12 PM
  2. Display just numbers in a column.
    By schrabe in forum Excel General
    Replies: 9
    Last Post: 11-19-2008, 11:15 PM
  3. [SOLVED] how to display numbers in thousands i.e display 10,000 as 10
    By excel2002 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2006, 03:00 PM
  4. [SOLVED] Display numbers in a userform txtfield as numbers with a comma
    By TimT in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2005, 07:00 PM
  5. How do you display negative numbers in the unit price column?
    By 389Shell in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-18-2005, 03:00 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