+ Reply to Thread
Results 1 to 12 of 12

Ranking stats with duplicate names

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Ranking stats with duplicate names

    Hi all,

    See the attached $$

    I am trying to rank companies by top "social media accounts" the problem is companies can have the same name, its just the way the data is. Is there a way to add figures and rank together?

    Therefore, instead of:

    Company A // 10
    Company A // 7
    Company B // 2
    Company C // 4

    I would have

    Company A // 17
    Company B // 2
    Company C // 4
    Attached Files Attached Files
    Last edited by guy13; 11-04-2014 at 11:32 AM.

  2. #2
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Re: Ranking stats with duplicate names

    I hope I have been clear?

  3. #3
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Ranking stats with duplicate names

    Can you use a helper column? You could just do an =SUMIF by company name and then rank the company subtotals.

  4. #4
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Re: Ranking stats with duplicate names

    That would work the problem is companies are added weekly. Really want something that works every time on the fly.

  5. #5
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Re: Ranking stats with duplicate names

    bumpbumpbump

  6. #6
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Ranking stats with duplicate names

    Hi

    RANKING sheet
    C4
    Formula: copy to clipboard
    =IF(ROWS($C$4:C4)<='USER REPORT'!$A$5,LARGE(SUMIFS('USER REPORT'!$D$10:$D$100,'USER REPORT'!$A$10:$A$100,IF(FREQUENCY(IF('USER REPORT'!$A$10:$A$100<>"",IF('USER REPORT'!$B$10:$B$100=$A$2,MATCH('USER REPORT'!$A$10:$A$100,'USER REPORT'!$A$10:$A$100,0))),ROW('USER REPORT'!$A$10:$A$100)-ROW('USER REPORT'!$A$10)+1),'USER REPORT'!$A$10:$A$100,9.99E+307),'USER REPORT'!$B$10:$B$100,$A$2),ROWS($C$4:C4)),"")
    This is array formula!! Press same time Ctrl+Shift+Enter, NOT ENTER!! Then copy down.

    A4
    Formula: copy to clipboard
    =IF($C4="","",INDEX('USER REPORT'!$A$10:$A$80,SMALL(IF(IF(MATCH('USER REPORT'!$A$10:$A$80,'USER REPORT'!$A$10:$A$80,0)=ROW('USER REPORT'!$A$10:$A$80)-ROW('USER REPORT'!$A$10)+1,SUMIFS('USER REPORT'!$D$10:$D$80,'USER REPORT'!$B$10:$B$80,$A$2,'USER REPORT'!$A$10:$A$80,'USER REPORT'!$A$10:$A$80))=$C4,ROW('USER REPORT'!$A$10:$A$80)-ROW('USER REPORT'!$A$10)+1),COUNTIF($C$4:$C4,$C4))))
    This is array formula!! Press same time Ctrl+Shift+Enter, NOT ENTER!! Then copy down.

    B4
    Formula: copy to clipboard
    =IF($C4="","",SUMIF('USER REPORT'!$A$10:$A$80,$A4,'USER REPORT'!$C$10:$C$80))
    copy down
    Do the same D,E,F columns change a letter!!

    USE REPORT sheet
    A5
    Formula: copy to clipboard
    =SUM(IF(FREQUENCY(IF($A$10:$A$100<>"",IF($B$10:$B$100=RANKING!$A$2,MATCH($A$10:$A$100,$A$10:$A$100,0))),ROW($A$10:$A$100)-ROW($A$10)+1),1))
    This is array formula!! Press same time Ctrl+Shift+Enter, NOT ENTER!! Then copy down.

    See the file!! Highlight yellow cell!!

    Regard
    micope21
    Attached Files Attached Files
    Last edited by micope21; 11-05-2014 at 10:17 AM.
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  7. #7
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Re: Ranking stats with duplicate names

    this is amazing. please can you explain it??

  8. #8
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Ranking stats with duplicate names

    Check the file again!! 6# Small error!!

    Regard
    micope21

  9. #9
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Re: Ranking stats with duplicate names

    can you resend the file?

  10. #10
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Ranking stats with duplicate names

    Here the correct file!!

    I got to get back to work now!!

    Will explain later or tomorrow!!

    Regard
    micope21
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Re: Ranking stats with duplicate names

    Thanks mate! I dont think it is 100% just looking at the connections for company named 25 should = 6 but it =0.

    In fact if you total the connections on both slides the RANKING slide is about 7k lower

  12. #12
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Ranking stats with duplicate names

    Quote Originally Posted by guy13 View Post
    Thanks mate! I dont think it is 100% just looking at the connections for company named 25 should = 6 but it =0.

    In fact if you total the connections on both slides the RANKING slide is about 7k lower
    Hi

    Can't see anything wrong mate!!

    Company 25 is spot on saying = 6!!

    Check the file!!

    Regard
    micope21

+ 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. Need to copy store names from sheet1 to sheet3 and remove duplicate names
    By aleanboy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-21-2014, 08:47 AM
  2. Replies: 1
    Last Post: 10-06-2014, 09:44 AM
  3. Leauge Stats - Ranking using LOOKUP/SEARCH/INDEX
    By Bloodywog in forum Excel Formulas & Functions
    Replies: 43
    Last Post: 01-20-2014, 11:51 PM
  4. Sorting and Ranking Names
    By Azzheasman in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-15-2013, 05:18 AM
  5. Replies: 11
    Last Post: 10-21-2012, 01:40 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