Przejdź do głównej zawartości

Jak uszeregować wartości według grup w programie Excel?

W tym artykule omówię wartości rankingowe według grup w programie Excel, jak pokazano poniżej.
ranking doc według grupy 1

Ranguj wartości według grup


strzałka niebieski prawy bąbelek Ranguj wartości według grup

Istnieje formuła szybkiego oceniania wartości na podstawie grupy.

Wybierz pustą komórkę obok danych, na przykład C2, wpisz tę formułę, =SUMPRODUCT(($A$2:$A$11=A2)*(B2<$B$2:$B$11))+1 następnie przeciągnij uchwyt autouzupełniania w dół, aby zastosować tę formułę do potrzebnych komórek.

We wzorze A2: A11 to zakres zawierający wartości grup, A2 to pierwsza komórka na liście wartości grup, B2 to pierwsza komórka na liście, która wymagała rangi, B2: B11 to lista zawierająca potrzebne wartości Oceniać.
ranking doc według grupy 2

Najlepsze narzędzia biurowe

🤖 Pomocnik AI Kutools: Zrewolucjonizuj analizę danych w oparciu o: Inteligentne wykonanie   |  Wygeneruj kod  |  Twórz niestandardowe formuły  |  Analizuj dane i generuj wykresy  |  Wywołaj funkcje Kutools...
Popularne funkcje: Znajdź, wyróżnij lub zidentyfikuj duplikaty   |  Usuń puste wiersze   |  Łącz kolumny lub komórki bez utraty danych   |   Okrągły bez wzoru ...
Super wyszukiwanie: Wiele kryteriów VLookup    Wiele wartości VLookup  |   Przeglądanie pionowe na wielu arkuszach   |   Wyszukiwanie rozmyte ....
Zaawansowana lista rozwijana: Szybko twórz listę rozwijaną   |  Zależna lista rozwijana   |  Lista rozwijana wielokrotnego wyboru ....
Menedżer kolumn: Dodaj określoną liczbę kolumn  |  Przesuń kolumny  |  Przełącz stan widoczności ukrytych kolumn  |  Porównaj zakresy i kolumny ...
Polecane funkcje: Fokus siatki   |  Widok projektu   |   Duży pasek formuły    Menedżer skoroszytów i arkuszy   |  Biblioteka zasobów (Automatyczny tekst)   |  Selektor dat   |  Połącz arkusze   |  Szyfruj/odszyfruj komórki    Wysyłaj e-maile według listy   |  Super filtr   |   Specjalny filtr (filtruj pogrubienie/kursywa/przekreślenie...) ...
15 najlepszych zestawów narzędzi12 Tekst Tools (Dodaj tekst, Usuń znaki, ...)   |   50 + Wykres rodzaje (Wykres Gantta, ...)   |   40+ Praktyczne Wzory (Oblicz wiek na podstawie urodzin, ...)   |   19 Wprowadzenie Tools (Wstaw kod QR, Wstaw obraz ze ścieżki, ...)   |   12 Konwersja Tools (Liczby na słowa, Przeliczanie walut, ...)   |   7 Połącz i podziel Tools (Zaawansowane wiersze łączenia, Podział komórki, ...)   |   ... i więcej

Zwiększ swoje umiejętności Excela dzięki Kutools for Excel i doświadcz wydajności jak nigdy dotąd. Kutools dla programu Excel oferuje ponad 300 zaawansowanych funkcji zwiększających produktywność i oszczędzających czas.  Kliknij tutaj, aby uzyskać funkcję, której najbardziej potrzebujesz...

Opis


Karta Office wprowadza interfejs z zakładkami do pakietu Office i znacznie ułatwia pracę

  • Włącz edycję i czytanie na kartach w programach Word, Excel, PowerPoint, Publisher, Access, Visio i Project.
  • Otwieraj i twórz wiele dokumentów w nowych kartach tego samego okna, a nie w nowych oknach.
  • Zwiększa produktywność o 50% i redukuje setki kliknięć myszką każdego dnia!
Comments (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How to get unique ranks for Ex: Group Record RankA 100 1
If the same record repeat again I want rank 2 instead of 1.
This comment was minimized by the moderator on the site
Hi 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!
This comment was minimized by the moderator on the site
Thanks for this solution! Is there a alteration that would allow me to omit blanks from the ranking?
This comment was minimized by the moderator on the site
Hi, 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.
This comment was minimized by the moderator on the site
hi sunny, i have a complex query here but need to visualize it to better understanding. how can i contact u with visualization?v
This comment was minimized by the moderator on the site
How can I get it to rank in reverse order, from smallest to largest?
This comment was minimized by the moderator on the site
Hi, 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
This comment was minimized by the moderator on the site
I'm sorry, but I don't see a difference between this formula and the one above.
This comment was minimized by the moderator on the site
B2> ; just reverse from less than to greater than.
This comment was minimized by the moderator on the site
This 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
This comment was minimized by the moderator on the site
Devide the subject by the max of the group using a max if.

Like this:
=C2/MAXIFS(C:C,B:B,B2)
This comment was minimized by the moderator on the site
Sorry I have not found a formula or other solution can handle ur question.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations