+ Reply to Thread
Results 1 to 9 of 9

Ranking question

  1. #1
    Registered User
    Join Date
    02-04-2010
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    22

    Ranking question

    Hi

    I'm comparing 2 locations, and would like to show the ranking I gave to each category in a summary table.

    In the attached spreadsheet, I have 2 tabs (for each city) where I rank each category 1-5
    In the summary tab I have the comparison for each category and want to show the ranking for each city (e.g. city 1 got a rank of 4 and city 2 got a rank of 5 for the first category)

    Thanks fir the help
    S
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Ranking question

    Try these:

    C4 =INDEX('City 1'!C$3:G$3,MATCH("x",'City 1'!C5:G5,0))
    D4 =INDEX('City 2'!D$3:H$3,MATCH("x",'City 2'!D5:H5,0))

    Drag both formulas down.

    These assume that your sample workbook is representative of your actual one.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Ranking question

    When you have subsidiary sheets like this, it helps to have each of them using the same data layout. In your example the rankings are in columns C to G for City1, but in column D to H for City2. Can you standardise these?

    Pete

  4. #4
    Registered User
    Join Date
    02-04-2010
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking question

    Quote Originally Posted by Pete_UK View Post
    When you have subsidiary sheets like this, it helps to have each of them using the same data layout. In your example the rankings are in columns C to G for City1, but in column D to H for City2. Can you standardise these?

    Pete
    You are correct. I deleted column C and the data layout is the same now. Thanks for the comment

  5. #5
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Ranking question

    Try: =INDEX('City 1'!$B$3:$L$3,MATCH("x",INDEX('City 1'!$B:$L,MATCH(B4,'City 1'!B:B,0),0),0))
    Change the sheet for City2
    Click the * to say thanks.

  6. #6
    Registered User
    Join Date
    02-04-2010
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking question

    Quote Originally Posted by 63falcondude View Post
    Try these:

    C4 =INDEX('City 1'!C$3:G$3,MATCH("x",'City 1'!C5:G5,0))
    D4 =INDEX('City 2'!D$3:H$3,MATCH("x",'City 2'!D5:H5,0))

    Drag both formulas down.

    These assume that your sample workbook is representative of your actual one.
    Worked! thanks much

  7. #7
    Registered User
    Join Date
    02-04-2010
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking question

    Quote Originally Posted by PaulM100 View Post
    Try: =INDEX('City 1'!$B$3:$L$3,MATCH("x",INDEX('City 1'!$B:$L,MATCH(B4,'City 1'!B:B,0),0),0))
    Change the sheet for City2
    Also worked! you guys rock. Thanks

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Ranking question

    You're welcome. Happy to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Ranking question

    If the list in column B is the same in all sheets, you could use this in C4 of the Summary sheet:

    =MATCH("x",'City 1'!C5:G5,0)

    and this in D4:

    =MATCH("x",'City 2'!C5:G5,0)

    Copy down as required.

    Hope this helps.

    Pete

+ 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. Leaderboard/Ranking Question
    By kirbster123 in forum Excel General
    Replies: 10
    Last Post: 12-20-2018, 08:18 PM
  2. Ranking Question - Ranking based criteria but having forumla value issues
    By harp1983 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2016, 07:03 AM
  3. Ranking and sorting question
    By cape in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-07-2015, 03:40 PM
  4. [SOLVED] Ranking Question
    By KimC in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-12-2014, 07:41 AM
  5. Ranking question
    By sheppjr in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-08-2007, 05:02 PM
  6. Ranking question (ties)
    By rozeltf in forum Excel General
    Replies: 5
    Last Post: 04-08-2006, 12:25 PM
  7. Another ranking question
    By Liz23 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2005, 07:06 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