Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default How to Rank Name?

I have a Power Ranking Excel Book for my partner Restaurants that lists us
from 1st - 14th in different categories through the year.

------- Example 1 -------

Month Jan
Category (Labor)
Rank Name
1 Athens
2 Baytown
3 Walden
4 Hugo

Month Feb
Category (Labor)
Rank Name
1 Athens
2 Hugo
3 Baytown
4 Walden

------- End Example 1 -------

I am using =SUMIF to grab each store's rank and add them up (A) then
dividing (B) them by how many months we are into the year to give them each
stores Rank for the Year To Date. So it looks like this..

YEAR TO DATE
Labor Total(A) Rank(B)
Athens 2 1
Baytown 5 2.5
Hugo 6 3
Walden 7 3.5

(all of the above Year to Date information will be hidden and it will only
show the Ranks and Stores that are below on the YTD sheet so it will be
cleaner to look at and fax to each store)

My QUESTION is: I am trying to find out how to make the sheet automatically
insert the STORE NAME by the RANK they are listed on the same sheet from the
totals.

Rank Store
1 blank (unknown formula to insert)
2 blank
3 blank
4 blank

I am not sure what formula to put in the Blank to automatically insert the
store who is ranked 1st-4th. The 1st - 4th will should stay in numerical
order, and the stores should change throughout the year depending on their
ranks for each category as they progress.

Any help would be greatly appreciated. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to Rank Name?

Assume this table is in sheet: x, cols A to D
with stores' data running in row3 down

YEAR TO DATE
Labor Total(A) Rank(B)
Athens 2 1
Baytown 5 2.5
Hugo 6 3
Walden 7 3.5


Assume your ranking = lower is better
Try this in your results sheet
In B2 (below "Store"):
=IF(ISNA(RANK(x!C3,x!$C$3:$C$100,1)),"",INDEX(x!$A $3:$A$100,RANK(x!C3,x!$C$3:$C$100,1)))
Copy down as far as required. Success? hit the YES below
--
Max
Singapore
---
"Matlock" wrote:
I have a Power Ranking Excel Book for my partner Restaurants that lists us
from 1st - 14th in different categories through the year.

------- Example 1 -------

Month Jan
Category (Labor)
Rank Name
1 Athens
2 Baytown
3 Walden
4 Hugo

Month Feb
Category (Labor)
Rank Name
1 Athens
2 Hugo
3 Baytown
4 Walden

------- End Example 1 -------

I am using =SUMIF to grab each store's rank and add them up (A) then
dividing (B) them by how many months we are into the year to give them each
stores Rank for the Year To Date. So it looks like this..

YEAR TO DATE
Labor Total(A) Rank(B)
Athens 2 1
Baytown 5 2.5
Hugo 6 3
Walden 7 3.5

(all of the above Year to Date information will be hidden and it will only
show the Ranks and Stores that are below on the YTD sheet so it will be
cleaner to look at and fax to each store)

My QUESTION is: I am trying to find out how to make the sheet automatically
insert the STORE NAME by the RANK they are listed on the same sheet from the
totals.

Rank Store
1 blank (unknown formula to insert)
2 blank
3 blank
4 blank

I am not sure what formula to put in the Blank to automatically insert the
store who is ranked 1st-4th. The 1st - 4th will should stay in numerical
order, and the stores should change throughout the year depending on their
ranks for each category as they progress.

Any help would be greatly appreciated. Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default How to Rank Name?

I am not completely sure how to put the formula together.
If the cells are listed like this (All on the same sheet)

+....A........B..............C.............D
1....Rank..Stores.....YTD.........
2....1........Blank.......Athens....2
3....2........Blank.......Baytown..1
4....3........Blank.......Hugo.......2.5
5....4........Blank.......Walden....3.5


How would I put the formula..

=IF(ISNA(RANK(x!C3,x!$C$3:$C$100,1)),"",INDEX(x!$A $3:$A$100,RANK(x!C3,x!$C$3:$C$100,1)))

Together in the Blank under stores to make it work. (not familiar with some
of the code listed)
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to Rank Name?

Looks much simpler if it's not across sheets (sheetname is dropped)
Put this in B2:
=IF(ISNA(RANK(D2,$D$2:$D$100,1)),"",INDEX($C$2:$C$ 100,RANK(D2,$D$2:$D$100,1)))
Copy down to B100.
--
Max
Singapore
---
"Matlock" wrote:
I am not completely sure how to put the formula together.
If the cells are listed like this (All on the same sheet)

+....A........B..............C.............D
1....Rank..Stores.....YTD.........
2....1........Blank.......Athens....2
3....2........Blank.......Baytown..1
4....3........Blank.......Hugo.......2.5
5....4........Blank.......Walden....3.5


How would I put the formula..

=IF(ISNA(RANK(x!C3,x!$C$3:$C$100,1)),"",INDEX(x!$A $3:$A$100,RANK(x!C3,x!$C$3:$C$100,1)))

Together in the Blank under stores to make it work. (not familiar with some
of the code listed)

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default How to Rank Name?

On 20 Mai, 00:06, Matlock wrote:
I have a Power Ranking Excel Book for my partner Restaurants that lists us
from 1st - 14th in different categories through the year.

------- Example 1 -------

Month Jan
Category (Labor)
Rank * Name
* 1 * * * Athens *
* 2 * * * Baytown
* 3 * * * Walden
* 4 * * * Hugo

Month Feb
Category (Labor)
Rank * Name
* 1 * * * Athens *
* 2 * * * Hugo
* 3 * * * Baytown
* 4 * * * Walden

------- End Example 1 -------

I am using =SUMIF to grab each store's rank and add them up (A) then
dividing (B) them by how many months we are into the year to give them each
stores Rank for the Year To Date. So it looks like this..

* * YEAR TO DATE
Labor * * *Total(A) *Rank(B)
Athens * * * 2 * * * * * *1
Baytown * * 5 * * * * * *2.5
Hugo * * * * *6 * * * * * *3
Walden * * * 7 * * * * * *3.5

(all of the above Year to Date information will be hidden and it will only
show the Ranks and Stores that are below on the YTD sheet so it will be
cleaner to look at and fax to each store)

My QUESTION is: I am trying to find out how to make the sheet automatically
insert the STORE NAME by the RANK they are listed on the same sheet from the
totals.

Rank * Store
1 * * * * blank (unknown formula to insert)
2 * * * * blank
3 * * * * blank
4 * * * * blank

I am not sure what formula to put in the Blank to automatically insert the
store who is ranked 1st-4th. The 1st - 4th will should stay in numerical
order, and the stores should change throughout the year depending on their
ranks for each category as they progress.

Any help would be greatly appreciated. Thanks!


Hello,

I suggest to use this as an example:
http://sulprobil.com/html/sorting.html

Regards,
Bernd
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
rank the numbers / range of data using 'RANK' and 'ABS' KP Excel Worksheet Functions 1 March 8th 08 05:50 PM
RANK, duplicate ranking but no gaps in rank arron laing Excel Worksheet Functions 4 June 14th 06 07:57 AM
Rank where lowest value is highest rank mile3024 Excel Worksheet Functions 2 December 9th 05 10:57 PM
Does Correl/Rank combo work eg CORREL(cols E & H) where E&H=RANK(. Emmanuel Excel Worksheet Functions 3 November 12th 05 03:33 PM
Rank items, select one start date, have remaining dates follow based on rank rob normerica Excel Discussion (Misc queries) 1 August 15th 05 09:36 PM


All times are GMT +1. The time now is 07:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"