+ Reply to Thread
Results 1 to 8 of 8

ID# Column Needs to Match the Line Number to the Score in the Score Column

  1. #1
    Registered User
    Join Date
    12-04-2018
    Location
    Washington State, USA
    MS-Off Ver
    Microsoft Office 365
    Posts
    64

    ID# Column Needs to Match the Line Number to the Score in the Score Column

    I am attaching a worksheet that shows random triple scores. My problem is the ID# column CC. It not only matches and shows the ID# for the triple scores, but it is showing additional numbers. I do not know where these numbers come from and I do not want them. I only want it (Column CC) to show ID#s (line numbers) for the actual triple scores. I am sure it is something that I am just not seeing since, I have used the same formula for the consecutive scores and have changed the column letters. Another set of eyes will be appreciated.

    Here is what I am trying to do. Column CB are scores taken from Column T and are listed in Column CB largest to smallest. Column CC are the line numbers for only those scores shown in Column CB. Column CD shows the position of the person in the list in Column AG. Then Column CE is the Full Name. Columns CC and CD should work the same way that Columns CH and CI

    All of you who have helped me prepare this worksheet have provided tremendous help and learning. Thank you.
    Attached Files Attached Files
    Last edited by viclea; 10-23-2021 at 11:41 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,245

    Re: Triple Scores

    in CC2

    =IF(CB2=0,"",INDEX(ROW(T$2:$T$600),AGGREGATE(15,6,ROW($T$1:$T$600)/($T$2:$T$600=CB2),COUNTIF(CB$2:CB2,CB2))))

    NOTE: column CB has zeros which are hidden by the format used [0;0;;@]

    I recommend you change your thread title as it does not accurately describe your problem
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    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
    81,162

    Re: Triple Scores

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

    Administrative Note

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. Thanks.
    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.

  4. #4
    Registered User
    Join Date
    12-04-2018
    Location
    Washington State, USA
    MS-Off Ver
    Microsoft Office 365
    Posts
    64

    Re: Triple Scores

    I have tried to change the name and am sorry it did not reflect the subject.

  5. #5
    Registered User
    Join Date
    12-04-2018
    Location
    Washington State, USA
    MS-Off Ver
    Microsoft Office 365
    Posts
    64

    Re: Triple Scores

    I tried your formula and I get the "NAME" error. I am not sure why it doesn't work.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,245

    Re: Triple Scores

    My fault: you have Excel 2007 and Aggregate is not available until Excel 2010.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,245

    Re: Triple Scores

    Try

    =IF(CB2=0,"",IFERROR(INDEX(ROW(T$2:$T$600),SMALL(IF($T$2:$T$600=CB2,ROW($T$2:$T$600)-ROW($T$2)+1,""),COUNTIF(CB$2:CB2,CB2)),0),""))

    Enter with Ctrl+Shift+Enter

    Corrected above: forgot about hidden zeros!
    Last edited by JohnTopley; 10-23-2021 at 12:03 PM.

  8. #8
    Registered User
    Join Date
    12-04-2018
    Location
    Washington State, USA
    MS-Off Ver
    Microsoft Office 365
    Posts
    64

    Re: Triple Scores

    Thank you!!! It worked. I really appreciate your help.

+ 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. [SOLVED] Finding Triple and Consecutive Scores
    By viclea in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2021, 05:03 PM
  2. Need to enter test scores and return suggestions based on those scores
    By deborahlane in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 10
    Last Post: 09-28-2020, 01:23 PM
  3. Transpose rows to columns and sort by scores (with repetitive scores)
    By anishmalhotra in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-02-2019, 08:17 PM
  4. [SOLVED] I need a macro to select range of scores, choose the best scores and apply a formula
    By hadleedog in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2015, 03:15 PM
  5. Replies: 8
    Last Post: 12-20-2014, 04:37 PM
  6. Replies: 1
    Last Post: 06-15-2013, 09:02 PM
  7. VB macro for sorting through scores and copying certain scores to new sheet
    By cowboy713 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2010, 01:47 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