Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8274193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:39:43+00:00 2026-06-08T07:39:43+00:00

Given an Excel file with three columns (similar to this ): Group, Number and

  • 0

Given an Excel file with three columns (similar to this): Group, Number and Rank.

Within the each group he must rank the values from smallest to greatest. If the values match they get the same ranking. So if a value is the largest, the rank would be 1. If it was the second largest, the rank would be 2 and so on.

Then this process should restart for the second set of values. How can this task be accomplished? Maybe using arrays/bubble sort?—but I’m not sure that’s the right approach.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T07:39:43+00:00Added an answer on June 8, 2026 at 7:39 am

    I think I have the solution you are looking for – I had to do it in three columns though.

    Assuming you have the group in column A and the score in volumn B; you are going to want to sort first by group and then by score.

    Then you are going to want to go ahead and put the previously mentioned formula in column C2:

    =SUMPRODUCT(($A$2:$B$25=A2)*($B$2:$B$25>B2))+1
    

    Then autofill that down.

    Then you are going to want to put a counter in cell D2:

    =IF(COUNTIFS($A$2:A2,A2,$B$2:B2,B2)=1,0,1)
    

    Then autofill that down.

    Then you are going to want to put this equation in cell E2:

    =IF(C2<>C1,C2-SUMIF($A$2:A2,A2,$D$2:$D$25),C2)
    

    Then autofill that down.

    There might be a simpler/better way to do this – but this will definitely give you what you are looking for:

    Ranking Solution

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an Excel file with a worksheet containing people records. 1. Phone Number
I need to make an excel file which would fetch data from connection to
I'm using OleDb to select data from excel spreadsheets. Each spreadsheet can contain many
I've been given a file with hundreds of thousands of values, inconsistently formatted in
I'm building an SSIS package resposible for importing an Excel file sourced either from
Now i want to read any excel file that are given by the user
hey all, is there any way to convert a given file (this could be
I have some C#/Linq code used to merge data from excel file into db,
My app generates SSIS packages for importing data from Excel files. This is done
Our company has thousands of Excel files, where each Excel file describes one IPVPN

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.