Como classificar valores por grupo no Excel?
Neste artigo, falarei sobre os valores de classificação por grupo no Excel, conforme a captura de tela abaixo.
Existe uma fórmula para classificar rapidamente os valores com base no grupo.
Selecione uma célula em branco ao lado dos dados, C2 por exemplo, digite esta fórmula, =SUMPRODUCT(($A$2:$A$11=A2)*(B2<$B$2:$B$11))+1 em seguida, arraste a alça de preenchimento automático para baixo para aplicar essa fórmula às células necessárias.
Na fórmula, A2: A11 é o intervalo que contém os valores do grupo, A2 é a primeira célula na lista de valores do grupo, B2 é a primeira célula da lista que precisava ser classificada, B2: B11 é a lista que contém os valores necessários Classificar.
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 5 months agoHow to get unique ranks for Ex:Group Record RankA 100 1If the same record repeat again I want rank 2 instead of 1.
- To post as a guest, your comment is unpublished.· 6 months agoHi Sunny, I will be so grateful for suggestions. I conducted a survey of stakeholders for our nonprofit. Our dataset of 53 responses now includes (1)type of stakeholder WHICH CAN INCLUDE MORE THAN ONE TYPE (ex: volunteer and donor); (2) rank order of top 3 skills (from a list) you feel are needed for your job; (3) rank order top 3 skills young people need today (from a list that is similar to but not exactly the same as the one used in the prior question). The format was to select from drop down list.Is it possible to analyze to see if Donors (for example) as a group prioritize similarly?Thanks very much!
- To post as a guest, your comment is unpublished.· 8 months agoThanks for this solution! Is there a alteration that would allow me to omit blanks from the ranking?
- To post as a guest, your comment is unpublished.· 8 months agoHi, Nick, you can use the Filter feature in Excel to filter out blank cells firstly, and hide them or remove them, then use above formula to rank.
- To post as a guest, your comment is unpublished.· 1 years agohi sunny, i have a complex query here but need to visualize it to better understanding. how can i contact u with visualization?v
- To post as a guest, your comment is unpublished.· 2 years agoHow can I get it to rank in reverse order, from smallest to largest?
- To post as a guest, your comment is unpublished.· 1 years agoHi, Brian Q, you can use this formula =SUMPRODUCT(($A$2:$A$11=A2)*(B2<$B$2:$B$11))+1 to ranke from smallest to largest
- To post as a guest, your comment is unpublished.· 1 years agoI'm sorry, but I don't see a difference between this formula and the one above.
- To post as a guest, your comment is unpublished.· 1 years agoB2> ; just reverse from less than to greater than.
- To post as a guest, your comment is unpublished.· 4 years agoThis is EXCEL-lent (see what I did there?)! Now that you have the rankings by group, how do you find out % from #1 rank within the group? For example, Group A has record 100 as #1, and record 93 as #3 ranked. If I wanted to add another column to find out how far off in percentage record #3 (93) is from record #1 (100), what is the formula to achieve this? The result should be rank #1 is 0%, and rank #3 is 7% off ((100/93)-1) from rank #1
- To post as a guest, your comment is unpublished.· 2 years agoDevide the subject by the max of the group using a max if.
- To post as a guest, your comment is unpublished.· 4 years agoSorry I have not found a formula or other solution can handle ur question.