Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory monitor motherboard network operating system printer problem ram registry router slow software sound svchost.exe toshiba trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Ranking a set of numbers

Reply  
Thread Tools
cntrdctn12's Avatar
Computer Specs
Junior Member with 1 posts.
 
Join Date: Nov 2009
Experience: Intermediate
11-Nov-2009, 11:36 PM #1
Ranking a set of numbers
Hi, I am trying to make a comparison against a set of data and rank them accordingly. The data can comprise up to 150 rows.

I compare data in column 1, get the ranking from there and if there is a tie for certain rows, I compare data on column 2 only for the rows that are tied. This is repeated until there is no more tied data or until all the columns have been exhausted.

I have attached the sample data and also the expected answer for easy reference. Thank you in advance to anyone who can help with this.
Attached Files
File Type: xls Rank Test.xls (22.0 KB, 39 views)
Aj_old's Avatar
Computer Specs
Senior Member with 869 posts.
 
Join Date: Sep 2007
Location: Moldova
Experience: Intermediate
12-Nov-2009, 04:52 AM #2
You didn't said about the order of the ranking should it be upward or downward?
Also I'm not sure I understood the process, cause the way I understood it, the ranking should be a little bit different?
Do you just wanna the ranks or you wanna to sort the data too?
__________________
“I hear, I know. I see, I remember. I do, I understand.” (Confucius 551 BC – 479)
Aj_old's Avatar
Computer Specs
Senior Member with 869 posts.
 
Join Date: Sep 2007
Location: Moldova
Experience: Intermediate
12-Nov-2009, 07:35 AM #3
Take a look at the attached spreadsheet.
Attached Files
File Type: xls Rank Test.xls (48.5 KB, 32 views)
turbodante's Avatar
Senior Member with 744 posts.
 
Join Date: Dec 2008
Location: GMT UK
13-Nov-2009, 06:08 AM #4
I don't understand how 'Expected Answer' have been worked out in post #1.

If the scores are to be ranked in assending order by highest 'scores'. Then Name A, J and E are tied in 1st place in column 1. So in Column 2, the rankings in asending order should be J, A then E.

Am I missing something?
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:27 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.